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: InespayRSyncResponseData
// File: crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct InespayRSyncResponseData | crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs | hyperswitch_connectors | struct_definition | InespayRSyncResponseData | 0 | [] | 56 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/authentication.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/authentication.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl CardNetworkTokenizeExecutor
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
// Methods: 5 total (0 public)
impl CardNetworkTokenizeExecutor | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | impl_block | null | null | null | 46 | null | CardNetworkTokenizeExecutor | null | 5 | 0 | null | null |
// Struct: CustomerListConstraints
// File: crates/hyperswitch_domain_models/src/customer.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct CustomerListConstraints | crates/hyperswitch_domain_models/src/customer.rs | hyperswitch_domain_models | struct_definition | CustomerListConstraints | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: NmiSyncRequest
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NmiSyncRequest | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | NmiSyncRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: PreAuthNRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PreAuthNRequestData | crates/hyperswitch_domain_models/src/router_request_types/authentication.rs | hyperswitch_domain_models | struct_definition | PreAuthNRequestData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: WellsfargoPaymentsCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WellsfargoPaymentsCaptureRequest | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | WellsfargoPaymentsCaptureRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl MerchantConnectorUpdate
// File: crates/api_models/src/admin.rs
// Module: api_models
// Methods: 1 total (1 public)
impl MerchantConnectorUpdate | crates/api_models/src/admin.rs | api_models | impl_block | null | null | null | 38 | null | MerchantConnectorUpdate | null | 1 | 1 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs | hyperswitch_connectors | module_structure | null | null | null | 42 | null | null | null | null | null | 1 | 0 |
// File: crates/redis_interface/src/lib.rs
// Module: redis_interface
// Public functions: 7
// Public structs: 4
//! Intermediate module for encapsulate all the redis related functionality
//!
//! Provides structs to represent redis connection and all functions that redis provides and
//! are used in the `router` cra... | crates/redis_interface/src/lib.rs | redis_interface | full_file | null | null | null | 1,914 | null | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for GenerateFingerprintResponsePayload
// File: crates/api_models/src/blocklist.rs
// Module: api_models
// Methods: 0 total (0 public)
impl ApiEventMetric for for GenerateFingerprintResponsePayload | crates/api_models/src/blocklist.rs | api_models | impl_block | null | null | null | 53 | null | GenerateFingerprintResponsePayload | ApiEventMetric for | 0 | 0 | null | null |
// Function: new
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn new(
payment_method: Option<common_enums::PaymentMethod>,
payment_method_type: Option<common_enums::PaymentMethodType>,
authentication_type: Option<common_enums::AuthenticationType>,
currency: O... | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 109 | new | null | null | null | null | null | null |
// Struct: ApplePayRegularBillingDetails
// File: crates/diesel_models/src/types.rs
// Module: diesel_models
// Implementations: 0
pub struct ApplePayRegularBillingDetails | crates/diesel_models/src/types.rs | diesel_models | struct_definition | ApplePayRegularBillingDetails | 0 | [] | 40 | null | null | null | null | null | null | null |
// Trait: Vaultable
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub trait Vaultable: Sized | crates/router/src/core/payment_methods/vault.rs | router | trait_definition | null | null | null | 30 | null | null | Vaultable | null | null | null | null |
// Function: generate_event_id
// File: crates/router/src/core/webhooks/utils.rs
// Module: router
pub fn generate_event_id() -> String | crates/router/src/core/webhooks/utils.rs | router | function_signature | null | null | null | 32 | generate_event_id | null | null | null | null | null | null |
// Struct: SantanderBoletoPSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SantanderBoletoPSyncResponse | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | SantanderBoletoPSyncResponse | 0 | [] | 58 | null | null | null | null | null | null | null |
// Struct: ApprovedAmount
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApprovedAmount | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | ApprovedAmount | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: GpaymentsAuthType
// File: crates/hyperswitch_connectors/src/connectors/gpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GpaymentsAuthType | crates/hyperswitch_connectors/src/connectors/gpayments/transformers.rs | hyperswitch_connectors | struct_definition | GpaymentsAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: payment_intents_create
// File: crates/router/src/compatibility/stripe/payment_intents.rs
// Module: router
pub fn payment_intents_create(
state: web::Data<routes::AppState>,
qs_config: web::Data<serde_qs::Config>,
req: HttpRequest,
form_payload: web::Bytes,
) -> HttpResponse | crates/router/src/compatibility/stripe/payment_intents.rs | router | function_signature | null | null | null | 76 | payment_intents_create | null | null | null | null | null | null |
// Function: dummy_connector_refund_data
// File: crates/router/src/routes/dummy_connector.rs
// Module: router
pub fn dummy_connector_refund_data(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
path: web::Path<String>,
) -> impl actix_web::Responder | crates/router/src/routes/dummy_connector.rs | router | function_signature | null | null | null | 70 | dummy_connector_refund_data | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for FrmFulfillmentRequest
// File: crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl ApiEventMetric for for FrmFulfillmentRequest | crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs | hyperswitch_domain_models | impl_block | null | null | null | 63 | null | FrmFulfillmentRequest | ApiEventMetric for | 1 | 0 | null | null |
// Function: should_call_frm
// File: crates/router/src/core/fraud_check.rs
// Module: router
pub fn should_call_frm<F, D>(
merchant_context: &domain::MerchantContext,
payment_data: &D,
state: &SessionState,
) -> RouterResult<(
bool,
Option<FrmRoutingAlgorithm>,
Option<common_utils::id_type::Pr... | crates/router/src/core/fraud_check.rs | router | function_signature | null | null | null | 120 | should_call_frm | null | null | null | null | null | null |
// Struct: NuveiPaymentResponseData
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct NuveiPaymentResponseData | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiPaymentResponseData | 1 | [] | 55 | null | null | null | null | null | null | null |
// Struct: InespayWebhookEvent
// File: crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct InespayWebhookEvent | crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs | hyperswitch_connectors | struct_definition | InespayWebhookEvent | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: get_url_encoded_string
// File: crates/external_services/src/grpc_client.rs
// Module: external_services
// Documentation: get url encoded string representation of LineageIds
pub fn get_url_encoded_string(self) -> Result<String, serde_urlencoded::ser::Error> | crates/external_services/src/grpc_client.rs | external_services | function_signature | null | null | null | 59 | get_url_encoded_string | null | null | null | null | null | null |
// Trait: RefundFilterAnalytics
// File: crates/analytics/src/refunds/filters.rs
// Module: analytics
pub trait RefundFilterAnalytics: LoadRow<RefundFilterRow> | crates/analytics/src/refunds/filters.rs | analytics | trait_definition | null | null | null | 41 | null | null | RefundFilterAnalytics | null | null | null | null |
// Struct: DecryptedWalletDetails
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DecryptedWalletDetails | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | DecryptedWalletDetails | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: CardVerification
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardVerification | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CardVerification | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: CoingateWebhookBody
// File: crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CoingateWebhookBody | crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs | hyperswitch_connectors | struct_definition | CoingateWebhookBody | 0 | [] | 54 | null | null | null | null | null | null | null |
// File: crates/router_derive/src/macros/try_get_enum.rs
// Module: router_derive
// Public functions: 1
// Public structs: 1
use proc_macro2::Span;
use quote::ToTokens;
use syn::{parse::Parse, punctuated::Punctuated};
mod try_get_keyword {
use syn::custom_keyword;
custom_keyword!(error_type);
}
#[derive(De... | crates/router_derive/src/macros/try_get_enum.rs | router_derive | full_file | null | null | null | 896 | null | null | null | null | null | null | null |
// Struct: CalContractScoreEventRequest
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct CalContractScoreEventRequest | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | CalContractScoreEventRequest | 0 | [] | 42 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/types/api/routing.rs
// Module: router
// Public exports:
pub use api_models::{
enums as api_enums,
routing::{
ConnectorVolumeSplit, RoutableChoiceKind, RoutableConnectorChoice, RoutingAlgorithmKind,
RoutingAlgorithmRef, RoutingConfigRequest, Routi... | crates/router/src/types/api/routing.rs | router | module_structure | null | null | null | 87 | null | null | null | null | null | 0 | 1 |
// Function: initiate_payout_link
// File: crates/router/src/core/payout_link.rs
// Module: router
pub fn initiate_payout_link(
state: SessionState,
merchant_context: domain::MerchantContext,
req: payouts::PayoutLinkInitiateRequest,
request_headers: &header::HeaderMap,
) -> RouterResponse<services::Gen... | crates/router/src/core/payout_link.rs | router | function_signature | null | null | null | 80 | initiate_payout_link | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/globalpay.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/globalpay.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Function: generic_find_by_id
// File: crates/diesel_models/src/query/generics.rs
// Module: diesel_models
pub fn generic_find_by_id<T, Pk, R>(conn: &PgPooledConn, id: Pk) -> StorageResult<R>
where
T: FindDsl<Pk> + HasTable<Table = T> + LimitDsl + Table + 'static,
Find<T, Pk>: LimitDsl + QueryFragment<Pg> + ... | crates/diesel_models/src/query/generics.rs | diesel_models | function_signature | null | null | null | 155 | generic_find_by_id | null | null | null | null | null | null |
// Function: list_multiple_key_stores
// File: crates/diesel_models/src/query/merchant_key_store.rs
// Module: diesel_models
pub fn list_multiple_key_stores(
conn: &PgPooledConn,
merchant_ids: Vec<common_utils::id_type::MerchantId>,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/merchant_key_store.rs | diesel_models | function_signature | null | null | null | 70 | list_multiple_key_stores | null | null | null | null | null | null |
// Struct: StripePaymentMethod
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
// Implementations: 0
pub struct StripePaymentMethod | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | struct_definition | StripePaymentMethod | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: create_customer
// File: crates/router/src/core/customers.rs
// Module: router
pub fn create_customer(
state: SessionState,
merchant_context: domain::MerchantContext,
customer_data: customers::CustomerRequest,
connector_customer_details: Option<Vec<payment_methods_domain::ConnectorCustomer... | crates/router/src/core/customers.rs | router | function_signature | null | null | null | 79 | create_customer | null | null | null | null | null | null |
// Struct: NuveiAmountDetails
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiAmountDetails | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiAmountDetails | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: CancelTransactionData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CancelTransactionData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | CancelTransactionData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Dwolla
// File: crates/hyperswitch_connectors/src/connectors/dwolla.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Dwolla | crates/hyperswitch_connectors/src/connectors/dwolla.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Dwolla | api::MandateSetup for | 0 | 0 | null | null |
// Struct: AdyenplatformIncomingWebhookData
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdyenplatformIncomingWebhookData | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | struct_definition | AdyenplatformIncomingWebhookData | 0 | [] | 60 | null | null | null | null | null | null | null |
// Implementation: impl FieldExt for for Field
// File: crates/router_derive/src/macros/schema/helpers.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl FieldExt for for Field | crates/router_derive/src/macros/schema/helpers.rs | router_derive | impl_block | null | null | null | 47 | null | Field | FieldExt for | 1 | 0 | null | null |
// File: crates/scheduler/src/env.rs
// Module: scheduler
#[doc(inline)]
pub use router_env::*;
| crates/scheduler/src/env.rs | scheduler | full_file | null | null | null | 25 | null | null | null | null | null | null | null |
// Struct: OpensearchSuccess
// File: crates/api_models/src/analytics/search.rs
// Module: api_models
// Implementations: 0
pub struct OpensearchSuccess | crates/api_models/src/analytics/search.rs | api_models | struct_definition | OpensearchSuccess | 0 | [] | 39 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 4
// Public structs: 19
use common_enums::{enums, Currency};
use common_utils::{id_type::CustomerId, pii::Email, types::MinorUnit};
use hyperswitch_domain_models::{
address::Address a... | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 7,954 | null | null | null | null | null | null | null |
// Struct: EbanxBankDetails
// File: crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct EbanxBankDetails | crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs | hyperswitch_connectors | struct_definition | EbanxBankDetails | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: CreateRoleV2Request
// File: crates/api_models/src/user_role/role.rs
// Module: api_models
// Implementations: 0
pub struct CreateRoleV2Request | crates/api_models/src/user_role/role.rs | api_models | struct_definition | CreateRoleV2Request | 0 | [] | 42 | null | null | null | null | null | null | null |
// Function: find_by_merchant_reference_id_merchant_id
// File: crates/diesel_models/src/query/customers.rs
// Module: diesel_models
pub fn find_by_merchant_reference_id_merchant_id(
conn: &PgPooledConn,
merchant_reference_id: &id_type::CustomerId,
merchant_id: &id_type::MerchantId,
) -> St... | crates/diesel_models/src/query/customers.rs | diesel_models | function_signature | null | null | null | 82 | find_by_merchant_reference_id_merchant_id | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/services/api/client.rs
// Module: router
// Public exports:
pub use external_services::http_client::{self, client};
| crates/router/src/services/api/client.rs | router | module_structure | null | null | null | 36 | null | null | null | null | null | 0 | 1 |
// Struct: WebhookProcessingResult
// File: crates/router/src/core/webhooks/incoming.rs
// Module: router
// Implementations: 0
// Documentation: Result type for webhook processing path determination
pub struct WebhookProcessingResult | crates/router/src/core/webhooks/incoming.rs | router | struct_definition | WebhookProcessingResult | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: ConnectorMandateDetails
// File: crates/hyperswitch_domain_models/src/router_flow_types/webhooks.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ConnectorMandateDetails | crates/hyperswitch_domain_models/src/router_flow_types/webhooks.rs | hyperswitch_domain_models | struct_definition | ConnectorMandateDetails | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: build_cloned_connector_create_request
// File: crates/router/src/utils/user.rs
// Module: router
pub fn build_cloned_connector_create_request(
source_mca: DomainMerchantConnectorAccount,
destination_profile_id: Option<id_type::ProfileId>,
destination_connector_label: Option<String>,
) -> UserR... | crates/router/src/utils/user.rs | router | function_signature | null | null | null | 77 | build_cloned_connector_create_request | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Tokenio
// File: crates/hyperswitch_connectors/src/connectors/tokenio.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Tokenio | crates/hyperswitch_connectors/src/connectors/tokenio.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Tokenio | ConnectorCommon for | 6 | 0 | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Implementation: impl super::disputes::metrics::DisputeMetricAnalytics for for ClickhouseClient
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::disputes::metrics::DisputeMetricAnalytics for for ClickhouseClient | crates/analytics/src/clickhouse.rs | analytics | impl_block | null | null | null | 67 | null | ClickhouseClient | super::disputes::metrics::DisputeMetricAnalytics for | 0 | 0 | null | null |
// Function: add_default_headers
// File: crates/common_utils/src/request.rs
// Module: common_utils
pub fn add_default_headers(&mut self) | crates/common_utils/src/request.rs | common_utils | function_signature | null | null | null | 32 | add_default_headers | null | null | null | null | null | null |
// Struct: OpenSearchIndexes
// File: crates/analytics/src/opensearch.rs
// Module: analytics
// Implementations: 1
pub struct OpenSearchIndexes | crates/analytics/src/opensearch.rs | analytics | struct_definition | OpenSearchIndexes | 1 | [] | 36 | null | null | null | null | null | null | null |
// Struct: StripebillingPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripebillingPaymentsRequest | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | StripebillingPaymentsRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: do_auth_connector_call
// File: crates/router/src/core/authentication/utils.rs
// Module: router
pub fn do_auth_connector_call<F, Req, Res>(
state: &SessionState,
authentication_connector_name: String,
router_data: RouterData<F, Req, Res>,
) -> RouterResult<RouterData<F, Req, Res>>
where
R... | crates/router/src/core/authentication/utils.rs | router | function_signature | null | null | null | 169 | do_auth_connector_call | null | null | null | null | null | null |
// Struct: RuleMigrationQuery
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 1
pub struct RuleMigrationQuery | crates/api_models/src/routing.rs | api_models | struct_definition | RuleMigrationQuery | 1 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl Profile
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
// Methods: 14 total (14 public)
impl Profile | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | impl_block | null | null | null | 43 | null | Profile | null | 14 | 14 | null | null |
// File: crates/analytics/src/api_event/filters.rs
// Module: analytics
// Public functions: 1
// Public structs: 1
use api_models::analytics::{api_event::ApiEventDimensions, Granularity, TimeRange};
use common_utils::errors::ReportSwitchExt;
use error_stack::ResultExt;
use time::PrimitiveDateTime;
use crate::{
q... | crates/analytics/src/api_event/filters.rs | analytics | full_file | null | null | null | 434 | null | null | null | null | null | null | null |
// Function: delete_locker_payment_method_by_lookup_key
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn delete_locker_payment_method_by_lookup_key(
state: &routes::SessionState,
lookup_key: &Option<String>,
) | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 60 | delete_locker_payment_method_by_lookup_key | null | null | null | null | null | null |
// Struct: AciMandateResponse
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AciMandateResponse | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | AciMandateResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Bitpay
// File: crates/hyperswitch_connectors/src/connectors/bitpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Bitpay | crates/hyperswitch_connectors/src/connectors/bitpay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Bitpay | api::PaymentToken for | 0 | 0 | null | null |
// Struct: VoidResponse
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VoidResponse | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | VoidResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Payu
// File: crates/hyperswitch_connectors/src/connectors/payu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Payu | crates/hyperswitch_connectors/src/connectors/payu.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Payu | api::PaymentSync for | 0 | 0 | null | null |
// Implementation: impl api::PaymentToken for for Fiserv
// File: crates/hyperswitch_connectors/src/connectors/fiserv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Fiserv | crates/hyperswitch_connectors/src/connectors/fiserv.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Fiserv | api::PaymentToken for | 0 | 0 | null | null |
// Function: list_customer_payment_method_api
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn list_customer_payment_method_api() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 35 | list_customer_payment_method_api | null | null | null | null | null | null |
// Function: merchant_account_list
// File: crates/openapi/src/routes/organization.rs
// Module: openapi
pub fn merchant_account_list() | crates/openapi/src/routes/organization.rs | openapi | function_signature | null | null | null | 31 | merchant_account_list | null | null | null | null | null | null |
// Function: validate_create_request
// File: crates/router/src/core/payouts/validator.rs
// Module: router
pub fn validate_create_request(
_state: &SessionState,
_merchant_context: &domain::MerchantContext,
_req: &payouts::PayoutCreateRequest,
) -> RouterResult<(
String,
Option<payouts::PayoutMeth... | crates/router/src/core/payouts/validator.rs | router | function_signature | null | null | null | 102 | validate_create_request | null | null | null | null | null | null |
// Implementation: impl auth_service::AuthServiceBankAccountCredentials for for Plaid
// File: crates/pm_auth/src/connector/plaid.rs
// Module: pm_auth
// Methods: 0 total (0 public)
impl auth_service::AuthServiceBankAccountCredentials for for Plaid | crates/pm_auth/src/connector/plaid.rs | pm_auth | impl_block | null | null | null | 57 | null | Plaid | auth_service::AuthServiceBankAccountCredentials for | 0 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Tesouro
// File: crates/hyperswitch_connectors/src/connectors/tesouro.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Tesouro | crates/hyperswitch_connectors/src/connectors/tesouro.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Tesouro | ConnectorCommon for | 6 | 0 | null | null |
// Implementation: impl EmailData for for MagicLink
// File: crates/router/src/services/email/types.rs
// Module: router
// Methods: 1 total (0 public)
impl EmailData for for MagicLink | crates/router/src/services/email/types.rs | router | impl_block | null | null | null | 44 | null | MagicLink | EmailData for | 1 | 0 | null | null |
// Function: client_secret_delete
// File: crates/router/src/routes/ephemeral_key.rs
// Module: router
pub fn client_secret_delete(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
) -> HttpResponse | crates/router/src/routes/ephemeral_key.rs | router | function_signature | null | null | null | 57 | client_secret_delete | null | null | null | null | null | null |
// Struct: CaptureResponseData
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CaptureResponseData | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | CaptureResponseData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: NordeaPaymentsInitiateResponseData
// File: crates/hyperswitch_connectors/src/connectors/nordea/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NordeaPaymentsInitiateResponseData | crates/hyperswitch_connectors/src/connectors/nordea/responses.rs | hyperswitch_connectors | struct_definition | NordeaPaymentsInitiateResponseData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: AciNetworkTokenData
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AciNetworkTokenData | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | AciNetworkTokenData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: create_profile_acquirer
// File: crates/router/src/routes/profile_acquirer.rs
// Module: router
pub fn create_profile_acquirer(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<ProfileAcquirerCreate>,
) -> HttpResponse | crates/router/src/routes/profile_acquirer.rs | router | function_signature | null | null | null | 62 | create_profile_acquirer | null | null | null | null | null | null |
// Struct: PaymentCaptureData
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentCaptureData<F> | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | struct_definition | PaymentCaptureData | 0 | [] | 44 | null | null | null | null | null | null | null |
// File: crates/external_services/src/no_encryption/core.rs
// Module: external_services
// Public functions: 2
// Public structs: 1
//! No encryption core functionalities
/// No encryption type
#[derive(Debug, Clone)]
pub struct NoEncryption;
impl NoEncryption {
/// Encryption functionality
pub fn encrypt(&... | crates/external_services/src/no_encryption/core.rs | external_services | full_file | null | null | null | 136 | null | null | null | null | null | null | null |
// Struct: PaymentsApproveData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentsApproveData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | PaymentsApproveData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: create_profile_from_business_labels
// File: crates/router/src/core/admin.rs
// Module: router
// Documentation: For backwards compatibility, whenever new business labels are passed in primary_business_details, create a profile
pub fn create_profile_from_business_labels(
state: &SessionState,
db:... | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 110 | create_profile_from_business_labels | null | null | null | null | null | null |
// Function: get_profile_payment_filters
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_profile_payment_filters(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<GetPaymentFiltersRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 67 | get_profile_payment_filters | null | null | null | null | null | null |
// File: crates/router/src/core/payments/operations/tax_calculation.rs
// Module: router
// Public structs: 1
use std::marker::PhantomData;
use api_models::enums::FrmSuggestion;
use async_trait::async_trait;
use common_utils::{ext_traits::AsyncExt, types::keymanager::KeyManagerState};
use error_stack::ResultExt;
use ... | crates/router/src/core/payments/operations/tax_calculation.rs | router | full_file | null | null | null | 3,513 | null | null | null | null | null | null | null |
// Function: trim_from_stream
// File: crates/drainer/src/stream.rs
// Module: drainer
pub fn trim_from_stream(
&self,
stream_name: &str,
minimum_entry_id: &str,
) -> errors::DrainerResult<usize> | crates/drainer/src/stream.rs | drainer | function_signature | null | null | null | 58 | trim_from_stream | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/router_flow_types/dispute.rs
// Module: hyperswitch_domain_models
// Public structs: 5
#[derive(Debug, Clone)]
pub struct Accept;
#[derive(Debug, Clone)]
pub struct Evidence;
#[derive(Debug, Clone)]
pub struct Defend;
#[derive(Debug, Clone)]
pub struct Fetch;
#[derive(D... | crates/hyperswitch_domain_models/src/router_flow_types/dispute.rs | hyperswitch_domain_models | full_file | null | null | null | 85 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/blocklist_fingerprint.rs
// Module: diesel_models
// Public structs: 2
use diesel::{Identifiable, Insertable, Queryable, Selectable};
use serde::{Deserialize, Serialize};
use crate::schema::blocklist_fingerprint;
#[derive(Clone, Debug, Eq, Insertable, PartialEq, Serialize, Deseriali... | crates/diesel_models/src/blocklist_fingerprint.rs | diesel_models | full_file | null | null | null | 266 | null | null | null | null | null | null | null |
// Struct: ApplePayRecurringDetails
// File: crates/diesel_models/src/types.rs
// Module: diesel_models
// Implementations: 0
pub struct ApplePayRecurringDetails | crates/diesel_models/src/types.rs | diesel_models | struct_definition | ApplePayRecurringDetails | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: get_connector_and_supporting_payment_method_type_for_session_call
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn get_connector_and_supporting_payment_method_type_for_session_call(
&self,
) -> Vec<(&MerchantConnect... | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 83 | get_connector_and_supporting_payment_method_type_for_session_call | null | null | null | null | null | null |
// Struct: ProfileUpdate
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct ProfileUpdate | crates/api_models/src/admin.rs | api_models | struct_definition | ProfileUpdate | 0 | [] | 33 | null | null | null | null | null | null | null |
// Function: get_status_field
// File: crates/analytics/src/opensearch.rs
// Module: analytics
pub fn get_status_field(&self, index: SearchIndex) -> &str | crates/analytics/src/opensearch.rs | analytics | function_signature | null | null | null | 40 | get_status_field | null | null | null | null | null | null |
// Struct: StripePaymentMethodDetails
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripePaymentMethodDetails | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | StripePaymentMethodDetails | 0 | [] | 50 | null | null | null | null | null | null | null |
// Trait: NetworkTokenWebhookResponseExt
// File: crates/router/src/core/webhooks/network_tokenization_incoming.rs
// Module: router
pub trait NetworkTokenWebhookResponseExt | crates/router/src/core/webhooks/network_tokenization_incoming.rs | router | trait_definition | null | null | null | 39 | null | null | NetworkTokenWebhookResponseExt | null | null | null | null |
// Function: update_business_profile_active_dynamic_algorithm_ref
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn update_business_profile_active_dynamic_algorithm_ref(
db: &dyn StorageInterface,
key_manager_state: &KeyManagerState,
merchant_key_store: &domain::MerchantKeyStore,
... | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 96 | update_business_profile_active_dynamic_algorithm_ref | null | null | null | null | null | null |
// Function: search_results
// File: crates/analytics/src/search.rs
// Module: analytics
pub fn search_results(
client: &OpenSearchClient,
req: GetSearchRequestWithIndex,
search_params: Vec<AuthInfo>,
) -> CustomResult<GetSearchResponse, OpenSearchError> | crates/analytics/src/search.rs | analytics | function_signature | null | null | null | 65 | search_results | null | null | null | null | null | null |
// Struct: BarclaycardAuthEnrollmentRequest
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardAuthEnrollmentRequest | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardAuthEnrollmentRequest | 0 | [] | 57 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/flows.rs
// Module: router
// Public functions: 2
pub mod approve_flow;
pub mod authorize_flow;
pub mod cancel_flow;
pub mod cancel_post_capture_flow;
pub mod capture_flow;
pub mod complete_authorize_flow;
#[cfg(feature = "v2")]
pub mod external_proxy_flow;
pub mod incremental_... | crates/router/src/core/payments/flows.rs | router | full_file | null | null | null | 2,600 | null | null | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.