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: CustomerBankAccountResponse
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustomerBankAccountResponse | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | CustomerBankAccountResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/custombilling.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Request, RequestBuilder, RequestContent},
types::... | crates/hyperswitch_connectors/src/connectors/custombilling.rs | hyperswitch_connectors | full_file | null | null | null | 4,258 | null | null | null | null | null | null | null |
// Struct: AffirmCancelRequest
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AffirmCancelRequest | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | struct_definition | AffirmCancelRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: payment_methods_session_delete_payment_method
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn payment_methods_session_delete_payment_method(
state: SessionState,
merchant_context: domain::MerchantContext,
profile: domain::Profile,
pm_id: id_type::GlobalPaymentMe... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 96 | payment_methods_session_delete_payment_method | null | null | null | null | null | null |
// File: crates/router/src/core/payments/operations/payment_reject.rs
// Module: router
// Public structs: 1
use std::marker::PhantomData;
use api_models::{enums::FrmSuggestion, payments::PaymentsCancelRequest};
use async_trait::async_trait;
use error_stack::ResultExt;
use router_derive;
use router_env::{instrument, ... | crates/router/src/core/payments/operations/payment_reject.rs | router | full_file | null | null | null | 2,250 | null | null | null | null | null | null | null |
// Struct: BitpayPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BitpayPaymentsRequest | crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs | hyperswitch_connectors | struct_definition | BitpayPaymentsRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/paystack.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use common_enums::enums;
use common_utils::{
crypto,
errors::CustomResult,
ext_traits::{ByteSliceExt, BytesExt},
... | crates/hyperswitch_connectors/src/connectors/paystack.rs | hyperswitch_connectors | full_file | null | null | null | 5,343 | null | null | null | null | null | null | null |
// File: crates/external_services/src/managers/secrets_management.rs
// Module: external_services
// Public functions: 2
//! Secrets management util module
use common_utils::errors::CustomResult;
#[cfg(feature = "hashicorp-vault")]
use error_stack::ResultExt;
use hyperswitch_interfaces::secrets_interface::{
Secre... | crates/external_services/src/managers/secrets_management.rs | external_services | full_file | null | null | null | 593 | null | null | null | null | null | null | null |
// Struct: RefundBodyResponse
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundBodyResponse | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | RefundBodyResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: KafkaFraudCheckEvent
// File: crates/router/src/services/kafka/fraud_check_event.rs
// Module: router
// Implementations: 2
// Traits: super::KafkaMessage
pub struct KafkaFraudCheckEvent<'a> | crates/router/src/services/kafka/fraud_check_event.rs | router | struct_definition | KafkaFraudCheckEvent | 2 | [
"super::KafkaMessage"
] | 55 | null | null | null | null | null | null | null |
// File: crates/router/src/types/api/mandates.rs
// Module: router
use ::payment_methods::controller::PaymentMethodsController;
use api_models::mandates;
pub use api_models::mandates::{MandateId, MandateResponse, MandateRevokedResponse};
use common_utils::ext_traits::OptionExt;
use error_stack::ResultExt;
use serde::{... | crates/router/src/types/api/mandates.rs | router | full_file | null | null | null | 1,451 | null | null | null | null | null | null | null |
// Struct: ApplicationInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplicationInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | ApplicationInformation | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: new_list
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
pub fn new_list(value: Vec<T>) -> Self | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | function_signature | null | null | null | 49 | new_list | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 26
use common_enums::{enums, CountryAlpha2, Currency};
use common_utils::{pii, request::Method, types::MinorUnit};
use error_stack::{report, ResultExt};
use hyperswitch_domain_models::{
... | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 6,110 | null | null | null | null | null | null | null |
// Struct: ClientAuthCheckInfoResponse
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ClientAuthCheckInfoResponse | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | ClientAuthCheckInfoResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: RoutingDictionaryRecord
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct RoutingDictionaryRecord | crates/api_models/src/routing.rs | api_models | struct_definition | RoutingDictionaryRecord | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: HipayMaintenanceRequest
// File: crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HipayMaintenanceRequest | crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs | hyperswitch_connectors | struct_definition | HipayMaintenanceRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: GlobalpayCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobalpayCaptureRequest | crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs | hyperswitch_connectors | struct_definition | GlobalpayCaptureRequest | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl MandateSetup for for Threedsecureio
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl MandateSetup for for Threedsecureio | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Threedsecureio | MandateSetup for | 0 | 0 | null | null |
// Function: get_card_details_from_locker
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn get_card_details_from_locker(
state: &routes::SessionState,
pm: &domain::PaymentMethod,
) -> errors::RouterResult<api::CardDetailFromLocker> | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 68 | get_card_details_from_locker | null | null | null | null | null | null |
// Function: retrieve_file_and_provider_file_id_from_file_id
// File: crates/router/src/core/files/helpers.rs
// Module: router
pub fn retrieve_file_and_provider_file_id_from_file_id(
state: &SessionState,
file_id: Option<String>,
dispute_id: Option<String>,
merchant_context: &domain::MerchantContext,
... | crates/router/src/core/files/helpers.rs | router | function_signature | null | null | null | 97 | retrieve_file_and_provider_file_id_from_file_id | null | null | null | null | null | null |
// Function: set_debit_routing_savings
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn set_debit_routing_savings(&mut self, debit_routing_savings: Option<&MinorUnit>) | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 57 | set_debit_routing_savings | null | null | null | null | null | null |
// Struct: NmiValidateRequest
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NmiValidateRequest | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | NmiValidateRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: SignedKey
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SignedKey | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | SignedKey | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: ResponseIndicators
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ResponseIndicators | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | ResponseIndicators | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Paypal | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Function: get_default_global_tenant_id
// File: crates/common_utils/src/id_type/tenant.rs
// Module: common_utils
// Documentation: Get the default global tenant ID
pub fn get_default_global_tenant_id() -> Self | crates/common_utils/src/id_type/tenant.rs | common_utils | function_signature | null | null | null | 50 | get_default_global_tenant_id | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 33
use std::str::FromStr;
use common_enums::enums;
use common_utils::{id_type, pii::Email, request::Method, types::StringMajorUnit};
use error_stack::report;
use hyperswitch_domain_models::{
... | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Struct: QrCodeData
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct QrCodeData | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | QrCodeData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: SdkEventsRequest
// File: crates/api_models/src/analytics/sdk_events.rs
// Module: api_models
// Implementations: 0
pub struct SdkEventsRequest | crates/api_models/src/analytics/sdk_events.rs | api_models | struct_definition | SdkEventsRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl Memoization
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (1 public)
impl Memoization | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 42 | null | Memoization | null | 1 | 1 | null | null |
// Struct: InjectorResponse
// File: crates/injector/src/types.rs
// Module: injector
// Implementations: 0
pub struct InjectorResponse | crates/injector/src/types.rs | injector | struct_definition | InjectorResponse | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: Fiservemea
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, a... | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | struct_definition | Fiservemea | 17 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"ConnectorCommon",
"ConnectorValidat... | 134 | null | null | null | null | null | null | null |
// Implementation: impl WiseHttpStatus
// File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl WiseHttpStatus | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 48 | null | WiseHttpStatus | null | 1 | 1 | null | null |
// Struct: PaymentLinkStatusData
// File: crates/hyperswitch_domain_models/src/api.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentLinkStatusData | crates/hyperswitch_domain_models/src/api.rs | hyperswitch_domain_models | struct_definition | PaymentLinkStatusData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl DrainerSettings
// File: crates/scheduler/src/settings.rs
// Module: scheduler
// Methods: 1 total (1 public)
impl DrainerSettings | crates/scheduler/src/settings.rs | scheduler | impl_block | null | null | null | 37 | null | DrainerSettings | null | 1 | 1 | null | null |
// Struct: PowertranzAuthType
// File: crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PowertranzAuthType | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs | hyperswitch_connectors | struct_definition | PowertranzAuthType | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Tokenio
// File: crates/hyperswitch_connectors/src/connectors/tokenio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Tokenio | crates/hyperswitch_connectors/src/connectors/tokenio.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tokenio | api::PaymentCapture for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/stax/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 17
use common_enums::enums;
use common_utils::pii::Email;
use error_stack::ResultExt;
use hyperswitch_domain_models::{
payment_method_data::{BankDebitData, PaymentMethodData},
router_... | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 3,976 | null | null | null | null | null | null | null |
// Implementation: impl IntermediateString
// File: crates/external_services/src/email.rs
// Module: external_services
// Methods: 2 total (2 public)
impl IntermediateString | crates/external_services/src/email.rs | external_services | impl_block | null | null | null | 37 | null | IntermediateString | null | 2 | 2 | null | null |
// Struct: BankOfAmericaRsyncResponse
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankOfAmericaRsyncResponse | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | BankOfAmericaRsyncResponse | 0 | [] | 56 | null | null | null | null | null | null | null |
// Function: new
// File: crates/diesel_models/src/subscription.rs
// Module: diesel_models
pub fn new(
id: common_utils::id_type::SubscriptionId,
status: String,
billing_processor: Option<String>,
payment_method_id: Option<String>,
merchant_connector_id: Option<common_utils::id... | crates/diesel_models/src/subscription.rs | diesel_models | function_signature | null | null | null | 151 | new | null | null | null | null | null | null |
// Struct: TokenizedCard
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TokenizedCard | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | TokenizedCard | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: to_field_value_pairs
// File: crates/diesel_models/src/kv.rs
// Module: diesel_models
pub fn to_field_value_pairs(
&self,
request_id: String,
global_id: String,
) -> crate::StorageResult<Vec<(&str, String)>> | crates/diesel_models/src/kv.rs | diesel_models | function_signature | null | null | null | 63 | to_field_value_pairs | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Tesouro
// File: crates/hyperswitch_connectors/src/connectors/tesouro.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Tesouro | crates/hyperswitch_connectors/src/connectors/tesouro.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Tesouro | api::MandateSetup for | 0 | 0 | null | null |
// Struct: Routing
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Routing | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | struct_definition | Routing | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: PaymentAccountCardInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentAccountCardInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | PaymentAccountCardInformation | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: ExternalVaultTokenData
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct ExternalVaultTokenData | crates/api_models/src/payment_methods.rs | api_models | struct_definition | ExternalVaultTokenData | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Paybox
// File: crates/hyperswitch_connectors/src/connectors/paybox.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Paybox | crates/hyperswitch_connectors/src/connectors/paybox.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paybox | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: create_address
// File: crates/diesel_models/src/address.rs
// Module: diesel_models
pub fn create_address(self, source: Address) -> Address | crates/diesel_models/src/address.rs | diesel_models | function_signature | null | null | null | 35 | create_address | null | null | null | null | null | null |
// Implementation: impl GlobalCustomerId
// File: crates/common_utils/src/id_type/global_id/customer.rs
// Module: common_utils
// Methods: 2 total (2 public)
impl GlobalCustomerId | crates/common_utils/src/id_type/global_id/customer.rs | common_utils | impl_block | null | null | null | 40 | null | GlobalCustomerId | null | 2 | 2 | null | null |
// Function: new_password_without_validation
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn new_password_without_validation(password: Secret<String>) -> UserResult<Self> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 40 | new_password_without_validation | null | null | null | null | null | null |
// Struct: AcceptDisputeRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AcceptDisputeRequestData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | AcceptDisputeRequestData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: TokenioAuthType
// File: crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TokenioAuthType | crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs | hyperswitch_connectors | struct_definition | TokenioAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl BlackList for for AuthToken
// File: crates/router/src/services/authentication/blacklist.rs
// Module: router
// Methods: 1 total (0 public)
impl BlackList for for AuthToken | crates/router/src/services/authentication/blacklist.rs | router | impl_block | null | null | null | 45 | null | AuthToken | BlackList for | 1 | 0 | null | null |
// Struct: ApiErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApiErrorResponse | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | ApiErrorResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: BlikBankRedirectAdditionalData
// File: crates/api_models/src/payments/additional_info.rs
// Module: api_models
// Implementations: 0
pub struct BlikBankRedirectAdditionalData | crates/api_models/src/payments/additional_info.rs | api_models | struct_definition | BlikBankRedirectAdditionalData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl super::payments::metrics::PaymentMetricAnalytics for for SqlxClient
// File: crates/analytics/src/sqlx.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::payments::metrics::PaymentMetricAnalytics for for SqlxClient | crates/analytics/src/sqlx.rs | analytics | impl_block | null | null | null | 60 | null | SqlxClient | super::payments::metrics::PaymentMetricAnalytics for | 0 | 0 | null | null |
// Struct: GetParentGroupsInfoQueryParams
// File: crates/api_models/src/user_role/role.rs
// Module: api_models
// Implementations: 0
pub struct GetParentGroupsInfoQueryParams | crates/api_models/src/user_role/role.rs | api_models | struct_definition | GetParentGroupsInfoQueryParams | 0 | [] | 44 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 12
use common_enums::enums::{self, AuthenticationType};
use common_utils::pii::IpAddress;
use hyperswitch_domain_models::{
payment_method_data::{Card, PaymentMethodData},
router... | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 3,886 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Tokenio
// File: crates/hyperswitch_connectors/src/connectors/tokenio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Tokenio | crates/hyperswitch_connectors/src/connectors/tokenio.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tokenio | api::PaymentToken for | 0 | 0 | null | null |
// Implementation: impl Capturable for for PaymentsCancelData
// File: crates/router/src/types.rs
// Module: router
// Methods: 2 total (0 public)
impl Capturable for for PaymentsCancelData | crates/router/src/types.rs | router | impl_block | null | null | null | 44 | null | PaymentsCancelData | Capturable for | 2 | 0 | null | null |
// Function: construct_router_data_to_update_calculated_tax
// File: crates/router/src/core/payments/transformers.rs
// Module: router
pub fn construct_router_data_to_update_calculated_tax<'a, F, T>(
state: &'a SessionState,
payment_data: PaymentData<F>,
connector_id: &str,
merchant_context: &domain::M... | crates/router/src/core/payments/transformers.rs | router | function_signature | null | null | null | 196 | construct_router_data_to_update_calculated_tax | null | null | null | null | null | null |
// Function: convert_forex
// File: crates/router/src/core/currency.rs
// Module: router
pub fn convert_forex(
state: SessionState,
amount: i64,
to_currency: String,
from_currency: String,
) -> CustomResult<
ApplicationResponse<api_models::currency::CurrencyConversionResponse>,
ApiErrorResponse... | crates/router/src/core/currency.rs | router | function_signature | null | null | null | 77 | convert_forex | null | null | null | null | null | null |
// Function: get_acs_reference_number
// File: crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// Module: hyperswitch_domain_models
pub fn get_acs_reference_number(&self) -> Option<String> | crates/hyperswitch_domain_models/src/router_request_types/authentication.rs | hyperswitch_domain_models | function_signature | null | null | null | 48 | get_acs_reference_number | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs
// Module: hyperswitch_domain_models
// Public structs: 10
use api_models;
use common_enums;
use common_utils::{
events::{ApiEventMetric, ApiEventsType},
pii::Email,
};
use diesel_models::types::OrderDetailsWithAmount;
use maskin... | crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs | hyperswitch_domain_models | full_file | null | null | null | 1,389 | null | null | null | null | null | null | null |
// Implementation: impl UserInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 7 total (0 public)
impl UserInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 45 | null | KafkaStore | UserInterface for | 7 | 0 | null | null |
// Function: get_connector_transaction_id
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
pub fn get_connector_transaction_id(
&self,
) -> errors::CustomResult<String, errors::ValidationError> | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | function_signature | null | null | null | 56 | get_connector_transaction_id | null | null | null | null | null | null |
// Struct: UpdateUserRoleRequest
// File: crates/api_models/src/user_role.rs
// Module: api_models
// Implementations: 0
pub struct UpdateUserRoleRequest | crates/api_models/src/user_role.rs | api_models | struct_definition | UpdateUserRoleRequest | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: BankAccountOptionalIDs
// File: crates/pm_auth/src/types.rs
// Module: pm_auth
// Implementations: 0
pub struct BankAccountOptionalIDs | crates/pm_auth/src/types.rs | pm_auth | struct_definition | BankAccountOptionalIDs | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl MandateSetup for for Payone
// File: crates/hyperswitch_connectors/src/connectors/payone.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl MandateSetup for for Payone | crates/hyperswitch_connectors/src/connectors/payone.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Payone | MandateSetup for | 0 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/phonepe.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/phonepe.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Struct: CybersourceErrorInformationResponse
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceErrorInformationResponse | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceErrorInformationResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 49 | null | Nuvei | null | 1 | 1 | null | null |
// Struct: JpmorganPaymentMethodTypeCancelResponse
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JpmorganPaymentMethodTypeCancelResponse | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | JpmorganPaymentMethodTypeCancelResponse | 0 | [] | 58 | null | null | null | null | null | null | null |
// Struct: VaultRetrieve
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 1
// Traits: VaultingInterface
pub struct VaultRetrieve | crates/router/src/types/payment_methods.rs | router | struct_definition | VaultRetrieve | 1 | [
"VaultingInterface"
] | 40 | null | null | null | null | null | null | null |
// Struct: ReversalInformation
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ReversalInformation | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | ReversalInformation | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Custombilling
// File: crates/hyperswitch_connectors/src/connectors/custombilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Custombilling | crates/hyperswitch_connectors/src/connectors/custombilling.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Custombilling | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl PartialEq for for ActivePaymentsMetricsBucketIdentifier
// File: crates/api_models/src/analytics/active_payments.rs
// Module: api_models
// Methods: 1 total (0 public)
impl PartialEq for for ActivePaymentsMetricsBucketIdentifier | crates/api_models/src/analytics/active_payments.rs | api_models | impl_block | null | null | null | 52 | null | ActivePaymentsMetricsBucketIdentifier | PartialEq for | 1 | 0 | null | null |
// Struct: ArchipelPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ArchipelPaymentsResponse | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs | hyperswitch_connectors | struct_definition | ArchipelPaymentsResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/router_env/tests/test_module.rs
// Module: router_env
// Public functions: 2
use router_env as logger;
#[tracing::instrument(skip_all)]
pub async fn fn_with_colon(val: i32) {
let a = 13;
let b = 31;
logger::log!(
logger::Level::WARN,
?a,
?b,
tag = ?logger::... | crates/router_env/tests/test_module.rs | router_env | full_file | null | null | null | 305 | null | null | null | null | null | null | null |
// Function: get_shipping_address
// File: crates/api_models/src/authentication.rs
// Module: api_models
pub fn get_shipping_address(&self) -> Option<Address> | crates/api_models/src/authentication.rs | api_models | function_signature | null | null | null | 35 | get_shipping_address | null | null | null | null | null | null |
// File: crates/router/src/routes/verification.rs
// Module: router
// Public functions: 3
use actix_web::{web, HttpRequest, Responder};
use api_models::verifications;
use router_env::{instrument, tracing, Flow};
use super::app::AppState;
use crate::{
core::{api_locking, verification},
services::{api, authent... | crates/router/src/routes/verification.rs | router | full_file | null | null | null | 844 | null | null | null | null | null | null | null |
// Struct: ProfileAcquirer
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct ProfileAcquirer | crates/router/src/routes/app.rs | router | struct_definition | ProfileAcquirer | 1 | [] | 34 | null | null | null | null | null | null | null |
// Function: spawn
// File: crates/drainer/src/handler.rs
// Module: drainer
pub fn spawn(&self) -> errors::DrainerResult<()> | crates/drainer/src/handler.rs | drainer | function_signature | null | null | null | 35 | spawn | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for RoutingEvaluateResponse
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 0 total (0 public)
impl common_utils::events::ApiEventMetric for for RoutingEvaluateResponse | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 59 | null | RoutingEvaluateResponse | common_utils::events::ApiEventMetric for | 0 | 0 | null | null |
// Function: signout
// File: crates/router/src/routes/user.rs
// Module: router
pub fn signout(state: web::Data<AppState>, http_req: HttpRequest) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 40 | signout | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Loonio
// File: crates/hyperswitch_connectors/src/connectors/loonio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Loonio | crates/hyperswitch_connectors/src/connectors/loonio.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Loonio | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: BamboraAuthType
// File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BamboraAuthType | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs | hyperswitch_connectors | struct_definition | BamboraAuthType | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: SubscriptionUpdate
// File: crates/diesel_models/src/subscription.rs
// Module: diesel_models
// Implementations: 1
pub struct SubscriptionUpdate | crates/diesel_models/src/subscription.rs | diesel_models | struct_definition | SubscriptionUpdate | 1 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Helcim
// File: crates/hyperswitch_connectors/src/connectors/helcim.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Helcim | crates/hyperswitch_connectors/src/connectors/helcim.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Helcim | api::RefundExecute for | 0 | 0 | null | null |
.is_customer_initiated_mandate_payment()
{
item.router_data.customer_id.as_ref().and_then(|customer| {
let customer_id = customer.get_string_repr();
(customer_id.len() <= MAX_ID_LENGTH).then_some(CustomerDetails {
id: customer_id.to_str... | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 8,176 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use std::{collections::HashMap, sync::LazyLock};
use api_models::webhooks::IncomingWebhookEvent;
use common_enums::{
CallConnectorAction, CaptureMethod, PaymentAction, Paym... | crates/hyperswitch_connectors/src/connectors/stripe.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorRedirectResponse for for Breadpay
// File: crates/hyperswitch_connectors/src/connectors/breadpay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorRedirectResponse for for Breadpay | crates/hyperswitch_connectors/src/connectors/breadpay.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Breadpay | ConnectorRedirectResponse for | 1 | 0 | null | null |
// Struct: EphemeralKeyCreateRequest
// File: crates/api_models/src/ephemeral_key.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct EphemeralKeyCreateRequest | crates/api_models/src/ephemeral_key.rs | api_models | struct_definition | EphemeralKeyCreateRequest | 1 | [
"common_utils::events::ApiEventMetric"
] | 57 | null | null | null | null | null | null | null |
// File: crates/router/src/core/verify_connector.rs
// Module: router
// Public functions: 1
use api_models::{enums::Connector, verify_connector::VerifyConnectorRequest};
use error_stack::ResultExt;
use crate::{
connector,
core::errors,
services,
types::{
api::{
self,
v... | crates/router/src/core/verify_connector.rs | router | full_file | null | null | null | 430 | null | null | null | null | null | null | null |
// Struct: TrustpaymentsPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpaymentsPaymentsResponse | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | struct_definition | TrustpaymentsPaymentsResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: collect
// File: crates/analytics/src/frm/accumulator.rs
// Module: analytics
pub fn collect(self) -> FrmMetricsBucketValue | crates/analytics/src/frm/accumulator.rs | analytics | function_signature | null | null | null | 33 | collect | null | null | null | null | null | null |
// Function: payments_reject
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_reject(
state: web::Data<app::AppState>,
http_req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsRejectRequest>,
path: web::Path<common_utils::id_type::PaymentId>,
) -> ... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 86 | payments_reject | 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.