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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Implementation: impl UnifiedAuthenticationService for for ClickToPay
// File: crates/router/src/core/unified_authentication_service.rs
// Module: router
// Methods: 4 total (0 public)
impl UnifiedAuthenticationService for for ClickToPay | crates/router/src/core/unified_authentication_service.rs | router | impl_block | null | null | null | 50 | null | ClickToPay | UnifiedAuthenticationService for | 4 | 0 | null | null |
// Function: signal_handler
// File: crates/common_utils/src/signals.rs
// Module: common_utils
pub fn signal_handler(_sig: DummySignal, _sender: mpsc::Sender<() | crates/common_utils/src/signals.rs | common_utils | function_signature | null | null | null | 42 | signal_handler | null | null | null | null | null | null |
// Function: payments_get_intent
// File: crates/openapi/src/routes/payments.rs
// Module: openapi
pub fn payments_get_intent() | crates/openapi/src/routes/payments.rs | openapi | function_signature | null | null | null | 31 | payments_get_intent | null | null | null | null | null | null |
// Function: store_key
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
pub fn store_key(payment_method_id: &id_type::GlobalPaymentMethodId) -> Self | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 49 | store_key | null | null | null | null | null | null |
// File: crates/euclid/src/dssa/analyzer.rs
// Module: euclid
// Public functions: 3
//! Static Analysis for the Euclid Rule DSL
//!
//! Exposes certain functions that can be used to perform static analysis over programs
//! in the Euclid Rule DSL. These include standard control flow analyses like testing
//! conflict... | crates/euclid/src/dssa/analyzer.rs | euclid | full_file | null | null | null | 3,270 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/mollie.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/mollie.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Struct: AciRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AciRefundRequest | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | AciRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payment_methods/validator.rs
// Module: router
// Public functions: 2
use api_models::{admin, payment_methods::PaymentMethodCollectLinkRequest};
use common_utils::link_utils;
use diesel_models::generic_link::PaymentMethodCollectLinkData;
use error_stack::ResultExt;
use masking::Secret;
... | crates/router/src/core/payment_methods/validator.rs | router | full_file | null | null | null | 1,152 | null | null | null | null | null | null | null |
// Struct: GetGlobalSearchRequest
// File: crates/api_models/src/analytics/search.rs
// Module: api_models
// Implementations: 0
pub struct GetGlobalSearchRequest | crates/api_models/src/analytics/search.rs | api_models | struct_definition | GetGlobalSearchRequest | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: ZslRouterData
// File: crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ZslRouterData<T> | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs | hyperswitch_connectors | struct_definition | ZslRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: SepaAndBacsBillingDetails
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SepaAndBacsBillingDetails | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | SepaAndBacsBillingDetails | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: TrustpayRouterData
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpayRouterData<T> | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | TrustpayRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl PaymentTokenData
// File: crates/router/src/types/storage/payment_method.rs
// Module: router
// Methods: 6 total (6 public)
impl PaymentTokenData | crates/router/src/types/storage/payment_method.rs | router | impl_block | null | null | null | 39 | null | PaymentTokenData | null | 6 | 6 | null | null |
// Function: payouts_list
// File: crates/router/src/routes/payouts.rs
// Module: router
pub fn payouts_list(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Query<payout_types::PayoutListConstraints>,
) -> HttpResponse | crates/router/src/routes/payouts.rs | router | function_signature | null | null | null | 61 | payouts_list | null | null | null | null | null | null |
// Implementation: impl StoredCredentialMode
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl StoredCredentialMode | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 52 | null | StoredCredentialMode | null | 1 | 1 | null | null |
// Implementation: impl HubspotProxyConfig
// File: crates/external_services/src/crm.rs
// Module: external_services
// Methods: 1 total (0 public)
impl HubspotProxyConfig | crates/external_services/src/crm.rs | external_services | impl_block | null | null | null | 42 | null | HubspotProxyConfig | null | 1 | 0 | null | null |
// Implementation: impl AlwaysEnableOvercaptureBool
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Methods: 1 total (1 public)
impl AlwaysEnableOvercaptureBool | crates/common_types/src/primitive_wrappers.rs | common_types | impl_block | null | null | null | 45 | null | AlwaysEnableOvercaptureBool | null | 1 | 1 | null | null |
// Implementation: impl MerchantAccountUpdateInternal
// File: crates/diesel_models/src/merchant_account.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl MerchantAccountUpdateInternal | crates/diesel_models/src/merchant_account.rs | diesel_models | impl_block | null | null | null | 43 | null | MerchantAccountUpdateInternal | null | 1 | 1 | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
pub fn new(three_d_s_info: RedsysThreeDsInfo) -> Self | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 50 | new | null | null | null | null | null | null |
// Implementation: impl api::PayoutCreate for for Adyen
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutCreate for for Adyen | crates/hyperswitch_connectors/src/connectors/adyen.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Adyen | api::PayoutCreate for | 0 | 0 | null | null |
// Trait: GsmValidation
// File: crates/router/src/core/payouts/retry.rs
// Module: router
pub trait GsmValidation | crates/router/src/core/payouts/retry.rs | router | trait_definition | null | null | null | 31 | null | null | GsmValidation | null | null | null | null |
// Struct: DynamicData
// File: crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct DynamicData | crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs | hyperswitch_domain_models | struct_definition | DynamicData | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/hyperswitch_vault/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 7
use common_utils::pii::Email;
use hyperswitch_domain_models::{
router_data::{ConnectorAuthType, RouterData},
router_flow_types::vault::ExternalVaultCreateFlow,
rout... | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 955 | null | null | null | null | null | null | null |
// Struct: IatapayPaymentWebhookBody
// File: crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IatapayPaymentWebhookBody | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs | hyperswitch_connectors | struct_definition | IatapayPaymentWebhookBody | 0 | [] | 59 | null | null | null | null | null | null | null |
// Implementation: impl RoleName
// File: crates/router/src/types/domain/user.rs
// Module: router
// Methods: 2 total (2 public)
impl RoleName | crates/router/src/types/domain/user.rs | router | impl_block | null | null | null | 36 | null | RoleName | null | 2 | 2 | null | null |
// Struct: PaysafeMeta
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeMeta | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeMeta | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: DlocalRefundsSyncRequest
// File: crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DlocalRefundsSyncRequest | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs | hyperswitch_connectors | struct_definition | DlocalRefundsSyncRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl ChargebeeInvoiceBody
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl ChargebeeInvoiceBody | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | ChargebeeInvoiceBody | null | 1 | 1 | null | null |
// Function: routing_update_default_config_for_profile
// File: crates/openapi/src/routes/routing.rs
// Module: openapi
pub fn routing_update_default_config_for_profile() | crates/openapi/src/routes/routing.rs | openapi | function_signature | null | null | null | 37 | routing_update_default_config_for_profile | null | null | null | null | null | null |
// Function: generate_profile_authentication_report
// File: crates/router/src/analytics.rs
// Module: router
pub fn generate_profile_authentication_report(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<ReportRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 65 | generate_profile_authentication_report | null | null | null | null | null | null |
// Function: get_merchant_details_as_secret
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_merchant_details_as_secret(
&self,
) -> CustomResult<Option<pii::SecretSerdeValue>, errors::ParsingError> | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 58 | get_merchant_details_as_secret | null | null | null | null | null | null |
// Function: get_refund_id_as_string
// File: crates/api_models/src/refunds.rs
// Module: api_models
pub fn get_refund_id_as_string(&self) -> String | crates/api_models/src/refunds.rs | api_models | function_signature | null | null | null | 40 | get_refund_id_as_string | null | null | null | null | null | null |
headers
.get(&key)
.map(|source_str| {
source_str
.to_str()
.change_context(errors::ApiErrorResponse::InternalServerError)
.attach_printable(format!(
"Failed to convert header value to string for header key: {key}",
... | crates/router/src/services/authentication.rs#chunk4 | router | chunk | null | null | null | 2,639 | null | null | null | null | null | null | null |
// Struct: Card
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Card | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | Card | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: get_role_name
// File: crates/router/src/services/authorization/roles.rs
// Module: router
pub fn get_role_name(&self) -> &str | crates/router/src/services/authorization/roles.rs | router | function_signature | null | null | null | 36 | get_role_name | null | null | null | null | null | null |
// Struct: PaymentService
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentService | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs | hyperswitch_connectors | struct_definition | PaymentService | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: get_disputes_filters_profile
// File: crates/router/src/routes/disputes.rs
// Module: router
pub fn get_disputes_filters_profile(
state: web::Data<AppState>,
req: HttpRequest,
) -> HttpResponse | crates/router/src/routes/disputes.rs | router | function_signature | null | null | null | 53 | get_disputes_filters_profile | null | null | null | null | null | null |
// Function: make_dsl_input_for_payouts
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn make_dsl_input_for_payouts(
payout_data: &payouts::PayoutData,
) -> RoutingResult<dsl_inputs::BackendInput> | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 65 | make_dsl_input_for_payouts | null | null | null | null | null | null |
// Function: update_payout_link
// File: crates/diesel_models/src/query/generic_link.rs
// Module: diesel_models
pub fn update_payout_link(
self,
conn: &PgPooledConn,
payout_link_update: PayoutLinkUpdate,
) -> StorageResult<Self> | crates/diesel_models/src/query/generic_link.rs | diesel_models | function_signature | null | null | null | 64 | update_payout_link | null | null | null | null | null | null |
// Function: add_certificate
// File: crates/common_utils/src/request.rs
// Module: common_utils
pub fn add_certificate(&mut self, certificate: Option<Secret<String>>) | crates/common_utils/src/request.rs | common_utils | function_signature | null | null | null | 37 | add_certificate | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for ApplicationResponse
// File: crates/hyperswitch_domain_models/src/api.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl ApiEventMetric for for ApplicationResponse | crates/hyperswitch_domain_models/src/api.rs | hyperswitch_domain_models | impl_block | null | null | null | 52 | null | ApplicationResponse | ApiEventMetric for | 1 | 0 | null | null |
// Struct: ConnectorPostAuthenticationRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ConnectorPostAuthenticationRequestData | crates/hyperswitch_domain_models/src/router_request_types/authentication.rs | hyperswitch_domain_models | struct_definition | ConnectorPostAuthenticationRequestData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: NoonApplePaymentData
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonApplePaymentData | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonApplePaymentData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Nordea
// File: crates/hyperswitch_connectors/src/connectors/nordea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Nordea | crates/hyperswitch_connectors/src/connectors/nordea.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Nordea | api::MandateSetup for | 0 | 0 | null | null |
connectors::Deutschebank,
connectors::Digitalvirgo,
connectors::Dlocal,
connectors::Dwolla,
connectors::Ebanx,
connectors::Elavon,
connectors::Facilitapay,
connectors::Finix,
connectors::Fiserv,
connectors::Fiservemea,
connectors::Fiuu,
connectors::Flexiti,
connectors... | crates/hyperswitch_connectors/src/default_implementations.rs#chunk7 | hyperswitch_connectors | chunk | null | null | null | 7,394 | null | null | null | null | null | null | null |
// Implementation: impl PartialEq for for PaymentIntentMetricsBucketIdentifier
// File: crates/api_models/src/analytics/payment_intents.rs
// Module: api_models
// Methods: 1 total (0 public)
impl PartialEq for for PaymentIntentMetricsBucketIdentifier | crates/api_models/src/analytics/payment_intents.rs | api_models | impl_block | null | null | null | 52 | null | PaymentIntentMetricsBucketIdentifier | PartialEq for | 1 | 0 | null | null |
// Struct: DieselArray
// File: crates/diesel_models/src/lib.rs
// Module: diesel_models
// Implementations: 0
pub struct DieselArray<T> | crates/diesel_models/src/lib.rs | diesel_models | struct_definition | DieselArray | 0 | [] | 36 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/nordea/responses.rs
// Module: hyperswitch_connectors
// Public structs: 16
use common_enums::CountryAlpha2;
use common_utils::types::StringMajorUnit;
use masking::Secret;
use serde::{Deserialize, Serialize};
use super::requests::{
CreditorAccount, DebitorAcco... | crates/hyperswitch_connectors/src/connectors/nordea/responses.rs | hyperswitch_connectors | full_file | null | null | null | 2,341 | null | null | null | null | null | null | null |
// Function: generate_default_totp
// File: crates/router/src/utils/user/two_factor_auth.rs
// Module: router
pub fn generate_default_totp(
email: pii::Email,
secret: Option<masking::Secret<String>>,
issuer: String,
) -> UserResult<TOTP> | crates/router/src/utils/user/two_factor_auth.rs | router | function_signature | null | null | null | 64 | generate_default_totp | null | null | null | null | null | null |
// Function: get_connector_name
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_connector_name(&self) -> String | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 33 | get_connector_name | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 8
use common_enums::enums;
use common_utils::types::FloatMajorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, Router... | crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 1,667 | null | null | null | null | null | null | null |
// Struct: Instruction
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Instruction | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | struct_definition | Instruction | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: ErrorDistributionAccumulator
// File: crates/analytics/src/payments/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: PaymentDistributionAccumulator
pub struct ErrorDistributionAccumulator | crates/analytics/src/payments/accumulator.rs | analytics | struct_definition | ErrorDistributionAccumulator | 1 | [
"PaymentDistributionAccumulator"
] | 50 | null | null | null | null | null | null | null |
// Struct: PaymentResponse
// File: crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentResponse | crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs | hyperswitch_connectors | struct_definition | PaymentResponse | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/routing.rs
// Module: router
// Public functions: 27
// Public structs: 4
mod transformers;
pub mod utils;
#[cfg(all(feature = "v1", feature = "dynamic_routing"))]
use std::collections::hash_map;
#[cfg(all(feature = "v1", feature = "dynamic_routing"))]
use std::hash::{Hash, Has... | crates/router/src/core/payments/routing.rs#chunk0 | router | chunk | null | null | null | 8,181 | null | null | null | null | null | null | null |
// Struct: AuthenticationDetails
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct AuthenticationDetails | crates/router/src/types/payment_methods.rs | router | struct_definition | AuthenticationDetails | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: TesouroPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TesouroPaymentsRequest | crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs | hyperswitch_connectors | struct_definition | TesouroPaymentsRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Payme
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Payme | crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Payme | ConnectorCommon for | 5 | 0 | null | null |
// Function: get_specific_file_key
// File: crates/router/src/utils/user/theme.rs
// Module: router
pub fn get_specific_file_key(theme_id: &str, file_name: &str) -> PathBuf | crates/router/src/utils/user/theme.rs | router | function_signature | null | null | null | 45 | get_specific_file_key | null | null | null | null | null | null |
// Struct: Merchant
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Merchant | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | Merchant | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Amazonpay
// File: crates/hyperswitch_connectors/src/connectors/amazonpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Amazonpay | crates/hyperswitch_connectors/src/connectors/amazonpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Amazonpay | api::PaymentSession for | 0 | 0 | null | null |
// Function: frm_fulfillment_core
// File: crates/router/src/core/fraud_check.rs
// Module: router
pub fn frm_fulfillment_core(
state: SessionState,
merchant_context: domain::MerchantContext,
req: frm_core_types::FrmFulfillmentRequest,
) -> RouterResponse<frm_types::FraudCheckResponseData> | crates/router/src/core/fraud_check.rs | router | function_signature | null | null | null | 77 | frm_fulfillment_core | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Mifinity
// File: crates/hyperswitch_connectors/src/connectors/mifinity.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Mifinity | crates/hyperswitch_connectors/src/connectors/mifinity.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Mifinity | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl SerializableSecret for for i8
// File: crates/masking/src/serde.rs
// Module: masking
// Methods: 0 total (0 public)
impl SerializableSecret for for i8 | crates/masking/src/serde.rs | masking | impl_block | null | null | null | 44 | null | i8 | SerializableSecret for | 0 | 0 | null | null |
// Implementation: impl UcsReferenceId
// File: crates/common_utils/src/ucs_types.rs
// Module: common_utils
// Methods: 1 total (1 public)
impl UcsReferenceId | crates/common_utils/src/ucs_types.rs | common_utils | impl_block | null | null | null | 42 | null | UcsReferenceId | null | 1 | 1 | null | null |
// Function: invalidate
// File: crates/router/src/routes/cache.rs
// Module: router
pub fn invalidate(
state: web::Data<AppState>,
req: HttpRequest,
key: web::Path<String>,
) -> impl Responder | crates/router/src/routes/cache.rs | router | function_signature | null | null | null | 51 | invalidate | null | null | null | null | null | null |
// Struct: ApiRequest
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApiRequest | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | ApiRequest | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for UnifiedAuthenticationService
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for UnifiedAuthenticationService | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | UnifiedAuthenticationService | api::PaymentSync for | 0 | 0 | null | null |
// Struct: PaysafeProfile
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeProfile | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeProfile | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl ToTokens for for OperationsEnumMeta
// File: crates/router_derive/src/macros/operation.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl ToTokens for for OperationsEnumMeta | crates/router_derive/src/macros/operation.rs | router_derive | impl_block | null | null | null | 51 | null | OperationsEnumMeta | ToTokens for | 1 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Katapult
// File: crates/hyperswitch_connectors/src/connectors/katapult.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Katapult | crates/hyperswitch_connectors/src/connectors/katapult.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Katapult | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: PaymentIntent
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 2
pub struct PaymentIntent | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | struct_definition | PaymentIntent | 2 | [] | 40 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | module_structure | null | null | null | 41 | null | null | null | null | null | 1 | 0 |
// Struct: RefundReasonAccumulator
// File: crates/analytics/src/refunds/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: RefundMetricAccumulator
pub struct RefundReasonAccumulator | crates/analytics/src/refunds/accumulator.rs | analytics | struct_definition | RefundReasonAccumulator | 1 | [
"RefundMetricAccumulator"
] | 53 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Fiservemea
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Fiservemea | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Fiservemea | api::Payment for | 0 | 0 | null | null |
// Implementation: impl ToArchipelBillingAddress for for AddressDetails
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ToArchipelBillingAddress for for AddressDetails | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | AddressDetails | ToArchipelBillingAddress for | 1 | 0 | null | null |
// Struct: GooglePayAllowedPaymentMethods
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GooglePayAllowedPaymentMethods | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | GooglePayAllowedPaymentMethods | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/bitpay.rs
// Module: router
use hyperswitch_domain_models::address::{Address, AddressDetails, PhoneDetails};
use masking::Secret;
use router::types::{self, api, domain, storage::enums, PaymentAddress};
use crate::{
connector_auth,
utils::{self, ConnectorActions},
};
#[... | crates/router/tests/connectors/bitpay.rs | router | full_file | null | null | null | 1,166 | null | null | null | null | null | null | null |
// Struct: CaptureOptions
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CaptureOptions | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | CaptureOptions | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/analytics/src/search.rs
// Module: analytics
// Public functions: 3
use api_models::analytics::search::{
GetGlobalSearchRequest, GetSearchRequestWithIndex, GetSearchResponse, OpenMsearchOutput,
OpensearchOutput, SearchIndex, SearchStatus,
};
use common_utils::errors::{CustomResult, ReportSwitch... | crates/analytics/src/search.rs | analytics | full_file | null | null | null | 2,737 | null | null | null | null | null | null | null |
// Function: polymorphic_schema
// File: crates/router_derive/src/lib.rs
// Module: router_derive
pub fn polymorphic_schema(input: proc_macro::TokenStream) -> proc_macro::TokenStream | crates/router_derive/src/lib.rs | router_derive | function_signature | null | null | null | 44 | polymorphic_schema | null | null | null | null | null | null |
// File: crates/common_utils/src/new_type.rs
// Module: common_utils
// Public structs: 9
//! Contains new types with restrictions
use masking::{ExposeInterface, PeekInterface, Secret};
use crate::{
consts::MAX_ALLOWED_MERCHANT_NAME_LENGTH,
pii::{Email, UpiVpaMaskingStrategy},
transformers::ForeignFrom,
}... | crates/common_utils/src/new_type.rs | common_utils | full_file | null | null | null | 2,822 | null | null | null | null | null | null | null |
// Function: apply
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
pub fn apply(&self, card_data_from_locker: Card) -> CardDetail | crates/api_models/src/payment_methods.rs | api_models | function_signature | null | null | null | 39 | apply | null | null | null | null | null | null |
// Struct: EventBuilder
// File: crates/events/src/lib.rs
// Module: events
// Implementations: 1
pub struct EventBuilder<T, A, E, D> | crates/events/src/lib.rs | events | struct_definition | EventBuilder | 1 | [] | 39 | null | null | null | null | null | null | null |
// File: crates/router/src/core/connector_validation.rs
// Module: router
// Public functions: 1
// Public structs: 1
use api_models::enums as api_enums;
use common_utils::pii;
use error_stack::ResultExt;
use external_services::http_client::client;
use masking::PeekInterface;
use pm_auth::connector::plaid::transformer... | crates/router/src/core/connector_validation.rs | router | full_file | null | null | null | 6,016 | null | null | null | null | null | null | null |
// Implementation: impl PaymentMethodsEnabled
// File: crates/common_types/src/payment_methods.rs
// Module: common_types
// Methods: 2 total (2 public)
impl PaymentMethodsEnabled | crates/common_types/src/payment_methods.rs | common_types | impl_block | null | null | null | 39 | null | PaymentMethodsEnabled | null | 2 | 2 | null | null |
// Implementation: impl RefundSync for for Wellsfargo
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RefundSync for for Wellsfargo | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Wellsfargo | RefundSync for | 0 | 0 | null | null |
// Struct: Restriction
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Restriction | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | Restriction | 0 | [] | 46 | null | null | null | null | null | null | null |
// File: crates/router_env/src/logger/types.rs
// Module: router_env
//! Types.
use serde::Deserialize;
use strum::{Display, EnumString};
pub use tracing::{
field::{Field, Visit},
Level, Value,
};
/// Category and tag of log event.
///
/// Don't hesitate to add your variant if it is missing here.
#[derive(De... | crates/router_env/src/logger/types.rs | router_env | full_file | null | null | null | 4,347 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Peachpayments
// File: crates/hyperswitch_connectors/src/connectors/peachpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Peachpayments | crates/hyperswitch_connectors/src/connectors/peachpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Peachpayments | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: is_payout_terminal_state
// File: crates/router/src/core/payouts/helpers.rs
// Module: router
pub fn is_payout_terminal_state(status: api_enums::PayoutStatus) -> bool | crates/router/src/core/payouts/helpers.rs | router | function_signature | null | null | null | 46 | is_payout_terminal_state | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/bambora.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/bambora.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Struct: PlaidErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlaidErrorResponse | crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs | hyperswitch_connectors | struct_definition | PlaidErrorResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl HealthCheckInterface for for Store
// File: crates/drainer/src/health_check.rs
// Module: drainer
// Methods: 2 total (0 public)
impl HealthCheckInterface for for Store | crates/drainer/src/health_check.rs | drainer | impl_block | null | null | null | 46 | null | Store | HealthCheckInterface for | 2 | 0 | null | null |
// Struct: FiuuErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiuuErrorResponse | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | FiuuErrorResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: PayloadErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/payload/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayloadErrorResponse | crates/hyperswitch_connectors/src/connectors/payload/responses.rs | hyperswitch_connectors | struct_definition | PayloadErrorResponse | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: GigadatTransactionStatusResponse
// File: crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GigadatTransactionStatusResponse | crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs | hyperswitch_connectors | struct_definition | GigadatTransactionStatusResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
// Public functions: 2
// Public structs: 1
pub mod transformers;
use std::{collections::HashMap, str, sync::LazyLock};
use common_enums::{enums, CaptureMethod, PaymentMethod, PaymentMethodType};
use common_utils::{
... | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | full_file | null | null | null | 5,258 | null | null | null | null | null | null | null |
// Function: find_by_merchant_id
// File: crates/diesel_models/src/query/api_keys.rs
// Module: diesel_models
pub fn find_by_merchant_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
limit: Option<i64>,
offset: Option<i64>,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/api_keys.rs | diesel_models | function_signature | null | null | null | 83 | find_by_merchant_id | null | null | null | null | null | null |
// Function: get_destination_url
// File: crates/router/src/core/proxy/utils.rs
// Module: router
pub fn get_destination_url(&self) -> &str | crates/router/src/core/proxy/utils.rs | router | function_signature | null | null | null | 35 | get_destination_url | 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.