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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Function: list_payments
// File: crates/router/src/core/payments.rs
// Module: router
pub fn list_payments(
state: SessionState,
merchant_context: domain::MerchantContext,
constraints: api::PaymentListConstraints,
) -> RouterResponse<payments_api::PaymentListResponse> | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 64 | list_payments | null | null | null | null | null | null |
// Struct: RawPaymentCounterparty
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RawPaymentCounterparty<'a, F> | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | struct_definition | RawPaymentCounterparty | 0 | [] | 59 | null | null | null | null | null | null | null |
// Function: update_by_address_id
// File: crates/diesel_models/src/query/address.rs
// Module: diesel_models
pub fn update_by_address_id(
conn: &PgPooledConn,
address_id: String,
address: AddressUpdateInternal,
) -> StorageResult<Self> | crates/diesel_models/src/query/address.rs | diesel_models | function_signature | null | null | null | 62 | update_by_address_id | null | null | null | null | null | null |
// Struct: SantanderBoletoPaymentRequest
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SantanderBoletoPaymentRequest | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | SantanderBoletoPaymentRequest | 0 | [] | 56 | null | null | null | null | null | null | null |
// Struct: TokenizedWalletInsensitiveValues
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
// Implementations: 0
pub struct TokenizedWalletInsensitiveValues | crates/router/src/core/payment_methods/vault.rs | router | struct_definition | TokenizedWalletInsensitiveValues | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: HyperswitchVaultCreateRequest
// File: crates/hyperswitch_connectors/src/connectors/hyperswitch_vault/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HyperswitchVaultCreateRequest | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault/transformers.rs | hyperswitch_connectors | struct_definition | HyperswitchVaultCreateRequest | 0 | [] | 57 | null | null | null | null | null | null | null |
// Struct: PazePaymentProcessingDetails
// File: crates/router/src/core/payments.rs
// Module: router
// Implementations: 0
pub struct PazePaymentProcessingDetails | crates/router/src/core/payments.rs | router | struct_definition | PazePaymentProcessingDetails | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: PaymentAuthenticateCompleteAuthorize
// File: crates/router/src/core/payments.rs
// Module: router
// Implementations: 1
// Traits: PaymentRedirectFlow
pub struct PaymentAuthenticateCompleteAuthorize | crates/router/src/core/payments.rs | router | struct_definition | PaymentAuthenticateCompleteAuthorize | 1 | [
"PaymentRedirectFlow"
] | 44 | null | null | null | null | null | null | null |
// Function: new_single
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
pub fn new_single(value: T) -> Self | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | function_signature | null | null | null | 48 | new_single | null | null | null | null | null | null |
// Implementation: impl MasterKeyInterface for for MockDb
// File: crates/router/src/db.rs
// Module: router
// Methods: 1 total (0 public)
impl MasterKeyInterface for for MockDb | crates/router/src/db.rs | router | impl_block | null | null | null | 44 | null | MockDb | MasterKeyInterface for | 1 | 0 | null | null |
// Struct: CustomerMetaData
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustomerMetaData | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | CustomerMetaData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: perform_session_flow_routing
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn perform_session_flow_routing<'a>(
state: &'a SessionState,
key_store: &'a domain::MerchantKeyStore,
session_input: SessionFlowRoutingInput<'_>,
business_profile: &domain::Profile,
... | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 112 | perform_session_flow_routing | null | null | null | null | null | null |
// Implementation: impl Parse for for OperationsEnumMeta
// File: crates/router_derive/src/macros/operation.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl Parse for for OperationsEnumMeta | crates/router_derive/src/macros/operation.rs | router_derive | impl_block | null | null | null | 49 | null | OperationsEnumMeta | Parse for | 1 | 0 | null | null |
// Function: check_service_type
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn check_service_type(
&self,
required_service_type: &ExternalServiceType,
) -> RouterResult<()> | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 48 | check_service_type | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Sift
// File: crates/hyperswitch_connectors/src/connectors/sift.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Sift | crates/hyperswitch_connectors/src/connectors/sift.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Sift | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Struct: BillingConnectorPaymentsSyncFlowRouterData
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
// Implementations: 1
pub struct BillingConnectorPaymentsSyncFlowRouterData | crates/router/src/core/webhooks/recovery_incoming.rs | router | struct_definition | BillingConnectorPaymentsSyncFlowRouterData | 1 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_sync_process_schedule_time
// File: crates/router/src/workflows/process_dispute.rs
// Module: router
pub fn get_sync_process_schedule_time(
db: &dyn StorageInterface,
connector: &str,
merchant_id: &common_utils::id_type::MerchantId,
retry_count: i32,
) -> Result<Option<time::PrimitiveD... | crates/router/src/workflows/process_dispute.rs | router | function_signature | null | null | null | 87 | get_sync_process_schedule_time | null | null | null | null | null | null |
// Function: create_authorization_header
// File: crates/hyperswitch_connectors/src/connectors/amazonpay.rs
// Module: hyperswitch_connectors
pub fn create_authorization_header(
&self,
auth: amazonpay::AmazonpayAuthType,
canonical_uri: &str,
http_method: &Method,
hashed_payload:... | crates/hyperswitch_connectors/src/connectors/amazonpay.rs | hyperswitch_connectors | function_signature | null | null | null | 88 | create_authorization_header | null | null | null | null | null | null |
// Struct: RedirectPaymentFlowResponse
// File: crates/router/src/types.rs
// Module: router
// Implementations: 0
pub struct RedirectPaymentFlowResponse<D> | crates/router/src/types.rs | router | struct_definition | RedirectPaymentFlowResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: ApplePayMethodData
// File: crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayMethodData | crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayMethodData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: FrictionlessFlowCount
// File: crates/api_models/src/analytics/auth_events.rs
// Module: api_models
// Implementations: 0
pub struct FrictionlessFlowCount | crates/api_models/src/analytics/auth_events.rs | api_models | struct_definition | FrictionlessFlowCount | 0 | [] | 42 | null | null | null | null | null | null | null |
// Function: validate
// File: crates/drainer/src/settings.rs
// Module: drainer
pub fn validate(&self) -> Result<(), errors::DrainerError> | crates/drainer/src/settings.rs | drainer | function_signature | null | null | null | 36 | validate | null | null | null | null | null | null |
// Function: get_payout_status
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
pub fn get_payout_status(status: PaypalFulfillStatus) -> storage_enums::PayoutStatus | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 57 | get_payout_status | null | null | null | null | null | null |
// Trait: PaymentMethodsController
// File: crates/payment_methods/src/controller.rs
// Module: payment_methods
pub trait PaymentMethodsController | crates/payment_methods/src/controller.rs | payment_methods | trait_definition | null | null | null | 28 | null | null | PaymentMethodsController | null | null | null | null |
// Implementation: impl api::PaymentToken for for Multisafepay
// File: crates/hyperswitch_connectors/src/connectors/multisafepay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Multisafepay | crates/hyperswitch_connectors/src/connectors/multisafepay.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Multisafepay | api::PaymentToken for | 0 | 0 | null | null |
// Function: to_str
// File: crates/common_utils/src/types/authentication.rs
// Module: common_utils
// Documentation: Get string representation of enclosed ID type
pub fn to_str(&self) -> &str | crates/common_utils/src/types/authentication.rs | common_utils | function_signature | null | null | null | 44 | to_str | null | null | null | null | null | null |
// Function: relay_flow_decider
// File: crates/router/src/core/relay.rs
// Module: router
pub fn relay_flow_decider(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id_optional: Option<id_type::ProfileId>,
request: relay_api_models::RelayRequest,
) -> RouterResponse<relay_api_m... | crates/router/src/core/relay.rs | router | function_signature | null | null | null | 83 | relay_flow_decider | null | null | null | null | null | null |
// Function: get_three_ds_keys
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn get_three_ds_keys() -> JsResult | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 39 | get_three_ds_keys | null | null | null | null | null | null |
// Struct: PaypalAuthUpdateRequest
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalAuthUpdateRequest | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalAuthUpdateRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: BillingConnectorInvoiceSyncResponseData
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
// Implementations: 1
pub struct BillingConnectorInvoiceSyncResponseData | crates/router/src/core/webhooks/recovery_incoming.rs | router | struct_definition | BillingConnectorInvoiceSyncResponseData | 1 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Netcetera
// File: crates/hyperswitch_connectors/src/connectors/netcetera.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Netcetera | crates/hyperswitch_connectors/src/connectors/netcetera.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Netcetera | ConnectorCommon for | 6 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/checkbook.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::{enums, payments::PaymentIdType};
use common_utils::{
crypto,
errors::CustomResult,
ext_traits::{... | crates/hyperswitch_connectors/src/connectors/checkbook.rs | hyperswitch_connectors | full_file | null | null | null | 5,002 | null | null | null | null | null | null | null |
// Function: get_merchant_reference_id
// File: crates/api_models/src/customers.rs
// Module: api_models
pub fn get_merchant_reference_id(&self) -> Option<id_type::CustomerId> | crates/api_models/src/customers.rs | api_models | function_signature | null | null | null | 44 | get_merchant_reference_id | null | null | null | null | null | null |
// Implementation: impl api::Payouts for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payouts for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Nuvei | api::Payouts for | 0 | 0 | null | null |
// Struct: NoonPaymentsActionRequest
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonPaymentsActionRequest | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonPaymentsActionRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: Payer
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Payer | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | Payer | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: refund_manual_update
// File: crates/router/src/core/refunds.rs
// Module: router
pub fn refund_manual_update(
state: SessionState,
req: api_models::refunds::RefundManualUpdateRequest,
) -> RouterResponse<serde_json::Value> | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 60 | refund_manual_update | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 22
#[cfg(feature = "payouts")]
use common_enums::enums::PayoutEntityType;
use common_enums::{enums, Currency, PayoutStatus};
use common_utils::{pii::Email, types::FloatMajorUnit};
use hype... | crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 3,934 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/common_enums/src/connector_enums.rs
// Module: common_enums
// Public exports:
pub use super::enums::{PaymentMethod, PayoutType};
pub use crate::PaymentMethodType;
| crates/common_enums/src/connector_enums.rs | common_enums | module_structure | null | null | null | 50 | null | null | null | null | null | 0 | 2 |
// Function: get_profile_api_events
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_profile_api_events(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Query<api_models::analytics::api_event::ApiLogsRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 74 | get_profile_api_events | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Prophetpay
// File: crates/hyperswitch_connectors/src/connectors/prophetpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Prophetpay | crates/hyperswitch_connectors/src/connectors/prophetpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Prophetpay | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: apply_changeset
// File: crates/diesel_models/src/merchant_account.rs
// Module: diesel_models
pub fn apply_changeset(self, source: MerchantAccount) -> MerchantAccount | crates/diesel_models/src/merchant_account.rs | diesel_models | function_signature | null | null | null | 41 | apply_changeset | null | null | null | null | null | null |
// Function: is_db_unique_violation
// File: crates/storage_impl/src/errors.rs
// Module: storage_impl
pub fn is_db_unique_violation(&self) -> bool | crates/storage_impl/src/errors.rs | storage_impl | function_signature | null | null | null | 39 | is_db_unique_violation | null | null | null | null | null | null |
// Function: decide_retry_failure_action
// File: crates/router/src/core/revenue_recovery/types.rs
// Module: router
pub fn decide_retry_failure_action(
state: &SessionState,
merchant_id: &id_type::MerchantId,
pt: storage::ProcessTracker,
revenue_recovery_payment_data: &storage::revenue... | crates/router/src/core/revenue_recovery/types.rs | router | function_signature | null | null | null | 101 | decide_retry_failure_action | null | null | null | null | null | null |
// Function: get_card_vault_data
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn get_card_vault_data(&self) -> Option<payment_method_data::Card> | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 51 | get_card_vault_data | null | null | null | null | null | null |
// Function: find_by_merchant_id
// File: crates/diesel_models/src/query/merchant_account.rs
// Module: diesel_models
pub fn find_by_merchant_id(
conn: &PgPooledConn,
identifier: &common_utils::id_type::MerchantId,
) -> StorageResult<Self> | crates/diesel_models/src/query/merchant_account.rs | diesel_models | function_signature | null | null | null | 66 | find_by_merchant_id | null | null | null | null | null | null |
// Struct: ItaubankDebtor
// File: crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ItaubankDebtor | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs | hyperswitch_connectors | struct_definition | ItaubankDebtor | 0 | [] | 55 | null | null | null | null | null | null | null |
// File: crates/common_enums/src/lib.rs
// Module: common_enums
pub mod connector_enums;
pub mod enums;
pub mod transformers;
pub use enums::*;
pub use transformers::*;
| crates/common_enums/src/lib.rs | common_enums | full_file | null | null | null | 40 | null | null | null | null | null | null | null |
// Implementation: impl PaymentMethodsStorageInterface for for MockDb
// File: crates/payment_methods/src/state.rs
// Module: payment_methods
// Methods: 0 total (0 public)
impl PaymentMethodsStorageInterface for for MockDb | crates/payment_methods/src/state.rs | payment_methods | impl_block | null | null | null | 48 | null | MockDb | PaymentMethodsStorageInterface for | 0 | 0 | null | null |
// Struct: SankeyRow
// File: crates/analytics/src/payment_intents/sankey.rs
// Module: analytics
// Implementations: 0
pub struct SankeyRow | crates/analytics/src/payment_intents/sankey.rs | analytics | struct_definition | SankeyRow | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: ArchipelWalletAuthorizationRequest
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ArchipelWalletAuthorizationRequest | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs | hyperswitch_connectors | struct_definition | ArchipelWalletAuthorizationRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: check_email_token_in_blacklist
// File: crates/router/src/services/authentication/blacklist.rs
// Module: router
pub fn check_email_token_in_blacklist(state: &SessionState, token: &str) -> UserResult<()> | crates/router/src/services/authentication/blacklist.rs | router | function_signature | null | null | null | 50 | check_email_token_in_blacklist | null | null | null | null | null | null |
// Implementation: impl GlobalTokenId
// File: crates/common_utils/src/id_type/global_id/token.rs
// Module: common_utils
// Methods: 3 total (3 public)
impl GlobalTokenId | crates/common_utils/src/id_type/global_id/token.rs | common_utils | impl_block | null | null | null | 42 | null | GlobalTokenId | null | 3 | 3 | null | null |
// Implementation: impl api::ConnectorMandateRevoke for for Noon
// File: crates/hyperswitch_connectors/src/connectors/noon.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorMandateRevoke for for Noon | crates/hyperswitch_connectors/src/connectors/noon.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Noon | api::ConnectorMandateRevoke for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 3
// Public structs: 44
#[cfg(all(feature = "revenue_recovery", feature = "v2"))]
use std::str::FromStr;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext... | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Struct: CoingateErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CoingateErrorResponse | crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs | hyperswitch_connectors | struct_definition | CoingateErrorResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Trustpayments
// File: crates/hyperswitch_connectors/src/connectors/trustpayments.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Trustpayments | crates/hyperswitch_connectors/src/connectors/trustpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Trustpayments | ConnectorSpecifications for | 3 | 0 | null | null |
// File: crates/api_models/src/revenue_recovery_data_backfill.rs
// Module: api_models
// Public functions: 1
// Public structs: 8
use std::{collections::HashMap, fs::File, io::BufReader};
use actix_multipart::form::{tempfile::TempFile, MultipartForm};
use actix_web::{HttpResponse, ResponseError};
use common_enums::{... | crates/api_models/src/revenue_recovery_data_backfill.rs | api_models | full_file | null | null | null | 1,182 | null | null | null | null | null | null | null |
// Struct: ProxyRequestWrapper
// File: crates/router/src/core/proxy/utils.rs
// Module: router
// Implementations: 1
pub struct ProxyRequestWrapper | crates/router/src/core/proxy/utils.rs | router | struct_definition | ProxyRequestWrapper | 1 | [] | 36 | null | null | null | null | null | null | null |
// Function: get_mca_id
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn get_mca_id(&self) -> Option<id_type::MerchantConnectorAccountId> | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 52 | get_mca_id | null | null | null | null | null | null |
// Struct: User
// File: crates/pm_auth/src/connector/plaid/transformers.rs
// Module: pm_auth
// Implementations: 0
pub struct User | crates/pm_auth/src/connector/plaid/transformers.rs | pm_auth | struct_definition | User | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: CheckbookErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/checkbook/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckbookErrorResponse | crates/hyperswitch_connectors/src/connectors/checkbook/transformers.rs | hyperswitch_connectors | struct_definition | CheckbookErrorResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
Self::ResponseUpdate {
debit_routing_savings,
..
} => debit_routing_savings.as_ref(),
Self::Update { .. }
| Self::UpdateTrackers { .. }
| Self::AuthenticationTypeUpdate { .. }
| Self::ConfirmUpdate { .. }
... | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs#chunk2 | hyperswitch_domain_models | chunk | null | null | null | 8,188 | null | null | null | null | null | null | null |
// Struct: ProphetpayTokenRequest
// File: crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProphetpayTokenRequest | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs | hyperswitch_connectors | struct_definition | ProphetpayTokenRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsPreProcessing for for Airwallex
// File: crates/hyperswitch_connectors/src/connectors/airwallex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsPreProcessing for for Airwallex | crates/hyperswitch_connectors/src/connectors/airwallex.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Airwallex | api::PaymentsPreProcessing for | 0 | 0 | null | null |
// Implementation: impl SurchargeCalculationOverride
// File: crates/common_enums/src/enums.rs
// Module: common_enums
// Methods: 1 total (1 public)
impl SurchargeCalculationOverride | crates/common_enums/src/enums.rs | common_enums | impl_block | null | null | null | 45 | null | SurchargeCalculationOverride | null | 1 | 1 | null | null |
// Implementation: impl Stop for for ServerHandle
// File: crates/router/src/lib.rs
// Module: router
// Methods: 1 total (0 public)
impl Stop for for ServerHandle | crates/router/src/lib.rs | router | impl_block | null | null | null | 40 | null | ServerHandle | Stop for | 1 | 0 | null | null |
// Function: get_latest_capture
// File: crates/router/src/core/payments/types.rs
// Module: router
pub fn get_latest_capture(&self) -> &storage::Capture | crates/router/src/core/payments/types.rs | router | function_signature | null | null | null | 37 | get_latest_capture | null | null | null | null | null | null |
// Function: validate_request_and_initiate_payment_method_collect_link
// File: crates/router/src/core/payment_methods/validator.rs
// Module: router
pub fn validate_request_and_initiate_payment_method_collect_link(
state: &SessionState,
merchant_context: &domain::MerchantContext,
req: &PaymentMethodCollec... | crates/router/src/core/payment_methods/validator.rs | router | function_signature | null | null | null | 81 | validate_request_and_initiate_payment_method_collect_link | null | null | null | null | null | null |
// Struct: ConnectorCustomerResponseData
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
// Implementations: 1
pub struct ConnectorCustomerResponseData | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | struct_definition | ConnectorCustomerResponseData | 1 | [] | 45 | null | null | null | null | null | null | null |
// Struct: ThemeData
// File: crates/api_models/src/user/theme.rs
// Module: api_models
// Implementations: 0
pub struct ThemeData | crates/api_models/src/user/theme.rs | api_models | struct_definition | ThemeData | 0 | [] | 32 | null | null | null | null | null | null | null |
// Function: get_wise_webhooks_event
// File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
// Module: hyperswitch_connectors
pub fn get_wise_webhooks_event(
state: WiseSyncStatus,
) -> api_models::webhooks::IncomingWebhookEvent | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 66 | get_wise_webhooks_event | null | null | null | null | null | null |
// Implementation: impl Default for for AnalyticsConfig
// File: crates/analytics/src/lib.rs
// Module: analytics
// Methods: 1 total (0 public)
impl Default for for AnalyticsConfig | crates/analytics/src/lib.rs | analytics | impl_block | null | null | null | 41 | null | AnalyticsConfig | Default for | 1 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Silverflow
// File: crates/hyperswitch_connectors/src/connectors/silverflow.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Silverflow | crates/hyperswitch_connectors/src/connectors/silverflow.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Silverflow | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: PaymeAuthType
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymeAuthType | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | PaymeAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/router_env/src/logger/config.rs
// Module: router_env
// Public functions: 6
// Public structs: 6
//! Logger-specific config.
use std::path::PathBuf;
use serde::Deserialize;
/// Config settings.
#[derive(Debug, Deserialize, Clone)]
pub struct Config {
/// Logging to a file.
pub log: Log,
}
... | crates/router_env/src/logger/config.rs | router_env | full_file | null | null | null | 1,601 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/id_type.rs
// Module: common_utils
// Public functions: 3
//! Common ID types
//! The id type can be used to create specific id types with custom behaviour
mod api_key;
mod authentication;
mod client_secret;
mod customer;
#[cfg(feature = "v2")]
mod global_id;
mod invoice;
mod merchant... | crates/common_utils/src/id_type.rs | common_utils | full_file | null | null | null | 2,802 | null | null | null | null | null | null | null |
// Function: new
// File: crates/api_models/src/organization.rs
// Module: api_models
pub fn new(org_type: OrganizationType, org_name: Option<String>) -> Self | crates/api_models/src/organization.rs | api_models | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Implementation: impl NewUserRole
// File: crates/router/src/types/domain/user.rs
// Module: router
// Methods: 2 total (0 public)
impl NewUserRole | crates/router/src/types/domain/user.rs | router | impl_block | null | null | null | 36 | null | NewUserRole | null | 2 | 0 | null | null |
// Function: build_filter_array
// File: crates/analytics/src/opensearch.rs
// Module: analytics
pub fn build_filter_array(
&self,
case_sensitive_filters: Vec<&(String, Vec<Value>) | crates/analytics/src/opensearch.rs | analytics | function_signature | null | null | null | 47 | build_filter_array | null | null | null | null | null | null |
// Struct: Evoucher
// File: crates/connector_configs/src/connector.rs
// Module: connector_configs
// Implementations: 0
pub struct Evoucher | crates/connector_configs/src/connector.rs | connector_configs | struct_definition | Evoucher | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: CnpOnlineResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CnpOnlineResponse | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | CnpOnlineResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl RequiredFieldsAndSurchargeForEnabledPaymentMethodTypes
// File: crates/router/src/core/payments/payment_methods.rs
// Module: router
// Methods: 1 total (0 public)
impl RequiredFieldsAndSurchargeForEnabledPaymentMethodTypes | crates/router/src/core/payments/payment_methods.rs | router | impl_block | null | null | null | 54 | null | RequiredFieldsAndSurchargeForEnabledPaymentMethodTypes | null | 1 | 0 | null | null |
// File: crates/api_models/src/locker_migration.rs
// Module: api_models
// Public structs: 1
#[derive(Debug, Clone, serde::Serialize)]
#[serde(rename_all = "camelCase")]
pub struct MigrateCardResponse {
pub status_message: String,
pub status_code: String,
pub customers_moved: usize,
pub cards_moved: u... | crates/api_models/src/locker_migration.rs | api_models | full_file | null | null | null | 82 | null | null | null | null | null | null | null |
static RAPYD_SUPPORTED_PAYMENT_METHODS: LazyLock<SupportedPaymentMethods> = LazyLock::new(|| {
let supported_capture_methods = vec![
enums::CaptureMethod::Automatic,
enums::CaptureMethod::Manual,
enums::CaptureMethod::SequentialAutomatic,
];
let supported_card_network = vec![
... | crates/hyperswitch_connectors/src/connectors/rapyd.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 845 | null | null | null | null | null | null | null |
// Function: comparison_array
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn comparison_array(input: &str) -> ParseResult<&str, Vec<ast::Comparison>> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 47 | comparison_array | null | null | null | null | null | null |
// Implementation: impl std::fmt::Display for for PaymentOutcome
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl std::fmt::Display for for PaymentOutcome | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | PaymentOutcome | std::fmt::Display for | 1 | 0 | null | null |
// Struct: TokenizedBankTransferValue2
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct TokenizedBankTransferValue2 | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | TokenizedBankTransferValue2 | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: retrieve_merchant_account
// File: crates/router/src/routes/admin.rs
// Module: router
pub fn retrieve_merchant_account(
state: web::Data<AppState>,
req: HttpRequest,
mid: web::Path<common_utils::id_type::MerchantId>,
) -> HttpResponse | crates/router/src/routes/admin.rs | router | function_signature | null | null | null | 63 | retrieve_merchant_account | null | null | null | null | null | null |
// File: crates/router/src/core/authentication.rs
// Module: router
// Public functions: 3
pub(crate) mod utils;
pub mod transformers;
pub mod types;
use api_models::payments;
use common_enums::Currency;
use common_utils::errors::CustomResult;
use error_stack::ResultExt;
use masking::ExposeInterface;
use super::err... | crates/router/src/core/authentication.rs | router | full_file | null | null | null | 2,008 | null | null | null | null | null | null | null |
// Implementation: impl MandateSetup for for Plaid
// File: crates/hyperswitch_connectors/src/connectors/plaid.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl MandateSetup for for Plaid | crates/hyperswitch_connectors/src/connectors/plaid.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Plaid | MandateSetup for | 0 | 0 | null | null |
// Struct: GocardlessError
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GocardlessError | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | GocardlessError | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl PaymentsDslInput
// File: crates/router/src/core/routing.rs
// Module: router
// Methods: 1 total (1 public)
impl PaymentsDslInput | crates/router/src/core/routing.rs | router | impl_block | null | null | null | 40 | null | PaymentsDslInput | null | 1 | 1 | null | null |
// Implementation: impl api::RefundExecute for for Mpgs
// File: crates/hyperswitch_connectors/src/connectors/mpgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Mpgs | crates/hyperswitch_connectors/src/connectors/mpgs.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Mpgs | api::RefundExecute for | 0 | 0 | null | null |
// Struct: DeutschebankAccessTokenResponse
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankAccessTokenResponse | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankAccessTokenResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: CardExpirationMonth
// File: crates/cards/src/lib.rs
// Module: cards
// Implementations: 2
// Traits: Deref
pub struct CardExpirationMonth | crates/cards/src/lib.rs | cards | struct_definition | CardExpirationMonth | 2 | [
"Deref"
] | 39 | null | null | null | null | null | null | null |
// Struct: MifinityClient
// File: crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MifinityClient | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs | hyperswitch_connectors | struct_definition | MifinityClient | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: PayloadAuth
// File: crates/hyperswitch_connectors/src/connectors/payload/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayloadAuth | crates/hyperswitch_connectors/src/connectors/payload/transformers.rs | hyperswitch_connectors | struct_definition | PayloadAuth | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl State for for CardRequestValidated
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
// Methods: 0 total (0 public)
impl State for for CardRequestValidated | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | impl_block | null | null | null | 50 | null | CardRequestValidated | State for | 0 | 0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.