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 GlobalStorageInterface for for MockDb
// File: crates/router/src/db.rs
// Module: router
// Methods: 1 total (0 public)
impl GlobalStorageInterface for for MockDb | crates/router/src/db.rs | router | impl_block | null | null | null | 44 | null | MockDb | GlobalStorageInterface for | 1 | 0 | null | null |
// Struct: DynamicRoutingAlgorithmRef
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 2
pub struct DynamicRoutingAlgorithmRef | crates/api_models/src/routing.rs | api_models | struct_definition | DynamicRoutingAlgorithmRef | 2 | [] | 38 | null | null | null | null | null | null | null |
// Struct: PayboxErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayboxErrorResponse | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | hyperswitch_connectors | struct_definition | PayboxErrorResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Jpmorgan
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Jpmorgan | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Jpmorgan | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Implementation: impl SecretsHandler for for PaymentMethodAuth
// File: crates/payment_methods/src/configs/settings.rs
// Module: payment_methods
// Methods: 1 total (0 public)
impl SecretsHandler for for PaymentMethodAuth | crates/payment_methods/src/configs/settings.rs | payment_methods | impl_block | null | null | null | 48 | null | PaymentMethodAuth | SecretsHandler for | 1 | 0 | null | null |
// Struct: BraintreeDisputeData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BraintreeDisputeData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | BraintreeDisputeData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: get_wallet_data
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
pub fn get_wallet_data(&self) -> Option<&WalletData> | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 45 | get_wallet_data | null | null | null | null | null | null |
// Implementation: impl PartnerReferralResponse
// File: crates/router/src/types/api/connector_onboarding/paypal.rs
// Module: router
// Methods: 1 total (1 public)
impl PartnerReferralResponse | crates/router/src/types/api/connector_onboarding/paypal.rs | router | impl_block | null | null | null | 45 | null | PartnerReferralResponse | null | 1 | 1 | null | null |
// File: crates/api_models/src/events/refund.rs
// Module: api_models
use common_utils::events::{ApiEventMetric, ApiEventsType};
use crate::refunds::{
self, RefundAggregateResponse, RefundListFilters, RefundListMetaData, RefundListRequest,
RefundListResponse,
};
#[cfg(feature = "v1")]
use crate::refunds::{
... | crates/api_models/src/events/refund.rs | api_models | full_file | null | null | null | 790 | null | null | null | null | null | null | null |
// Struct: AccessTokenErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AccessTokenErrorResponse | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | AccessTokenErrorResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: RefundSuccessCount
// File: crates/api_models/src/analytics/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundSuccessCount | crates/api_models/src/analytics/refunds.rs | api_models | struct_definition | RefundSuccessCount | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: delete_by_theme_id_and_lineage
// File: crates/diesel_models/src/query/user/theme.rs
// Module: diesel_models
pub fn delete_by_theme_id_and_lineage(
conn: &PgPooledConn,
theme_id: String,
lineage: ThemeLineage,
) -> StorageResult<Self> | crates/diesel_models/src/query/user/theme.rs | diesel_models | function_signature | null | null | null | 69 | delete_by_theme_id_and_lineage | null | null | null | null | null | null |
// Implementation: impl AuthToken
// File: crates/router/src/services/authentication.rs
// Module: router
// Methods: 1 total (0 public)
impl AuthToken | crates/router/src/services/authentication.rs | router | impl_block | null | null | null | 35 | null | AuthToken | null | 1 | 0 | null | null |
// Struct: Threedsecureio
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
// Module: hyperswitch_connectors
// Implementations: 21
// Traits: Payment, PaymentSession, ConnectorAccessToken, MandateSetup, PaymentAuthorize, PaymentSync, PaymentCapture, PaymentVoid, Refund, RefundExecute, RefundSync... | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs | hyperswitch_connectors | struct_definition | Threedsecureio | 21 | [
"Payment",
"PaymentSession",
"ConnectorAccessToken",
"MandateSetup",
"PaymentAuthorize",
"PaymentSync",
"PaymentCapture",
"PaymentVoid",
"Refund",
"RefundExecute",
"RefundSync",
"PaymentToken",
"ConnectorCommon",
"ConnectorValidation",
"IncomingWebhook",
"ConnectorPreAuthentication",
... | 123 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Itaubank
// File: crates/hyperswitch_connectors/src/connectors/itaubank.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl IncomingWebhook for for Itaubank | crates/hyperswitch_connectors/src/connectors/itaubank.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Itaubank | IncomingWebhook for | 3 | 0 | null | null |
// Implementation: impl Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 49 | null | Nomupay | null | 1 | 1 | null | null |
// Function: get_grpc_headers_ucs
// File: crates/router/src/routes/app.rs
// Module: router
pub fn get_grpc_headers_ucs(&self) -> GrpcHeadersUcsBuilderInitial | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 44 | get_grpc_headers_ucs | null | null | null | null | null | null |
// Function: has_exceeded_monitoring_threshold
// File: crates/diesel_models/src/business_profile.rs
// Module: diesel_models
pub fn has_exceeded_monitoring_threshold(&self, monitoring_threshold_in_seconds: i64) -> bool | crates/diesel_models/src/business_profile.rs | diesel_models | function_signature | null | null | null | 50 | has_exceeded_monitoring_threshold | null | null | null | null | null | null |
// Function: validate_card_testing_guard_checks
// File: crates/router/src/core/card_testing_guard/utils.rs
// Module: router
pub fn validate_card_testing_guard_checks(
state: &SessionState,
request: &api::PaymentsRequest,
payment_method_data: Option<&api_models::payments::PaymentMethodData>,
customer_... | crates/router/src/core/card_testing_guard/utils.rs | router | function_signature | null | null | null | 101 | validate_card_testing_guard_checks | null | null | null | null | null | null |
// Function: find_by_payment_id_merchant_id_attempt_id
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn find_by_payment_id_merchant_id_attempt_id(
conn: &PgPooledConn,
payment_id: &common_utils::id_type::PaymentId,
merchant_id: &common_utils::id_type::M... | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 95 | find_by_payment_id_merchant_id_attempt_id | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Function: generate_cargo_instructions
// File: crates/router_env/src/vergen.rs
// Module: router_env
pub fn generate_cargo_instructions() | crates/router_env/src/vergen.rs | router_env | function_signature | null | null | null | 33 | generate_cargo_instructions | null | null | null | null | null | null |
// Function: get_metadata_as_secret
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_metadata_as_secret(
&self,
) -> CustomResult<Option<pii::SecretSerdeValue>, errors::ParsingError> | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 54 | get_metadata_as_secret | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Paytm
// File: crates/hyperswitch_connectors/src/connectors/paytm.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Paytm | crates/hyperswitch_connectors/src/connectors/paytm.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paytm | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Sift
// File: crates/hyperswitch_connectors/src/connectors/sift.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Sift | crates/hyperswitch_connectors/src/connectors/sift.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Sift | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: PreAuthenticationVersionCall
// File: crates/hyperswitch_domain_models/src/router_flow_types/authentication.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PreAuthenticationVersionCall | crates/hyperswitch_domain_models/src/router_flow_types/authentication.rs | hyperswitch_domain_models | struct_definition | PreAuthenticationVersionCall | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: new
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn new(routable_connector_choice: RoutableConnectorChoice, bucket_name: String) -> Self | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 43 | new | null | null | null | null | null | null |
// Struct: MerchantAccountSetter
// File: crates/hyperswitch_domain_models/src/merchant_account.rs
// Module: hyperswitch_domain_models
// Implementations: 0
// Documentation: Set the private fields of merchant account
pub struct MerchantAccountSetter | crates/hyperswitch_domain_models/src/merchant_account.rs | hyperswitch_domain_models | struct_definition | MerchantAccountSetter | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: config_delete
// File: crates/router/src/core/configs.rs
// Module: router
pub fn config_delete(state: SessionState, key: String) -> RouterResponse<api::Config> | crates/router/src/core/configs.rs | router | function_signature | null | null | null | 43 | config_delete | null | null | null | null | null | null |
// Function: payment_connector_list_profile
// File: crates/router/src/routes/profiles.rs
// Module: router
pub fn payment_connector_list_profile(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::MerchantId>,
) -> HttpResponse | crates/router/src/routes/profiles.rs | router | function_signature | null | null | null | 64 | payment_connector_list_profile | null | null | null | null | null | null |
// Function: frm_fulfillment
// File: crates/router/src/routes/fraud_check.rs
// Module: router
pub fn frm_fulfillment(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<frm_core::types::FrmFulfillmentRequest>,
) -> HttpResponse | crates/router/src/routes/fraud_check.rs | router | function_signature | null | null | null | 69 | frm_fulfillment | null | null | null | null | null | null |
// Function: list_metadata_by_profile_id
// File: crates/diesel_models/src/query/routing_algorithm.rs
// Module: diesel_models
pub fn list_metadata_by_profile_id(
conn: &PgPooledConn,
profile_id: &common_utils::id_type::ProfileId,
limit: i64,
offset: i64,
) -> StorageResult<Vec<Rout... | crates/diesel_models/src/query/routing_algorithm.rs | diesel_models | function_signature | null | null | null | 85 | list_metadata_by_profile_id | null | null | null | null | null | null |
// Struct: Gateways
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Gateways | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | Gateways | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: get_all_action_types
// File: crates/router/src/core/payments.rs
// Module: router
pub fn get_all_action_types(
state: &SessionState,
is_connector_agnostic_mit_enabled: Option<bool>,
is_network_tokenization_enabled: bool,
payment_method_info: &domain::PaymentMethod,
connector: api::Con... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 84 | get_all_action_types | null | null | null | null | null | null |
// Struct: Customer
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Customer | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | struct_definition | Customer | 0 | [] | 42 | null | null | null | null | null | null | null |
// File: crates/analytics/src/frm/metrics.rs
// Module: analytics
// Public structs: 1
use api_models::analytics::{
frm::{FrmDimensions, FrmFilters, FrmMetrics, FrmMetricsBucketIdentifier, FrmTransactionType},
Granularity, TimeRange,
};
use diesel_models::enums as storage_enums;
use time::PrimitiveDateTime;
mo... | crates/analytics/src/frm/metrics.rs | analytics | full_file | null | null | null | 725 | null | null | null | null | null | null | null |
// Struct: PayoutsUpdateInternal
// File: crates/diesel_models/src/payouts.rs
// Module: diesel_models
// Implementations: 1
// Traits: Default
pub struct PayoutsUpdateInternal | crates/diesel_models/src/payouts.rs | diesel_models | struct_definition | PayoutsUpdateInternal | 1 | [
"Default"
] | 47 | null | null | null | null | null | null | null |
// Function: as_str
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
pub fn as_str(&self) -> &'static str | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 46 | as_str | null | null | null | null | null | null |
// Function: push_metrics_with_update_window_for_contract_based_routing
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn push_metrics_with_update_window_for_contract_based_routing(
state: &SessionState,
payment_attempt: &storage::PaymentAttempt,
routable_connectors: Vec<routing_t... | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 121 | push_metrics_with_update_window_for_contract_based_routing | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Loonio
// File: crates/hyperswitch_connectors/src/connectors/loonio.rs
// Module: hyperswitch_connectors
// Methods: 2 total (0 public)
impl ConnectorValidation for for Loonio | crates/hyperswitch_connectors/src/connectors/loonio.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Loonio | ConnectorValidation for | 2 | 0 | null | null |
// Struct: Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Implementations: 31
// Traits: ConnectorCommon, ConnectorValidation, api::Payment, api::PaymentAuthorize, api::PaymentUpdateMetadata, api::PaymentSync, api::PaymentVoid, api::PaymentCapture, api::Payme... | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | struct_definition | Stripe | 31 | [
"ConnectorCommon",
"ConnectorValidation",
"api::Payment",
"api::PaymentAuthorize",
"api::PaymentUpdateMetadata",
"api::PaymentSync",
"api::PaymentVoid",
"api::PaymentCapture",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::ConnectorCustomer",
"api::PaymentToken",
"api::MandateSetu... | 190 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Coinbase
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Coinbase | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Coinbase | api::MandateSetup for | 0 | 0 | null | null |
// Function: customer_delete
// File: crates/router/src/compatibility/stripe/customers.rs
// Module: router
pub fn customer_delete(
state: web::Data<routes::AppState>,
req: HttpRequest,
path: web::Path<id_type::CustomerId>,
) -> HttpResponse | crates/router/src/compatibility/stripe/customers.rs | router | function_signature | null | null | null | 62 | customer_delete | null | null | null | null | null | null |
// Function: pg_accounts_connection_write
// File: crates/router/src/connection.rs
// Module: router
pub fn pg_accounts_connection_write<T: storage_impl::DatabaseStore>(
store: &T,
) -> errors::CustomResult<
PooledConnection<'_, async_bb8_diesel::ConnectionManager<PgConnection>>,
storage_errors::StorageErr... | crates/router/src/connection.rs | router | function_signature | null | null | null | 75 | pg_accounts_connection_write | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Nexixpay
// File: crates/hyperswitch_connectors/src/connectors/nexixpay.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Nexixpay | crates/hyperswitch_connectors/src/connectors/nexixpay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Nexixpay | ConnectorCommon for | 6 | 0 | null | null |
// Function: get_sso_auth_url
// File: crates/router/src/routes/user.rs
// Module: router
pub fn get_sso_auth_url(
state: web::Data<AppState>,
req: HttpRequest,
query: web::Query<user_api::GetSsoAuthUrlRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 66 | get_sso_auth_url | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/compatibility/stripe/app.rs
// Module: router
pub fn server(config: routes::AppState) -> Scope | crates/router/src/compatibility/stripe/app.rs | router | function_signature | null | null | null | 35 | server | null | null | null | null | null | null |
// Struct: ClientTokenInput
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ClientTokenInput | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | ClientTokenInput | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/refund.rs
// Module: diesel_models
// Public functions: 10
use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods, Table};
use super::generics;
#[cfg(feature = "v1")]
use crate::schema::refund::dsl;
#[cfg(feature = "v2")]
use crate::schema_v2::refund::dsl... | crates/diesel_models/src/query/refund.rs | diesel_models | full_file | null | null | null | 1,357 | null | null | null | null | null | null | null |
// Struct: Card
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Card | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | Card | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Volt
// File: crates/hyperswitch_connectors/src/connectors/volt.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Volt | crates/hyperswitch_connectors/src/connectors/volt.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Volt | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: RevenueRecovery
// File: crates/router/src/services/kafka/revenue_recovery.rs
// Module: router
// Implementations: 1
// Traits: super::KafkaMessage
pub struct RevenueRecovery<'a> | crates/router/src/services/kafka/revenue_recovery.rs | router | struct_definition | RevenueRecovery | 1 | [
"super::KafkaMessage"
] | 50 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Opennode
// File: crates/hyperswitch_connectors/src/connectors/opennode.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl IncomingWebhook for for Opennode | crates/hyperswitch_connectors/src/connectors/opennode.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Opennode | IncomingWebhook for | 6 | 0 | null | null |
// Function: routing_retrieve_default_config_for_profiles
// File: crates/openapi/src/routes/routing.rs
// Module: openapi
pub fn routing_retrieve_default_config_for_profiles() | crates/openapi/src/routes/routing.rs | openapi | function_signature | null | null | null | 39 | routing_retrieve_default_config_for_profiles | null | null | null | null | null | null |
// Function: get_dynamic_routing_volume_split
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn get_dynamic_routing_volume_split(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<routing_types::ToggleDynamicRoutingPath>,
) -> impl Responder | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 67 | get_dynamic_routing_volume_split | null | null | null | null | null | null |
// Struct: AdminApiAuth
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct AdminApiAuth | crates/router/src/services/authentication.rs | router | struct_definition | AdminApiAuth | 0 | [] | 34 | null | null | null | null | null | null | null |
// Implementation: impl Hash for for AuthEventMetricsBucketIdentifier
// File: crates/api_models/src/analytics/auth_events.rs
// Module: api_models
// Methods: 1 total (0 public)
impl Hash for for AuthEventMetricsBucketIdentifier | crates/api_models/src/analytics/auth_events.rs | api_models | impl_block | null | null | null | 51 | null | AuthEventMetricsBucketIdentifier | Hash for | 1 | 0 | null | null |
// Implementation: impl GetPaymentMethodType for for OpenBankingData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl GetPaymentMethodType for for OpenBankingData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 60 | null | OpenBankingData | GetPaymentMethodType for | 1 | 0 | null | null |
// Implementation: impl events::ApiEventMetric for for DecisionManager
// File: crates/api_models/src/conditional_configs.rs
// Module: api_models
// Methods: 1 total (0 public)
impl events::ApiEventMetric for for DecisionManager | crates/api_models/src/conditional_configs.rs | api_models | impl_block | null | null | null | 52 | null | DecisionManager | events::ApiEventMetric for | 1 | 0 | null | null |
// Struct: CommonMandateReference
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
// Implementations: 1
pub struct CommonMandateReference | crates/diesel_models/src/payment_method.rs | diesel_models | struct_definition | CommonMandateReference | 1 | [] | 41 | null | null | null | null | null | null | null |
// Function: into_inner
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn into_inner(self) -> Vec<Secret<String>> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 34 | into_inner | null | null | null | null | null | null |
// Function: get_global_search_results
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_global_search_results(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<GetGlobalSearchRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 67 | get_global_search_results | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Coinbase
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Coinbase | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | impl_block | null | null | null | 52 | null | Coinbase | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: ErrorData
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorData | crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs | hyperswitch_connectors | struct_definition | ErrorData | 0 | [] | 46 | null | null | null | null | null | null | null |
where
D: OperationSessionGetters<F> + Send + Sync + Clone,
{
match format!("{operation:?}").as_str() {
"PaymentConfirm" => true,
"PaymentStart" => {
!matches!(
payment_data.get_payment_intent().status,
storage_enums::IntentStatus::Failed | storage_enum... | crates/router/src/core/payments.rs#chunk7 | router | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Function: perform_routing_for_single_straight_through_algorithm
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn perform_routing_for_single_straight_through_algorithm(
algorithm: &routing_types::StraightThroughAlgorithm,
) -> RoutingResult<Vec<routing_types::RoutableConnectorChoice>> | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 67 | perform_routing_for_single_straight_through_algorithm | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Iatapay
// File: crates/hyperswitch_connectors/src/connectors/iatapay.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl IncomingWebhook for for Iatapay | crates/hyperswitch_connectors/src/connectors/iatapay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Iatapay | IncomingWebhook for | 6 | 0 | null | null |
// Implementation: impl api::Refund for for Boku
// File: crates/hyperswitch_connectors/src/connectors/boku.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Boku | crates/hyperswitch_connectors/src/connectors/boku.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Boku | api::Refund for | 0 | 0 | null | null |
// Struct: Classic
// File: crates/connector_configs/src/connector.rs
// Module: connector_configs
// Implementations: 0
pub struct Classic | crates/connector_configs/src/connector.rs | connector_configs | struct_definition | Classic | 0 | [] | 33 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorCustomer for for Stax
// File: crates/hyperswitch_connectors/src/connectors/stax.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorCustomer for for Stax | crates/hyperswitch_connectors/src/connectors/stax.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Stax | api::ConnectorCustomer for | 0 | 0 | null | null |
// Function: recovery_payments_create
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn recovery_payments_create(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::RecoveryPaymentsCreate>,
) -> impl Responder | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 70 | recovery_payments_create | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Payme
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Payme | crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Payme | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl api::RefundExecute for for Fiuu
// File: crates/hyperswitch_connectors/src/connectors/fiuu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Fiuu | crates/hyperswitch_connectors/src/connectors/fiuu.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Fiuu | api::RefundExecute for | 0 | 0 | null | null |
// File: crates/router_env/src/logger.rs
// Module: router_env
//! Logger of the system.
pub use tracing::{debug, error, event as log, info, warn};
pub use tracing_attributes::instrument;
pub mod config;
mod defaults;
pub use crate::config::Config;
// mod macros;
pub mod types;
pub use types::{Category, Flow, Level... | crates/router_env/src/logger.rs | router_env | full_file | null | null | null | 117 | null | null | null | null | null | null | null |
// Function: get_signature_network
// File: crates/api_models/src/open_router.rs
// Module: api_models
pub fn get_signature_network(&self) -> Option<common_enums::CardNetwork> | crates/api_models/src/open_router.rs | api_models | function_signature | null | null | null | 42 | get_signature_network | null | null | null | null | null | null |
// Function: execute_dsl_and_get_conditional_config
// File: crates/router/src/core/payments/conditional_configs.rs
// Module: router
pub fn execute_dsl_and_get_conditional_config(
backend_input: dsl_inputs::BackendInput,
interpreter: &backend::VirInterpreterBackend<common_types::payments::ConditionalConfigs>,... | crates/router/src/core/payments/conditional_configs.rs | router | function_signature | null | null | null | 85 | execute_dsl_and_get_conditional_config | null | null | null | null | null | null |
// Function: read_config
// File: crates/router/src/core/configs.rs
// Module: router
pub fn read_config(state: SessionState, key: &str) -> RouterResponse<api::Config> | crates/router/src/core/configs.rs | router | function_signature | null | null | null | 44 | read_config | null | null | null | null | null | null |
// Struct: Coinbase
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentToken, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api:... | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | struct_definition | Coinbase | 17 | [
"api::Payment",
"api::PaymentToken",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"ConnectorCommon",
"ConnectorValidat... | 124 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Worldpayxml
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Worldpayxml | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Worldpayxml | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: FrmMetricRow
// File: crates/analytics/src/frm/metrics.rs
// Module: analytics
// Implementations: 0
pub struct FrmMetricRow | crates/analytics/src/frm/metrics.rs | analytics | struct_definition | FrmMetricRow | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: get_resources
// File: crates/storage_impl/src/mock_db.rs
// Module: storage_impl
pub fn get_resources<D, R>(
&self,
state: &KeyManagerState,
key_store: &MerchantKeyStore,
resources: MutexGuard<'_, Vec<D>>,
filter_fn: impl Fn(&&D) -> bool,
error_message: Str... | crates/storage_impl/src/mock_db.rs | storage_impl | function_signature | null | null | null | 112 | get_resources | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Payu
// File: crates/hyperswitch_connectors/src/connectors/payu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Payu | crates/hyperswitch_connectors/src/connectors/payu.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Payu | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl api::PaymentSession for for Hipay
// File: crates/hyperswitch_connectors/src/connectors/hipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Hipay | crates/hyperswitch_connectors/src/connectors/hipay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Hipay | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl api::PaymentToken for for HyperswitchVault
// File: crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for HyperswitchVault | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | HyperswitchVault | api::PaymentToken for | 0 | 0 | null | null |
// File: crates/router/src/core/configs.rs
// Module: router
// Public functions: 4
use error_stack::ResultExt;
use crate::{
core::errors::{self, utils::StorageErrorExt, RouterResponse},
routes::SessionState,
services::ApplicationResponse,
types::{api, transformers::ForeignInto},
};
pub async fn set_... | crates/router/src/core/configs.rs | router | full_file | null | null | null | 431 | null | null | null | null | null | null | null |
// Function: validate
// File: crates/external_services/src/email/smtp.rs
// Module: external_services
// Documentation: Validation for the SMTP server client specific configs
pub fn validate(&self) -> Result<(), &'static str> | crates/external_services/src/email/smtp.rs | external_services | function_signature | null | null | null | 49 | validate | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Opennode
// File: crates/hyperswitch_connectors/src/connectors/opennode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Opennode | crates/hyperswitch_connectors/src/connectors/opennode.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Opennode | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl api::Refund for for Powertranz
// File: crates/hyperswitch_connectors/src/connectors/powertranz.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Powertranz | crates/hyperswitch_connectors/src/connectors/powertranz.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Powertranz | api::Refund for | 0 | 0 | null | null |
// Struct: PlaidPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlaidPaymentsRequest | crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs | hyperswitch_connectors | struct_definition | PlaidPaymentsRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl FileMetadata
// File: crates/diesel_models/src/query/file.rs
// Module: diesel_models
// Methods: 3 total (0 public)
impl FileMetadata | crates/diesel_models/src/query/file.rs | diesel_models | impl_block | null | null | null | 38 | null | FileMetadata | null | 3 | 0 | null | null |
// Function: sso_sign
// File: crates/router/src/core/user.rs
// Module: router
pub fn sso_sign(
state: SessionState,
request: user_api::SsoSignInRequest,
user_from_single_purpose_token: Option<auth::UserFromSinglePurposeToken>,
) -> UserResponse<user_api::TokenResponse> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 74 | sso_sign | null | null | null | null | null | null |
// Struct: PaysafeApplePayPaymentToken
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeApplePayPaymentToken | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeApplePayPaymentToken | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: GpayTokenParameters
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GpayTokenParameters | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | GpayTokenParameters | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl Default for for PayoutMethodData
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Methods: 1 total (0 public)
impl Default for for PayoutMethodData | crates/api_models/src/payouts.rs | api_models | impl_block | null | null | null | 48 | null | PayoutMethodData | Default for | 1 | 0 | null | null |
// Implementation: impl ApplePayPaymentData
// File: crates/common_types/src/payments.rs
// Module: common_types
// Methods: 4 total (4 public)
impl ApplePayPaymentData | crates/common_types/src/payments.rs | common_types | impl_block | null | null | null | 41 | null | ApplePayPaymentData | null | 4 | 4 | null | null |
// Module Structure
// File: crates/router/src/core/payments/vault_session.rs
// Module: router
// Public exports:
pub use common_enums::enums::CallConnectorAction;
pub use hyperswitch_domain_models::{
mandates::MandateData,
payment_address::PaymentAddress,
payments::{HeaderPayload, PaymentIntentData},
... | crates/router/src/core/payments/vault_session.rs | router | module_structure | null | null | null | 134 | null | null | null | null | null | 0 | 2 |
// Struct: ClientRiskInformationRules
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ClientRiskInformationRules | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | ClientRiskInformationRules | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: construct_event_builder
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
pub fn construct_event_builder(
self,
url: String,
routing_engine: routing_events::RoutingEngine,
method: routing_events::ApiMethod,
) -> RoutingResult<Self> | crates/router/src/core/payments/routing/utils.rs | router | function_signature | null | null | null | 66 | construct_event_builder | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/api/fraud_check.rs
// Module: hyperswitch_interfaces
//! FRM interface
use hyperswitch_domain_models::{
router_flow_types::{Checkout, Fulfillment, RecordReturn, Sale, Transaction},
router_request_types::fraud_check::{
FraudCheckCheckoutData, FraudCheckFulfillm... | crates/hyperswitch_interfaces/src/api/fraud_check.rs | hyperswitch_interfaces | full_file | null | null | null | 328 | null | null | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.