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: StripeConnectRecipientCreateResponse
// File: crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripeConnectRecipientCreateResponse | crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs | hyperswitch_connectors | struct_definition | StripeConnectRecipientCreateResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: proxy_for_call_connector_service
// File: crates/router/src/core/payments.rs
// Module: router
pub fn proxy_for_call_connector_service<F, RouterDReq, ApiRequest, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: &domain::MerchantContext,
connector: api::ConnectorData,
op... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 287 | proxy_for_call_connector_service | null | null | null | null | null | null |
// Function: find_all_combined_kv_database
// File: crates/storage_impl/src/utils.rs
// Module: storage_impl
pub fn find_all_combined_kv_database<F, RFut, DFut, T>(
redis_fut: RFut,
database_call: F,
limit: Option<i64>,
) -> error_stack::Result<Vec<T>, StorageError>
where
T: UniqueConstraints,
F: F... | crates/storage_impl/src/utils.rs | storage_impl | function_signature | null | null | null | 140 | find_all_combined_kv_database | null | null | null | null | null | null |
// Implementation: impl ForeignIDRef for for PaymentAttempt
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl ForeignIDRef for for PaymentAttempt | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | impl_block | null | null | null | 55 | null | PaymentAttempt | ForeignIDRef for | 1 | 0 | null | null |
// Function: redis_connection
// File: crates/storage_impl/src/connection.rs
// Module: storage_impl
pub fn redis_connection(
redis: &redis_interface::RedisSettings,
) -> redis_interface::RedisConnectionPool | crates/storage_impl/src/connection.rs | storage_impl | function_signature | null | null | null | 45 | redis_connection | null | null | null | null | null | null |
// Implementation: impl RequiredFields
// File: crates/payment_methods/src/configs/payment_connector_required_fields.rs
// Module: payment_methods
// Methods: 1 total (1 public)
impl RequiredFields | crates/payment_methods/src/configs/payment_connector_required_fields.rs | payment_methods | impl_block | null | null | null | 41 | null | RequiredFields | null | 1 | 1 | null | null |
// File: crates/hyperswitch_domain_models/src/mandates.rs
// Module: hyperswitch_domain_models
// Public functions: 4
// Public structs: 11
use std::collections::HashMap;
use api_models::payments::{
MandateAmountData as ApiMandateAmountData, MandateData as ApiMandateData, MandateType,
};
use common_enums::Currenc... | crates/hyperswitch_domain_models/src/mandates.rs | hyperswitch_domain_models | full_file | null | null | null | 3,918 | null | null | null | null | null | null | null |
// Function: get_metadata_inner
// File: crates/router_derive/src/macros/helpers.rs
// Module: router_derive
pub fn get_metadata_inner<'a, T: Parse + Spanned>(
ident: &str,
attrs: impl IntoIterator<Item = &'a Attribute>,
) -> syn::Result<Vec<T>> | crates/router_derive/src/macros/helpers.rs | router_derive | function_signature | null | null | null | 68 | get_metadata_inner | null | null | null | null | null | null |
// Struct: CardNetworkTokenizeRequest
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct CardNetworkTokenizeRequest | crates/api_models/src/payment_methods.rs | api_models | struct_definition | CardNetworkTokenizeRequest | 1 | [
"common_utils::events::ApiEventMetric"
] | 52 | null | null | null | null | null | null | null |
// Implementation: impl UserAuthenticationMethod
// File: crates/diesel_models/src/query/user_authentication_method.rs
// Module: diesel_models
// Methods: 5 total (0 public)
impl UserAuthenticationMethod | crates/diesel_models/src/query/user_authentication_method.rs | diesel_models | impl_block | null | null | null | 42 | null | UserAuthenticationMethod | null | 5 | 0 | null | null |
// Struct: ConfigMerchantAdditionalDetails
// File: crates/connector_configs/src/connector.rs
// Module: connector_configs
// Implementations: 0
pub struct ConfigMerchantAdditionalDetails | crates/connector_configs/src/connector.rs | connector_configs | struct_definition | ConfigMerchantAdditionalDetails | 0 | [] | 39 | null | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/api_keys.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<ApiKey> | crates/diesel_models/src/query/api_keys.rs | diesel_models | function_signature | null | null | null | 43 | insert | null | null | null | null | null | null |
// Implementation: impl CrmInterface for for HubspotProxyConfig
// File: crates/external_services/src/crm.rs
// Module: external_services
// Methods: 3 total (0 public)
impl CrmInterface for for HubspotProxyConfig | crates/external_services/src/crm.rs | external_services | impl_block | null | null | null | 52 | null | HubspotProxyConfig | CrmInterface for | 3 | 0 | null | null |
// Struct: ErrorDetails
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorDetails | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | struct_definition | ErrorDetails | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: WorldpayxmlRouterData
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WorldpayxmlRouterData<T> | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs | hyperswitch_connectors | struct_definition | WorldpayxmlRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
// File: crates/openapi/src/routes/webhook_events.rs
// Module: openapi
// Public functions: 4
/// Events - List
///
/// List all Events associated with a Merchant Account or Profile.
#[utoipa::path(
post,
path = "/events/{merchant_id}",
params(
(
"merchant_id" = String,
Pat... | crates/openapi/src/routes/webhook_events.rs | openapi | full_file | null | null | null | 942 | null | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for CardInfoCreateRequest
// File: crates/api_models/src/cards_info.rs
// Module: api_models
// Methods: 0 total (0 public)
impl ApiEventMetric for for CardInfoCreateRequest | crates/api_models/src/cards_info.rs | api_models | impl_block | null | null | null | 51 | null | CardInfoCreateRequest | ApiEventMetric for | 0 | 0 | null | null |
// Struct: PayoutLink
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct PayoutLink | crates/router/src/routes/app.rs | router | struct_definition | PayoutLink | 1 | [] | 34 | null | null | null | null | null | null | null |
// Struct: Netcetera
// File: crates/hyperswitch_connectors/src/connectors/netcetera.rs
// Module: hyperswitch_connectors
// Implementations: 21
// Traits: Payment, PaymentSession, ConnectorAccessToken, MandateSetup, PaymentAuthorize, PaymentSync, PaymentCapture, PaymentVoid, Refund, RefundExecute, RefundSync, PaymentT... | crates/hyperswitch_connectors/src/connectors/netcetera.rs | hyperswitch_connectors | struct_definition | Netcetera | 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 |
// Function: from_secret_value
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
pub fn from_secret_value(
value: common_utils::pii::SecretSerdeValue,
) -> common_utils::errors::CustomResult<Self, common_utils::errors::ParsingError> | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 69 | from_secret_value | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Stripe | api::ConnectorAccessToken for | 0 | 0 | null | null |
// File: crates/router/src/core/encryption.rs
// Module: router
// Public functions: 3
use api_models::admin::MerchantKeyTransferRequest;
use base64::Engine;
use common_utils::{
keymanager::transfer_key_to_key_manager,
types::keymanager::{EncryptionTransferRequest, Identifier},
};
use error_stack::ResultExt;
u... | crates/router/src/core/encryption.rs | router | full_file | null | null | null | 524 | null | null | null | null | null | null | null |
// Struct: LogTelemetry
// File: crates/router_env/src/logger/config.rs
// Module: router_env
// Implementations: 0
pub struct LogTelemetry | crates/router_env/src/logger/config.rs | router_env | struct_definition | LogTelemetry | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: MandateConnectorDetails
// File: crates/router/src/core/payments.rs
// Module: router
// Implementations: 0
pub struct MandateConnectorDetails | crates/router/src/core/payments.rs | router | struct_definition | MandateConnectorDetails | 0 | [] | 37 | 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 |
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
#[cfg(feature = "payouts")]
use api_models::webhooks::PayoutIdType;
use api_models::{
payments::PaymentIdType,
webhooks::{... | crates/hyperswitch_connectors/src/connectors/nuvei.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,182 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorSpecifications for for Worldpayvantiv | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Worldpayvantiv | ConnectorSpecifications for | 5 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Thunes
// File: crates/hyperswitch_connectors/src/connectors/thunes.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Thunes | crates/hyperswitch_connectors/src/connectors/thunes.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Thunes | ConnectorCommon for | 6 | 0 | null | null |
// File: crates/common_utils/src/id_type/subscription.rs
// Module: common_utils
crate::id_type!(
SubscriptionId,
" A type for subscription_id that can be used for subscription ids"
);
crate::impl_id_type_methods!(SubscriptionId, "subscription_id");
// This is to display the `SubscriptionId` as SubscriptionI... | crates/common_utils/src/id_type/subscription.rs | common_utils | full_file | null | null | null | 200 | null | null | null | null | null | null | null |
// Struct: JpmorganErrorInformation
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JpmorganErrorInformation | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | JpmorganErrorInformation | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: GenerateSaleResponse
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GenerateSaleResponse | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | GenerateSaleResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: AnyPurposeOrLoginTokenAuth
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct AnyPurposeOrLoginTokenAuth | crates/router/src/services/authentication.rs | router | struct_definition | AnyPurposeOrLoginTokenAuth | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: SyncErrorCode
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SyncErrorCode | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | SyncErrorCode | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: CancelResponseTransactionBody
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CancelResponseTransactionBody | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | CancelResponseTransactionBody | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: PaymentLinkConfigRequest
// File: crates/diesel_models/src/business_profile.rs
// Module: diesel_models
// Implementations: 0
pub struct PaymentLinkConfigRequest | crates/diesel_models/src/business_profile.rs | diesel_models | struct_definition | PaymentLinkConfigRequest | 0 | [] | 39 | null | null | null | null | null | null | null |
// Function: configure_dynamic_routing_volume_split
// File: crates/router/src/core/routing.rs
// Module: router
pub fn configure_dynamic_routing_volume_split(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id: common_utils::id_type::ProfileId,
routing_info: routing::RoutingVol... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 82 | configure_dynamic_routing_volume_split | null | null | null | null | null | null |
// Function: internal_user_signup
// File: crates/router/src/routes/user.rs
// Module: router
pub fn internal_user_signup(
state: web::Data<AppState>,
http_req: HttpRequest,
json_payload: web::Json<user_api::CreateInternalUserRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 62 | internal_user_signup | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Xendit
// File: crates/hyperswitch_connectors/src/connectors/xendit.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl webhooks::IncomingWebhook for for Xendit | crates/hyperswitch_connectors/src/connectors/xendit.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Xendit | webhooks::IncomingWebhook for | 6 | 0 | null | null |
// Implementation: impl Refunds
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Refunds | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 35 | null | Refunds | null | 1 | 1 | null | null |
// Implementation: impl KafkaPaymentAttempt
// File: crates/router/src/services/kafka/payment_attempt.rs
// Module: router
// Methods: 1 total (1 public)
impl KafkaPaymentAttempt | crates/router/src/services/kafka/payment_attempt.rs | router | impl_block | null | null | null | 40 | null | KafkaPaymentAttempt | null | 1 | 1 | null | null |
// Implementation: impl api::PaymentAuthorize for for Zen
// File: crates/hyperswitch_connectors/src/connectors/zen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Zen | crates/hyperswitch_connectors/src/connectors/zen.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Zen | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: reset_tracking_id
// File: crates/router/src/core/connector_onboarding.rs
// Module: router
pub fn reset_tracking_id(
state: SessionState,
user_from_token: auth::UserFromToken,
request: api::ResetTrackingIdRequest,
_req_state: ReqState,
) -> RouterResponse<()> | crates/router/src/core/connector_onboarding.rs | router | function_signature | null | null | null | 71 | reset_tracking_id | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Checkout
// File: crates/hyperswitch_connectors/src/connectors/checkout.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Checkout | crates/hyperswitch_connectors/src/connectors/checkout.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Checkout | api::Payment for | 0 | 0 | null | null |
// Struct: PaysafeApplePayToken
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeApplePayToken | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeApplePayToken | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: ThreeDSPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDSPaymentsRequest | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | hyperswitch_connectors | struct_definition | ThreeDSPaymentsRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: CeleroAuthType
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CeleroAuthType | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | struct_definition | CeleroAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl Files
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Files | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Files | null | 1 | 1 | null | null |
// Implementation: impl api::PaymentToken for for Bluecode
// File: crates/hyperswitch_connectors/src/connectors/bluecode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Bluecode | crates/hyperswitch_connectors/src/connectors/bluecode.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Bluecode | api::PaymentToken for | 0 | 0 | null | null |
// Function: mk_delete_card_request_hs_by_id
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn mk_delete_card_request_hs_by_id(
jwekey: &settings::Jwekey,
locker: &settings::Locker,
id: &String,
merchant_id: &id_type::MerchantId,
card_reference: &str,
tena... | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 116 | mk_delete_card_request_hs_by_id | null | null | null | null | null | null |
// Module Structure
// File: crates/pm_auth/src/types/api.rs
// Module: pm_auth
// Public submodules:
pub mod auth_service;
| crates/pm_auth/src/types/api.rs | pm_auth | module_structure | null | null | null | 31 | null | null | null | null | null | 1 | 0 |
// Module Structure
// File: crates/router/src/core/payments/session_operation.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/session_operation.rs | router | module_structure | null | null | null | 133 | null | null | null | null | null | 0 | 2 |
// Function: generic_insert
// File: crates/diesel_models/src/query/generics.rs
// Module: diesel_models
pub fn generic_insert<T, V, R>(conn: &PgPooledConn, values: V) -> StorageResult<R>
where
T: HasTable<Table = T> + Table + 'static + Debug,
V: Debug + Insertable<T>,
<T as QuerySource>::FromClause: Query... | crates/diesel_models/src/query/generics.rs | diesel_models | function_signature | null | null | null | 168 | generic_insert | null | null | null | null | null | null |
// Implementation: impl Serialize for for FiservCheckoutChargesRequest
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl Serialize for for FiservCheckoutChargesRequest | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | FiservCheckoutChargesRequest | Serialize for | 1 | 0 | null | null |
// Implementation: impl RefundDistributionAccumulator for for RefundReasonDistributionAccumulator
// File: crates/analytics/src/refunds/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl RefundDistributionAccumulator for for RefundReasonDistributionAccumulator | crates/analytics/src/refunds/accumulator.rs | analytics | impl_block | null | null | null | 64 | null | RefundReasonDistributionAccumulator | RefundDistributionAccumulator for | 2 | 0 | null | null |
// Struct: ExternalVaultCard
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ExternalVaultCard | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | ExternalVaultCard | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Implementation: impl HashiCorpVaultConfig
// File: crates/external_services/src/hashicorp_vault/core.rs
// Module: external_services
// Methods: 1 total (1 public)
impl HashiCorpVaultConfig | crates/external_services/src/hashicorp_vault/core.rs | external_services | impl_block | null | null | null | 48 | null | HashiCorpVaultConfig | null | 1 | 1 | null | null |
// Module Structure
// File: crates/euclid/src/backend/vir_interpreter.rs
// Module: euclid
// Public submodules:
pub mod types;
| crates/euclid/src/backend/vir_interpreter.rs | euclid | module_structure | null | null | null | 34 | null | null | null | null | null | 1 | 0 |
// File: crates/router/tests/connectors/dlocal.rs
// Module: router
// Public functions: 1
#![allow(clippy::print_stdout)]
use std::str::FromStr;
use hyperswitch_domain_models::address::{Address, AddressDetails};
use masking::Secret;
use router::types::{self, api, domain, storage::enums, PaymentAddress};
use crate:... | crates/router/tests/connectors/dlocal.rs | router | full_file | null | null | null | 3,235 | null | null | null | null | null | null | null |
// Struct: ChargebeeEstimate
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeEstimate | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeEstimate | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: entity_type
// File: crates/router_derive/src/macros/generate_permissions.rs
// Module: router_derive
pub fn entity_type(&self) -> EntityType | crates/router_derive/src/macros/generate_permissions.rs | router_derive | function_signature | null | null | null | 37 | entity_type | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Paysafe
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Paysafe | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Paysafe | ConnectorCommon for | 6 | 0 | null | null |
// Struct: BarclaycardClientReferenceResponse
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardClientReferenceResponse | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardClientReferenceResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/connector_integration_interface.rs
// Module: hyperswitch_interfaces
// Public functions: 2
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
use common_enums::PaymentAction;
use common_utils::{crypto, errors::CustomResult, request::Request};
use hyperswitc... | crates/hyperswitch_interfaces/src/connector_integration_interface.rs | hyperswitch_interfaces | full_file | null | null | null | 6,219 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/phonepe.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/phonepe.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Struct: UnifiedConnectorServiceClientConfig
// File: crates/external_services/src/grpc_client/unified_connector_service.rs
// Module: external_services
// Implementations: 0
pub struct UnifiedConnectorServiceClientConfig | crates/external_services/src/grpc_client/unified_connector_service.rs | external_services | struct_definition | UnifiedConnectorServiceClientConfig | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsCompleteAuthorize for for Nexixpay
// File: crates/hyperswitch_connectors/src/connectors/nexixpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsCompleteAuthorize for for Nexixpay | crates/hyperswitch_connectors/src/connectors/nexixpay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Nexixpay | api::PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// Function: do_gsm_multiple_connector_actions
// File: crates/router/src/core/payouts/retry.rs
// Module: router
pub fn do_gsm_multiple_connector_actions(
state: &app::SessionState,
mut connectors_routing_data: IntoIter<api::ConnectorRoutingData>,
original_connector_data: api::ConnectorData,
payout_da... | crates/router/src/core/payouts/retry.rs | router | function_signature | null | null | null | 97 | do_gsm_multiple_connector_actions | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/nordea.rs
// Module: hyperswitch_connectors
// Public functions: 3
// Public structs: 1
mod requests;
mod responses;
pub mod transformers;
use base64::Engine;
use common_enums::enums;
use common_utils::{
consts, date_time,
errors::CustomResult,
ext_tra... | crates/hyperswitch_connectors/src/connectors/nordea.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,180 | null | null | null | null | null | null | null |
// File: crates/api_models/src/three_ds_decision_rule.rs
// Module: api_models
// Public structs: 7
use euclid::frontend::dir::enums::{
CustomerDeviceDisplaySize, CustomerDevicePlatform, CustomerDeviceType,
};
use utoipa::ToSchema;
/// Represents the payment data used in the 3DS decision rule.
#[derive(Debug, Clo... | crates/api_models/src/three_ds_decision_rule.rs | api_models | full_file | null | null | null | 911 | null | null | null | null | null | null | null |
// Struct: PSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PSyncResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | PSyncResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Paysafe
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Paysafe | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Paysafe | ConnectorSpecifications for | 3 | 0 | null | null |
// Implementation: impl behaviour::Conversion for for PaymentAttempt
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Methods: 3 total (0 public)
impl behaviour::Conversion for for PaymentAttempt | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | impl_block | null | null | null | 55 | null | PaymentAttempt | behaviour::Conversion for | 3 | 0 | null | null |
// Implementation: impl GlobalPaymentMethodSessionId
// File: crates/common_utils/src/id_type/global_id/payment_methods.rs
// Module: common_utils
// Methods: 3 total (3 public)
impl GlobalPaymentMethodSessionId | crates/common_utils/src/id_type/global_id/payment_methods.rs | common_utils | impl_block | null | null | null | 47 | null | GlobalPaymentMethodSessionId | null | 3 | 3 | null | null |
// Struct: CardInfoMigrateResponseRecord
// File: crates/api_models/src/cards_info.rs
// Module: api_models
// Implementations: 0
pub struct CardInfoMigrateResponseRecord | crates/api_models/src/cards_info.rs | api_models | struct_definition | CardInfoMigrateResponseRecord | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl User
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl User | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | User | null | 1 | 1 | null | null |
// Function: add_apple_pay_flow_metrics
// File: crates/router/src/utils.rs
// Module: router
pub fn add_apple_pay_flow_metrics(
apple_pay_flow: &Option<domain::ApplePayFlow>,
connector: Option<String>,
merchant_id: id_type::MerchantId,
) | crates/router/src/utils.rs | router | function_signature | null | null | null | 64 | add_apple_pay_flow_metrics | null | null | null | null | null | null |
// Struct: ShouldCollectCvvDuringPayment
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Implementations: 2
// Traits: Deref, Default
pub struct ShouldCollectCvvDuringPayment | crates/common_types/src/primitive_wrappers.rs | common_types | struct_definition | ShouldCollectCvvDuringPayment | 2 | [
"Deref",
"Default"
] | 52 | null | null | null | null | null | null | null |
// Struct: ZenWebhookEventType
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ZenWebhookEventType | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | ZenWebhookEventType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for CardInfoUpdateRequest
// File: crates/api_models/src/cards_info.rs
// Module: api_models
// Methods: 0 total (0 public)
impl ApiEventMetric for for CardInfoUpdateRequest | crates/api_models/src/cards_info.rs | api_models | impl_block | null | null | null | 51 | null | CardInfoUpdateRequest | ApiEventMetric for | 0 | 0 | null | null |
// Implementation: impl BlocklistLookupNew
// File: crates/diesel_models/src/query/blocklist_lookup.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl BlocklistLookupNew | crates/diesel_models/src/query/blocklist_lookup.rs | diesel_models | impl_block | null | null | null | 44 | null | BlocklistLookupNew | null | 1 | 0 | null | null |
// Implementation: impl api::PaymentSync for for CtpMastercard
// File: crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for CtpMastercard | crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | CtpMastercard | api::PaymentSync for | 0 | 0 | null | null |
// Struct: Links
// File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Links | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs | hyperswitch_connectors | struct_definition | Links | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl Config
// File: crates/diesel_models/src/query/configs.rs
// Module: diesel_models
// Methods: 3 total (0 public)
impl Config | crates/diesel_models/src/query/configs.rs | diesel_models | impl_block | null | null | null | 37 | null | Config | null | 3 | 0 | null | null |
// Struct: AliPayQr
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AliPayQr | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | AliPayQr | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl ProfileUpdateInternal
// File: crates/diesel_models/src/business_profile.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl ProfileUpdateInternal | crates/diesel_models/src/business_profile.rs | diesel_models | impl_block | null | null | null | 40 | null | ProfileUpdateInternal | null | 1 | 1 | null | null |
// Implementation: impl api::Refund for for Finix
// File: crates/hyperswitch_connectors/src/connectors/finix.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Finix | crates/hyperswitch_connectors/src/connectors/finix.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Finix | api::Refund for | 0 | 0 | null | null |
// Struct: VaultDelete
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 1
// Traits: VaultingInterface
pub struct VaultDelete | crates/router/src/types/payment_methods.rs | router | struct_definition | VaultDelete | 1 | [
"VaultingInterface"
] | 40 | null | null | null | null | null | null | null |
// Struct: V2AdditionalParams
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct V2AdditionalParams | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | V2AdditionalParams | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: ApplePayTokenPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayTokenPaymentInformation | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayTokenPaymentInformation | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: AuthorizedotnetPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizedotnetPaymentsRequest | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | AuthorizedotnetPaymentsRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: generate_secret_key
// File: crates/diesel_models/src/ephemeral_key.rs
// Module: diesel_models
pub fn generate_secret_key(&self) -> String | crates/diesel_models/src/ephemeral_key.rs | diesel_models | function_signature | null | null | null | 38 | generate_secret_key | null | null | null | null | null | null |
// Function: change_password
// File: crates/router/src/core/user.rs
// Module: router
pub fn change_password(
state: SessionState,
request: user_api::ChangePasswordRequest,
user_from_token: auth::UserFromToken,
) -> UserResponse<()> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 58 | change_password | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/blocklist_fingerprint.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<BlocklistFingerprint> | crates/diesel_models/src/query/blocklist_fingerprint.rs | diesel_models | function_signature | null | null | null | 47 | insert | null | null | null | null | null | null |
// File: crates/common_utils/src/id_type/global_id/payment_methods.rs
// Module: common_utils
// Public functions: 6
// Public structs: 2
use error_stack::ResultExt;
use crate::{
errors::CustomResult,
id_type::global_id::{CellId, GlobalEntity, GlobalId},
};
/// A global id that can be used to identify a paym... | crates/common_utils/src/id_type/global_id/payment_methods.rs | common_utils | full_file | null | null | null | 1,354 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/iatapay.rs
// Module: router
use hyperswitch_domain_models::address::{Address, AddressDetails, PhoneDetails};
use masking::Secret;
use router::types::{self, api, storage::enums, AccessToken};
use crate::{
connector_auth,
utils::{
self, get_connector_transaction_... | crates/router/tests/connectors/iatapay.rs | router | full_file | null | null | null | 1,352 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nuvei | api::PaymentSync for | 0 | 0 | null | null |
// Trait: ApiClient
// File: crates/router/src/services/api/client.rs
// Module: router
pub trait ApiClient: dyn_clone::DynClone
where
Self: Send + Sync, | crates/router/src/services/api/client.rs | router | trait_definition | null | null | null | 42 | null | null | ApiClient | null | null | null | null |
// Struct: PaymentMethod
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
// Implementations: 1
pub struct PaymentMethod | crates/diesel_models/src/payment_method.rs | diesel_models | struct_definition | PaymentMethod | 1 | [] | 35 | null | null | null | null | null | null | null |
// Struct: Gpayments
// File: crates/hyperswitch_connectors/src/connectors/gpayments.rs
// Module: hyperswitch_connectors
// Implementations: 22
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api... | crates/hyperswitch_connectors/src/connectors/gpayments.rs | hyperswitch_connectors | struct_definition | Gpayments | 22 | [
"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... | 142 | 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.