text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Struct: MaxLatency
// File: crates/analytics/src/api_event/metrics/latency.rs
// Module: analytics
// Implementations: 0
pub struct MaxLatency | crates/analytics/src/api_event/metrics/latency.rs | analytics | struct_definition | MaxLatency | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: PayoutCreateResponse
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct PayoutCreateResponse | crates/api_models/src/payouts.rs | api_models | struct_definition | PayoutCreateResponse | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: SquareTokenResponse
// File: crates/hyperswitch_connectors/src/connectors/square/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SquareTokenResponse | crates/hyperswitch_connectors/src/connectors/square/transformers.rs | hyperswitch_connectors | struct_definition | SquareTokenResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: LoanInformation
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct LoanInformation | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | struct_definition | LoanInformation | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Vgs
// File: crates/hyperswitch_connectors/src/connectors/vgs.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Vgs | crates/hyperswitch_connectors/src/connectors/vgs.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Vgs | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/stax/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/router/src/types/storage/kv.rs
// Module: router
pub use diesel_models::kv::{
AddressUpdateMems, DBOperation, Insertable, PaymentAttemptUpdateMems, PaymentIntentUpdateMems,
RefundUpdateMems, TypedSql, Updateable,
};
| crates/router/src/types/storage/kv.rs | router | full_file | null | null | null | 63 | null | null | null | null | null | null | null |
// Function: get_gsm
// File: crates/router/src/core/payouts/retry.rs
// Module: router
pub fn get_gsm(
state: &app::SessionState,
original_connector_data: &api::ConnectorData,
payout_data: &PayoutData,
) -> RouterResult<Option<hyperswitch_domain_models::gsm::GatewayStatusMap>> | crates/router/src/core/payouts/retry.rs | router | function_signature | null | null | null | 80 | get_gsm | null | null | null | null | null | null |
// Struct: PayuPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayuPaymentsRequest | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | struct_definition | PayuPaymentsRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: PaymentMethodInfo
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentMethodInfo | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | PaymentMethodInfo | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Gpayments
// File: crates/hyperswitch_connectors/src/connectors/gpayments.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Gpayments | crates/hyperswitch_connectors/src/connectors/gpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Gpayments | ConnectorCommon for | 6 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Nuvei | ConnectorValidation for | 1 | 0 | null | null |
// Struct: ConfirmSubscriptionResponse
// File: crates/api_models/src/subscription.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct ConfirmSubscriptionResponse | crates/api_models/src/subscription.rs | api_models | struct_definition | ConfirmSubscriptionResponse | 1 | [
"ApiEventMetric"
] | 43 | null | null | null | null | null | null | null |
// Function: get_expiry_date_as_mmyy
// File: crates/common_types/src/payments.rs
// Module: common_types
// Documentation: Get the expiry date in MMYY format from the Apple Pay pre-decrypt data
pub fn get_expiry_date_as_mmyy(&self) -> Result<Secret<String>, errors::ValidationError> | crates/common_types/src/payments.rs | common_types | function_signature | null | null | null | 70 | get_expiry_date_as_mmyy | null | null | null | null | null | null |
// Struct: StripePaymentMethodData
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
// Implementations: 0
pub struct StripePaymentMethodData | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | struct_definition | StripePaymentMethodData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: list_webhook_delivery_attempts
// File: crates/router/src/routes/webhook_events.rs
// Module: router
pub fn list_webhook_delivery_attempts(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<(common_utils::id_type::MerchantId, String) | crates/router/src/routes/webhook_events.rs | router | function_signature | null | null | null | 66 | list_webhook_delivery_attempts | null | null | null | null | null | null |
// Function: payments_list
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_list(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
payload: web::Query<payment_types::PaymentListConstraints>,
) -> impl Responder | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 66 | payments_list | null | null | null | null | null | null |
// Function: new
// File: crates/common_utils/src/request.rs
// Module: common_utils
pub fn new(method: Method, url: &str) -> Self | crates/common_utils/src/request.rs | common_utils | function_signature | null | null | null | 35 | new | null | null | null | null | null | null |
// Function: get_mandate_reference
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
pub fn get_mandate_reference(&self) -> Box<Option<MandateReference>> | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 56 | get_mandate_reference | null | null | null | null | null | null |
// Implementation: impl PaymentSync for for DummyConnector
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentSync for for DummyConnector | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | DummyConnector | PaymentSync for | 0 | 0 | null | null |
// Struct: PrimaryBusinessDetails
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct PrimaryBusinessDetails | crates/api_models/src/admin.rs | api_models | struct_definition | PrimaryBusinessDetails | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Gigadat
// File: crates/hyperswitch_connectors/src/connectors/gigadat.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Gigadat | crates/hyperswitch_connectors/src/connectors/gigadat.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Gigadat | api::PaymentSession for | 0 | 0 | null | null |
// File: crates/drainer/src/connection.rs
// Module: drainer
// Public functions: 3
use bb8::PooledConnection;
use common_utils::DbConnectionParams;
use diesel::PgConnection;
use crate::{settings::Database, Settings};
pub type PgPool = bb8::Pool<async_bb8_diesel::ConnectionManager<PgConnection>>;
#[allow(clippy::ex... | crates/drainer/src/connection.rs | drainer | full_file | null | null | null | 347 | null | null | null | null | null | null | null |
// Function: wrap
// File: crates/common_utils/src/id_type/payment.rs
// Module: common_utils
// Documentation: Wrap a string inside PaymentId
pub fn wrap(payment_id_string: String) -> CustomResult<Self, ValidationError> | crates/common_utils/src/id_type/payment.rs | common_utils | function_signature | null | null | null | 49 | wrap | null | null | null | null | null | null |
// File: crates/router/src/core/fraud_check/flows/transaction_flow.rs
// Module: router
// Public functions: 1
use async_trait::async_trait;
use common_utils::ext_traits::ValueExt;
use error_stack::ResultExt;
use crate::{
core::{
errors::{ConnectorErrorExt, RouterResult},
fraud_check::{FeatureFrm,... | crates/router/src/core/fraud_check/flows/transaction_flow.rs | router | full_file | null | null | null | 1,499 | null | null | null | null | null | null | null |
// Struct: SilverflowAuthType
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SilverflowAuthType | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | SilverflowAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: build_webhook_secrets_from_merchant_connector_account
// File: crates/router/src/core/unified_connector_service.rs
// Module: router
pub fn build_webhook_secrets_from_merchant_connector_account(
#[cfg(feature = "v1") | crates/router/src/core/unified_connector_service.rs | router | function_signature | null | null | null | 54 | build_webhook_secrets_from_merchant_connector_account | null | null | null | null | null | null |
// Function: store_data_in_redis
// File: crates/router/src/routes/dummy_connector/utils.rs
// Module: router
pub fn store_data_in_redis(
state: &SessionState,
key: String,
data: impl serde::Serialize + Debug,
ttl: i64,
) -> types::DummyConnectorResult<()> | crates/router/src/routes/dummy_connector/utils.rs | router | function_signature | null | null | null | 70 | store_data_in_redis | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/coingate.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/coingate.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Function: retrieve_customer
// File: crates/router/src/core/customers.rs
// Module: router
pub fn retrieve_customer(
state: SessionState,
merchant_context: domain::MerchantContext,
_profile_id: Option<id_type::ProfileId>,
customer_id: id_type::CustomerId,
) -> errors::CustomerResponse<customers::Cus... | crates/router/src/core/customers.rs | router | function_signature | null | null | null | 76 | retrieve_customer | null | null | null | null | null | null |
// Function: get_allowed_signals
// File: crates/common_utils/src/signals.rs
// Module: common_utils
pub fn get_allowed_signals() -> Result<signal_hook_tokio::SignalsInfo, std::io::Error> | crates/common_utils/src/signals.rs | common_utils | function_signature | null | null | null | 47 | get_allowed_signals | null | null | null | null | null | null |
// Implementation: impl OperationsDeriveInputExt for for DeriveInput
// File: crates/router_derive/src/macros/operation.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl OperationsDeriveInputExt for for DeriveInput | crates/router_derive/src/macros/operation.rs | router_derive | impl_block | null | null | null | 57 | null | DeriveInput | OperationsDeriveInputExt for | 1 | 0 | null | null |
// Function: get_dispute_dimensions
// File: crates/analytics/src/utils.rs
// Module: analytics
pub fn get_dispute_dimensions() -> Vec<NameDescription> | crates/analytics/src/utils.rs | analytics | function_signature | null | null | null | 36 | get_dispute_dimensions | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Payu
// File: crates/hyperswitch_connectors/src/connectors/payu.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Payu | crates/hyperswitch_connectors/src/connectors/payu.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Payu | ConnectorCommon for | 5 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Stax
// File: crates/hyperswitch_connectors/src/connectors/stax.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Stax | crates/hyperswitch_connectors/src/connectors/stax.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Stax | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: DeutschebankMandatePostResponse
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankMandatePostResponse | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankMandatePostResponse | 0 | [] | 56 | null | null | null | null | null | null | null |
// Function: store_card_and_token_in_locker
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
pub fn store_card_and_token_in_locker(
&self,
network_token: &NetworkTokenizationResponse,
card: &domain::CardDetail,
customer_id: &id_type::CustomerId... | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | function_signature | null | null | null | 84 | store_card_and_token_in_locker | null | null | null | null | null | null |
// Function: get_order_fulfillment_time
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
pub fn get_order_fulfillment_time(&self) -> Option<i64> | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | function_signature | null | null | null | 50 | get_order_fulfillment_time | null | null | null | null | null | null |
// Struct: TokenizedWalletValue2
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct TokenizedWalletValue2 | crates/api_models/src/payment_methods.rs | api_models | struct_definition | TokenizedWalletValue2 | 0 | [] | 40 | null | null | null | null | null | null | null |
// File: crates/euclid/src/backend/interpreter/types.rs
// Module: euclid
// Public structs: 2
use std::{collections::HashMap, fmt, ops::Deref, string::ToString};
use serde::Serialize;
use crate::{backend::inputs, frontend::ast::ValueType, types::EuclidKey};
#[derive(Debug, Clone, Serialize, thiserror::Error)]
#[se... | crates/euclid/src/backend/interpreter/types.rs | euclid | full_file | null | null | null | 535 | null | null | null | null | null | null | null |
// Struct: CustombillingRouterData
// File: crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustombillingRouterData<T> | crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs | hyperswitch_connectors | struct_definition | CustombillingRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl PaymentMethodsUpdateForm
// File: crates/router/src/core/payment_methods/migration.rs
// Module: router
// Methods: 1 total (1 public)
impl PaymentMethodsUpdateForm | crates/router/src/core/payment_methods/migration.rs | router | impl_block | null | null | null | 42 | null | PaymentMethodsUpdateForm | null | 1 | 1 | null | null |
// Function: find_by_id
// File: crates/diesel_models/src/query/merchant_connector_account.rs
// Module: diesel_models
pub fn find_by_id(
conn: &PgPooledConn,
id: &common_utils::id_type::MerchantConnectorAccountId,
) -> StorageResult<Self> | crates/diesel_models/src/query/merchant_connector_account.rs | diesel_models | function_signature | null | null | null | 64 | find_by_id | null | null | null | null | null | null |
// Struct: ItaubankTokenErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ItaubankTokenErrorResponse | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs | hyperswitch_connectors | struct_definition | ItaubankTokenErrorResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: AirwallexDisputeObject
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AirwallexDisputeObject | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AirwallexDisputeObject | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: BackendInput
// File: crates/euclid/src/backend/inputs.rs
// Module: euclid
// Implementations: 0
pub struct BackendInput | crates/euclid/src/backend/inputs.rs | euclid | struct_definition | BackendInput | 0 | [] | 36 | null | null | null | null | null | null | null |
// Function: vault_payment_method_external
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn vault_payment_method_external(
state: &SessionState,
pmd: &domain::PaymentMethodVaultingData,
merchant_account: &domain::MerchantAccount,
merchant_connector_account: domain::MerchantCo... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 86 | vault_payment_method_external | null | null | null | null | null | null |
// File: crates/router/tests/connectors/paysafe.rs
// Module: router
use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData};
use masking::Secret;
use router::types::{self, api, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
s... | crates/router/tests/connectors/paysafe.rs | router | full_file | null | null | null | 2,935 | null | null | null | null | null | null | null |
// Struct: StoreCardRespPayload
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
// Implementations: 0
pub struct StoreCardRespPayload | crates/router/src/core/payment_methods/transformers.rs | router | struct_definition | StoreCardRespPayload | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: FiuuAuthType
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiuuAuthType | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | FiuuAuthType | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Square
// File: crates/hyperswitch_connectors/src/connectors/square.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Square | crates/hyperswitch_connectors/src/connectors/square.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Square | ConnectorCommon for | 5 | 0 | null | null |
// File: crates/router/src/core/routing.rs
// Module: router
// Public functions: 34
// Public structs: 4
pub mod helpers;
pub mod transformers;
use std::collections::HashSet;
#[cfg(all(feature = "v1", feature = "dynamic_routing"))]
use api_models::routing::DynamicRoutingAlgoAccessor;
use api_models::{
enums, man... | crates/router/src/core/routing.rs#chunk0 | router | chunk | null | null | null | 8,182 | null | null | null | null | null | null | null |
// Implementation: impl PayoutAttemptInterface for for KVRouterStore
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
// Methods: 0 total (0 public)
impl PayoutAttemptInterface for for KVRouterStore | crates/storage_impl/src/kv_router_store.rs | storage_impl | impl_block | null | null | null | 53 | null | KVRouterStore | PayoutAttemptInterface for | 0 | 0 | null | null |
// Struct: RefundSuccessRate
// File: crates/api_models/src/analytics/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundSuccessRate | crates/api_models/src/analytics/refunds.rs | api_models | struct_definition | RefundSuccessRate | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl Theme
// File: crates/diesel_models/src/query/user/theme.rs
// Module: diesel_models
// Methods: 9 total (0 public)
impl Theme | crates/diesel_models/src/query/user/theme.rs | diesel_models | impl_block | null | null | null | 37 | null | Theme | null | 9 | 0 | null | null |
// Function: log_event
// File: crates/router/src/events/event_logger.rs
// Module: router
pub fn log_event<T: KafkaMessage>(&self, event: &T) | crates/router/src/events/event_logger.rs | router | function_signature | null | null | null | 38 | log_event | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Tokenio
// File: crates/hyperswitch_connectors/src/connectors/tokenio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Tokenio | crates/hyperswitch_connectors/src/connectors/tokenio.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tokenio | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for ThreeDsDecisionRuleExecuteResponse
// File: crates/api_models/src/three_ds_decision_rule.rs
// Module: api_models
// Methods: 1 total (0 public)
impl common_utils::events::ApiEventMetric for for ThreeDsDecisionRuleExecuteResponse | crates/api_models/src/three_ds_decision_rule.rs | api_models | impl_block | null | null | null | 68 | null | ThreeDsDecisionRuleExecuteResponse | common_utils::events::ApiEventMetric for | 1 | 0 | null | null |
// Implementation: impl api::Payouts for for Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payouts for for Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Nomupay | api::Payouts for | 0 | 0 | null | null |
// Function: get_payment_intent_filter_for_dimension
// File: crates/analytics/src/payment_intents/filters.rs
// Module: analytics
pub fn get_payment_intent_filter_for_dimension<T>(
dimension: PaymentIntentDimensions,
merchant_id: &common_utils::id_type::MerchantId,
time_range: &TimeRange,
pool: &T,
) ... | crates/analytics/src/payment_intents/filters.rs | analytics | function_signature | null | null | null | 145 | get_payment_intent_filter_for_dimension | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/compatibility/stripe/customers.rs
// Module: router
// Public submodules:
pub mod types;
| crates/router/src/compatibility/stripe/customers.rs | router | module_structure | null | null | null | 33 | null | null | null | null | null | 1 | 0 |
// Struct: SignifydRefund
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SignifydRefund | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs | hyperswitch_connectors | struct_definition | SignifydRefund | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Bambora
// File: crates/hyperswitch_connectors/src/connectors/bambora.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Bambora | crates/hyperswitch_connectors/src/connectors/bambora.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Bambora | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl ThreeDSDecision
// File: crates/common_types/src/three_ds_decision_rule_engine.rs
// Module: common_types
// Methods: 1 total (1 public)
impl ThreeDSDecision | crates/common_types/src/three_ds_decision_rule_engine.rs | common_types | impl_block | null | null | null | 43 | null | ThreeDSDecision | null | 1 | 1 | null | null |
// Function: entity_type
// File: crates/common_utils/src/types/user/theme.rs
// Module: common_utils
// Documentation: Get the entity_type from the lineage
pub fn entity_type(&self) -> EntityType | crates/common_utils/src/types/user/theme.rs | common_utils | function_signature | null | null | null | 44 | entity_type | null | null | null | null | null | null |
// Function: get_message
// File: crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs
// Module: hyperswitch_connectors
pub fn get_message(&self) -> String | crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 43 | get_message | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/role.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<Role> | crates/diesel_models/src/query/role.rs | diesel_models | function_signature | null | null | null | 42 | insert | null | null | null | null | null | null |
// Implementation: impl TraceUrlAssert
// File: crates/router_env/src/logger/setup.rs
// Module: router_env
// Methods: 1 total (0 public)
impl TraceUrlAssert | crates/router_env/src/logger/setup.rs | router_env | impl_block | null | null | null | 39 | null | TraceUrlAssert | null | 1 | 0 | null | null |
// File: crates/hyperswitch_domain_models/src/merchant_context.rs
// Module: hyperswitch_domain_models
// Public functions: 2
// Public structs: 1
pub use crate::{merchant_account::MerchantAccount, merchant_key_store::MerchantKeyStore};
/// `MerchantContext` represents the authentication and operational context for a... | crates/hyperswitch_domain_models/src/merchant_context.rs | hyperswitch_domain_models | full_file | null | null | null | 268 | null | null | null | null | null | null | null |
// Struct: RoutingVolumeSplit
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct RoutingVolumeSplit | crates/api_models/src/routing.rs | api_models | struct_definition | RoutingVolumeSplit | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Cashtocode
// File: crates/hyperswitch_connectors/src/connectors/cashtocode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Cashtocode | crates/hyperswitch_connectors/src/connectors/cashtocode.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Cashtocode | api::PaymentSession for | 0 | 0 | null | null |
// Function: payment_complete
// File: crates/router/src/routes/dummy_connector/core.rs
// Module: router
pub fn payment_complete(
state: SessionState,
req: types::DummyConnectorPaymentCompleteRequest,
) -> types::DummyConnectorResponse<()> | crates/router/src/routes/dummy_connector/core.rs | router | function_signature | null | null | null | 54 | payment_complete | null | null | null | null | null | null |
// Implementation: impl Cache
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Cache | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Cache | null | 1 | 1 | null | null |
// Struct: PlaidLinkTokenResponse
// File: crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlaidLinkTokenResponse | crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs | hyperswitch_connectors | struct_definition | PlaidLinkTokenResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: retrieve_routing_algorithm_from_algorithm_id
// File: crates/router/src/core/routing.rs
// Module: router
pub fn retrieve_routing_algorithm_from_algorithm_id(
state: SessionState,
merchant_context: domain::MerchantContext,
authentication_profile_id: Option<common_utils::id_type::ProfileId>,
... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 91 | retrieve_routing_algorithm_from_algorithm_id | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/finix.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use common_enums::{enums, ConnectorIntegrationStatus};
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
... | crates/hyperswitch_connectors/src/connectors/finix.rs | hyperswitch_connectors | full_file | null | null | null | 4,658 | null | null | null | null | null | null | null |
// Struct: KlarnaDetails
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KlarnaDetails | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | KlarnaDetails | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: new
// File: crates/masking/src/bytes.rs
// Module: masking
// Documentation: Wrap bytes in `SecretBytesMut`
pub fn new(bytes: impl Into<BytesMut>) -> Self | crates/masking/src/bytes.rs | masking | function_signature | null | null | null | 45 | new | null | null | null | null | null | null |
// Function: add_publishable_key
// File: crates/router/src/services/authentication/decision.rs
// Module: router
pub fn add_publishable_key(
state: &SessionState,
api_key: Secret<String>,
merchant_id: common_utils::id_type::MerchantId,
expiry: Option<u64>,
) -> CustomResult<(), ApiClientError> | crates/router/src/services/authentication/decision.rs | router | function_signature | null | null | null | 76 | add_publishable_key | null | null | null | null | null | null |
// Struct: ConfiguredRouting
// File: crates/api_models/src/user/dashboard_metadata.rs
// Module: api_models
// Implementations: 0
pub struct ConfiguredRouting | crates/api_models/src/user/dashboard_metadata.rs | api_models | struct_definition | ConfiguredRouting | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: ExchangeTokenRequest
// File: crates/pm_auth/src/types.rs
// Module: pm_auth
// Implementations: 0
pub struct ExchangeTokenRequest | crates/pm_auth/src/types.rs | pm_auth | struct_definition | ExchangeTokenRequest | 0 | [] | 35 | null | null | null | null | null | null | null |
// Function: is_vault_sdk_enabled
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
pub fn is_vault_sdk_enabled(&self) -> bool | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | function_signature | null | null | null | 44 | is_vault_sdk_enabled | null | null | null | null | null | null |
// File: crates/config_importer/src/cli.rs
// Module: config_importer
use std::path::PathBuf;
/// Utility to import a hyperswitch TOML configuration file, convert it into environment variable
/// key-value pairs, and export it in the specified format.
#[derive(clap::Parser, Debug)]
#[command(arg_required_else_help = ... | crates/config_importer/src/cli.rs | config_importer | full_file | null | null | null | 337 | null | null | null | null | null | null | null |
// Implementation: impl UserKeyStoreNew
// File: crates/diesel_models/src/query/user_key_store.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl UserKeyStoreNew | crates/diesel_models/src/query/user_key_store.rs | diesel_models | impl_block | null | null | null | 44 | null | UserKeyStoreNew | null | 1 | 0 | null | null |
// Struct: Datatrans3DSResponse
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Datatrans3DSResponse | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | struct_definition | Datatrans3DSResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: OrderInformationWithBill
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OrderInformationWithBill | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | OrderInformationWithBill | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Affirm
// File: crates/hyperswitch_connectors/src/connectors/affirm.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Affirm | crates/hyperswitch_connectors/src/connectors/affirm.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Affirm | api::RefundExecute for | 0 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Struct: CountAccumulator
// File: crates/analytics/src/sdk_events/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: SdkEventMetricAccumulator
pub struct CountAccumulator | crates/analytics/src/sdk_events/accumulator.rs | analytics | struct_definition | CountAccumulator | 1 | [
"SdkEventMetricAccumulator"
] | 50 | null | null | null | null | null | null | null |
// Struct: HostedUrlResponse
// File: crates/hyperswitch_connectors/src/connectors/boku/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HostedUrlResponse | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs | hyperswitch_connectors | struct_definition | HostedUrlResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: find_last_successful_attempt_by_payment_id_merchant_id
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn find_last_successful_attempt_by_payment_id_merchant_id(
conn: &PgPooledConn,
payment_id: &common_utils::id_type::PaymentId,
merchant_id:... | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 90 | find_last_successful_attempt_by_payment_id_merchant_id | null | null | null | null | null | null |
// Function: set_stored_token_response
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
pub fn set_stored_token_response(
self,
store_token_response: &'a pm_transformers::StoreCardRespPayload,
) -> NetworkTokenizationBuilder<'a, PmTokenStored> | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | function_signature | null | null | null | 72 | set_stored_token_response | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Itaubank
// File: crates/hyperswitch_connectors/src/connectors/itaubank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Itaubank | crates/hyperswitch_connectors/src/connectors/itaubank.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Itaubank | api::Payment for | 0 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/flexiti.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/flexiti.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// File: crates/router/src/core/payments/flows/session_flow.rs
// Module: router
use api_models::{admin as admin_types, payments as payment_types};
use async_trait::async_trait;
use common_utils::{
ext_traits::ByteSliceExt,
request::RequestContent,
types::{AmountConvertor, StringMajorUnitForConnector},
};
... | crates/router/src/core/payments/flows/session_flow.rs#chunk0 | router | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Function: find_by_fingerprint_id
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
pub fn find_by_fingerprint_id(
conn: &PgPooledConn,
fingerprint_id: &str,
) -> StorageResult<Self> | crates/diesel_models/src/query/payment_method.rs | diesel_models | function_signature | null | null | null | 59 | find_by_fingerprint_id | null | null | null | null | null | null |
// Struct: ProcessingOptions
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProcessingOptions | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | ProcessingOptions | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Coinbase
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Coinbase | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Coinbase | api::Payment for | 0 | 0 | null | null |
// Implementation: impl NetworkTokenizationBuilder
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
// Methods: 1 total (1 public)
impl NetworkTokenizationBuilder | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | impl_block | null | null | null | 44 | null | NetworkTokenizationBuilder | null | 1 | 1 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.