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 api::ConnectorRedirectResponse for for Authorizedotnet // File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs // Module: hyperswitch_connectors // Methods: 1 total (0 public) impl api::ConnectorRedirectResponse for for Authorizedotnet
crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
hyperswitch_connectors
impl_block
null
null
null
63
null
Authorizedotnet
api::ConnectorRedirectResponse for
1
0
null
null
// Struct: BluesnapDisputeWebhookBody // File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct BluesnapDisputeWebhookBody
crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
hyperswitch_connectors
struct_definition
BluesnapDisputeWebhookBody
0
[]
56
null
null
null
null
null
null
null
// Struct: WellsfargoPaymentsResponse // File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct WellsfargoPaymentsResponse
crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
hyperswitch_connectors
struct_definition
WellsfargoPaymentsResponse
0
[]
53
null
null
null
null
null
null
null
// Module Structure // File: crates/common_enums/src/enums.rs // Module: common_enums // Public exports: pub use accounts::{ MerchantAccountRequestType, MerchantAccountType, MerchantProductType, OrganizationType, }; pub use payments::ProductType; pub use ui::*; pub use super::connector_enums::RoutableConnectors; p...
crates/common_enums/src/enums.rs
common_enums
module_structure
null
null
null
324
null
null
null
null
null
0
5
// Function: merchant_account_transfer_keys // File: crates/router/src/routes/admin.rs // Module: router pub fn merchant_account_transfer_keys( state: web::Data<AppState>, req: HttpRequest, payload: web::Json<api_models::admin::MerchantKeyTransferRequest>, ) -> HttpResponse
crates/router/src/routes/admin.rs
router
function_signature
null
null
null
64
merchant_account_transfer_keys
null
null
null
null
null
null
// Implementation: impl api::PaymentSync for for Trustpayments // File: crates/hyperswitch_connectors/src/connectors/trustpayments.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentSync for for Trustpayments
crates/hyperswitch_connectors/src/connectors/trustpayments.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Trustpayments
api::PaymentSync for
0
0
null
null
// Function: organization_retrieve // File: crates/openapi/src/routes/organization.rs // Module: openapi pub fn organization_retrieve()
crates/openapi/src/routes/organization.rs
openapi
function_signature
null
null
null
31
organization_retrieve
null
null
null
null
null
null
// Implementation: impl api::MandateSetup for for Bankofamerica // File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::MandateSetup for for Bankofamerica
crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
hyperswitch_connectors
impl_block
null
null
null
68
null
Bankofamerica
api::MandateSetup for
0
0
null
null
// Module Structure // File: crates/router/src/types/api/admin.rs // Module: router // Public exports: pub use api_models::admin; pub use api_models::{ admin::{ MaskedHeaders, MerchantAccountCreate, MerchantAccountDeleteResponse, MerchantAccountResponse, MerchantAccountUpdate, MerchantConnectorCrea...
crates/router/src/types/api/admin.rs
router
module_structure
null
null
null
156
null
null
null
null
null
0
2
// File: crates/router/src/workflows/api_key_expiry.rs // Module: router // Public structs: 1 use common_utils::{errors::ValidationError, ext_traits::ValueExt, types::user::ThemeLineage}; use diesel_models::{ enums as storage_enums, process_tracker::business_status, ApiKeyExpiryTrackingData, }; use router_env::log...
crates/router/src/workflows/api_key_expiry.rs
router
full_file
null
null
null
1,346
null
null
null
null
null
null
null
// Struct: AciWebhookAuthenticationDetails // File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct AciWebhookAuthenticationDetails
crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
hyperswitch_connectors
struct_definition
AciWebhookAuthenticationDetails
0
[]
53
null
null
null
null
null
null
null
// Struct: Health // File: crates/router/src/bin/scheduler.rs // Module: router // Implementations: 1 pub struct Health
crates/router/src/bin/scheduler.rs
router
struct_definition
Health
1
[]
31
null
null
null
null
null
null
null
// File: crates/analytics/src/sdk_events/metrics.rs // Module: analytics // Public structs: 1 use std::collections::HashSet; use api_models::analytics::{ sdk_events::{ SdkEventDimensions, SdkEventFilters, SdkEventMetrics, SdkEventMetricsBucketIdentifier, }, Granularity, TimeRange, }; use time::Pri...
crates/analytics/src/sdk_events/metrics.rs
analytics
full_file
null
null
null
1,010
null
null
null
null
null
null
null
// File: crates/router/tests/connectors/worldpay.rs // Module: router use futures::future::OptionFuture; use router::types::{self, domain, storage::enums}; use serde_json::json; use serial_test::serial; use wiremock::{ matchers::{body_json, method, path}, Mock, ResponseTemplate, }; use crate::{ connector_...
crates/router/tests/connectors/worldpay.rs
router
full_file
null
null
null
2,803
null
null
null
null
null
null
null
// Implementation: impl api::RefundSync for for Bambora // File: crates/hyperswitch_connectors/src/connectors/bambora.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::RefundSync for for Bambora
crates/hyperswitch_connectors/src/connectors/bambora.rs
hyperswitch_connectors
impl_block
null
null
null
62
null
Bambora
api::RefundSync for
0
0
null
null
// Struct: BamboraapacAuthType // File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct BamboraapacAuthType
crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
hyperswitch_connectors
struct_definition
BamboraapacAuthType
0
[]
58
null
null
null
null
null
null
null
// Struct: MerchantAccountUpdateInternal // File: crates/diesel_models/src/merchant_account.rs // Module: diesel_models // Implementations: 2 pub struct MerchantAccountUpdateInternal
crates/diesel_models/src/merchant_account.rs
diesel_models
struct_definition
MerchantAccountUpdateInternal
2
[]
40
null
null
null
null
null
null
null
// Struct: CustomerAcceptance // File: crates/common_types/src/payments.rs // Module: common_types // Implementations: 2 // Traits: masking::SerializableSecret pub struct CustomerAcceptance
crates/common_types/src/payments.rs
common_types
struct_definition
CustomerAcceptance
2
[ "masking::SerializableSecret" ]
44
null
null
null
null
null
null
null
// Implementation: impl api::PaymentToken for for Worldpayvantiv // File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentToken for for Worldpayvantiv
crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
hyperswitch_connectors
impl_block
null
null
null
63
null
Worldpayvantiv
api::PaymentToken for
0
0
null
null
// Struct: RouterHealthCheckResponse // File: crates/api_models/src/health_check.rs // Module: api_models // Implementations: 1 // Traits: common_utils::events::ApiEventMetric pub struct RouterHealthCheckResponse
crates/api_models/src/health_check.rs
api_models
struct_definition
RouterHealthCheckResponse
1
[ "common_utils::events::ApiEventMetric" ]
51
null
null
null
null
null
null
null
// Implementation: impl ProphetpayCardContext // File: crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs // Module: hyperswitch_connectors // Methods: 1 total (0 public) impl ProphetpayCardContext
crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs
hyperswitch_connectors
impl_block
null
null
null
53
null
ProphetpayCardContext
null
1
0
null
null
// Function: get_payout_method_data_from_temporary_locker // File: crates/router/src/core/payment_methods/vault.rs // Module: router pub fn get_payout_method_data_from_temporary_locker( state: &routes::SessionState, lookup_key: &str, merchant_key_store: &domain::MerchantKeyStore, ) -> Route...
crates/router/src/core/payment_methods/vault.rs
router
function_signature
null
null
null
92
get_payout_method_data_from_temporary_locker
null
null
null
null
null
null
// Implementation: impl Flexiti // File: crates/hyperswitch_connectors/src/connectors/flexiti.rs // Module: hyperswitch_connectors // Methods: 1 total (1 public) impl Flexiti
crates/hyperswitch_connectors/src/connectors/flexiti.rs
hyperswitch_connectors
impl_block
null
null
null
46
null
Flexiti
null
1
1
null
null
// Function: get_disputes_aggregate_profile // File: crates/router/src/routes/disputes.rs // Module: router pub fn get_disputes_aggregate_profile( state: web::Data<AppState>, req: HttpRequest, query_param: web::Query<common_utils::types::TimeRange>, ) -> HttpResponse
crates/router/src/routes/disputes.rs
router
function_signature
null
null
null
71
get_disputes_aggregate_profile
null
null
null
null
null
null
// Implementation: impl api::PaymentCapture for for Boku // File: crates/hyperswitch_connectors/src/connectors/boku.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentCapture for for Boku
crates/hyperswitch_connectors/src/connectors/boku.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Boku
api::PaymentCapture for
0
0
null
null
// Function: get_refund_body // File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs // Module: hyperswitch_connectors pub fn get_refund_body( req: &BamboraapacRouterData<&types::RefundExecuteRouterData>, ) -> Result<Vec<u8>, Error>
crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
hyperswitch_connectors
function_signature
null
null
null
75
get_refund_body
null
null
null
null
null
null
// Struct: TelemetryGuard // File: crates/router_env/src/logger/setup.rs // Module: router_env // Implementations: 0 pub struct TelemetryGuard
crates/router_env/src/logger/setup.rs
router_env
struct_definition
TelemetryGuard
0
[]
36
null
null
null
null
null
null
null
// Implementation: impl ApiEventMetric for for ListBlocklistQuery // File: crates/api_models/src/blocklist.rs // Module: api_models // Methods: 0 total (0 public) impl ApiEventMetric for for ListBlocklistQuery
crates/api_models/src/blocklist.rs
api_models
impl_block
null
null
null
51
null
ListBlocklistQuery
ApiEventMetric for
0
0
null
null
// Struct: PaymentMethodMetaData // File: crates/api_models/src/three_ds_decision_rule.rs // Module: api_models // Implementations: 0 pub struct PaymentMethodMetaData
crates/api_models/src/three_ds_decision_rule.rs
api_models
struct_definition
PaymentMethodMetaData
0
[]
39
null
null
null
null
null
null
null
// File: crates/api_models/src/tokenization.rs // Module: api_models // Public structs: 4 use common_enums; use common_utils::id_type; use serde::{Deserialize, Serialize}; use time::PrimitiveDateTime; use utoipa::{schema, ToSchema}; #[cfg(all(feature = "v2", feature = "tokenization_v2"))] #[derive(Debug, Serialize, D...
crates/api_models/src/tokenization.rs
api_models
full_file
null
null
null
700
null
null
null
null
null
null
null
// Function: authentication_create // File: crates/router/src/routes/authentication.rs // Module: router pub fn authentication_create( state: web::Data<app::AppState>, req: HttpRequest, json_payload: web::Json<AuthenticationCreateRequest>, ) -> impl Responder
crates/router/src/routes/authentication.rs
router
function_signature
null
null
null
59
authentication_create
null
null
null
null
null
null
// Implementation: impl common_utils::events::ApiEventMetric for for RelayRetrieveRequest // File: crates/api_models/src/relay.rs // Module: api_models // Methods: 0 total (0 public) impl common_utils::events::ApiEventMetric for for RelayRetrieveRequest
crates/api_models/src/relay.rs
api_models
impl_block
null
null
null
59
null
RelayRetrieveRequest
common_utils::events::ApiEventMetric for
0
0
null
null
// Implementation: impl ConnectorValidation for for Zen // File: crates/hyperswitch_connectors/src/connectors/zen.rs // Module: hyperswitch_connectors // Methods: 1 total (0 public) impl ConnectorValidation for for Zen
crates/hyperswitch_connectors/src/connectors/zen.rs
hyperswitch_connectors
impl_block
null
null
null
51
null
Zen
ConnectorValidation for
1
0
null
null
// Function: collect // File: crates/analytics/src/auth_events/accumulator.rs // Module: analytics pub fn collect(self) -> AuthEventMetricsBucketValue
crates/analytics/src/auth_events/accumulator.rs
analytics
function_signature
null
null
null
34
collect
null
null
null
null
null
null
// Function: get_refunds_filters_profile // File: crates/router/src/routes/refunds.rs // Module: router pub fn get_refunds_filters_profile( state: web::Data<AppState>, req: HttpRequest, ) -> HttpResponse
crates/router/src/routes/refunds.rs
router
function_signature
null
null
null
50
get_refunds_filters_profile
null
null
null
null
null
null
// File: crates/hyperswitch_interfaces/src/crm.rs // Module: hyperswitch_interfaces // Public structs: 1 use common_enums::CountryAlpha2; use common_utils::{ errors::CustomResult, request::{Request, RequestContent}, }; use masking::Secret; use super::types::Proxy; use crate::errors::HttpClientError; /// Crm ...
crates/hyperswitch_interfaces/src/crm.rs
hyperswitch_interfaces
full_file
null
null
null
525
null
null
null
null
null
null
null
// Implementation: impl api::Refund for for Opayo // File: crates/hyperswitch_connectors/src/connectors/opayo.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Refund for for Opayo
crates/hyperswitch_connectors/src/connectors/opayo.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Opayo
api::Refund for
0
0
null
null
// Function: get_recovery_codes // File: crates/router/src/types/domain/user.rs // Module: router pub fn get_recovery_codes(&self) -> Option<Vec<Secret<String>>>
crates/router/src/types/domain/user.rs
router
function_signature
null
null
null
38
get_recovery_codes
null
null
null
null
null
null
// Struct: FiservCancelRequest // File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct FiservCancelRequest
crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
hyperswitch_connectors
struct_definition
FiservCancelRequest
0
[]
52
null
null
null
null
null
null
null
// Function: find_by_user_email // File: crates/diesel_models/src/query/user.rs // Module: diesel_models pub fn find_by_user_email( conn: &PgPooledConn, user_email: &pii::Email, ) -> StorageResult<Self>
crates/diesel_models/src/query/user.rs
diesel_models
function_signature
null
null
null
58
find_by_user_email
null
null
null
null
null
null
// Implementation: impl api::ConnectorMandateRevoke for for Wellsfargo // File: crates/hyperswitch_connectors/src/connectors/wellsfargo.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::ConnectorMandateRevoke for for Wellsfargo
crates/hyperswitch_connectors/src/connectors/wellsfargo.rs
hyperswitch_connectors
impl_block
null
null
null
69
null
Wellsfargo
api::ConnectorMandateRevoke for
0
0
null
null
// Struct: RiskifiedMetadata // File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RiskifiedMetadata
crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
hyperswitch_connectors
struct_definition
RiskifiedMetadata
0
[]
49
null
null
null
null
null
null
null
// Struct: PoRecipient // File: crates/hyperswitch_domain_models/src/router_flow_types/payouts.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct PoRecipient
crates/hyperswitch_domain_models/src/router_flow_types/payouts.rs
hyperswitch_domain_models
struct_definition
PoRecipient
0
[]
44
null
null
null
null
null
null
null
// Struct: Card // File: crates/hyperswitch_connectors/src/connectors/globalpay/response.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct Card
crates/hyperswitch_connectors/src/connectors/globalpay/response.rs
hyperswitch_connectors
struct_definition
Card
0
[]
41
null
null
null
null
null
null
null
// Implementation: impl StreamData // File: crates/drainer/src/types.rs // Module: drainer // Methods: 1 total (1 public) impl StreamData
crates/drainer/src/types.rs
drainer
impl_block
null
null
null
36
null
StreamData
null
1
1
null
null
// Struct: GetCard // File: crates/router/src/core/payment_methods/transformers.rs // Module: router // Implementations: 0 pub struct GetCard<'a>
crates/router/src/core/payment_methods/transformers.rs
router
struct_definition
GetCard
0
[]
39
null
null
null
null
null
null
null
// Struct: DummyConnectorPaymentConfirmRequest // File: crates/router/src/routes/dummy_connector/types.rs // Module: router // Implementations: 0 pub struct DummyConnectorPaymentConfirmRequest
crates/router/src/routes/dummy_connector/types.rs
router
struct_definition
DummyConnectorPaymentConfirmRequest
0
[]
41
null
null
null
null
null
null
null
// Function: list_initial_webhook_delivery_attempts // File: crates/router/src/routes/webhook_events.rs // Module: router pub fn list_initial_webhook_delivery_attempts( state: web::Data<AppState>, req: HttpRequest, path: web::Path<common_utils::id_type::MerchantId>, json_payload: web::Json<EventListCon...
crates/router/src/routes/webhook_events.rs
router
function_signature
null
null
null
82
list_initial_webhook_delivery_attempts
null
null
null
null
null
null
// Function: get_scope_name // File: crates/router/src/services/authorization/permissions.rs // Module: router pub fn get_scope_name(scope: PermissionScope) -> &'static str
crates/router/src/services/authorization/permissions.rs
router
function_signature
null
null
null
39
get_scope_name
null
null
null
null
null
null
// Struct: TrustpayApplePayResponse // File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct TrustpayApplePayResponse
crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
hyperswitch_connectors
struct_definition
TrustpayApplePayResponse
0
[]
52
null
null
null
null
null
null
null
// Implementation: impl api::RefundSync for for Barclaycard // File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::RefundSync for for Barclaycard
crates/hyperswitch_connectors/src/connectors/barclaycard.rs
hyperswitch_connectors
impl_block
null
null
null
63
null
Barclaycard
api::RefundSync for
0
0
null
null
// Struct: ChargebackTransactionDetails // File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ChargebackTransactionDetails
crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
hyperswitch_connectors
struct_definition
ChargebackTransactionDetails
0
[]
51
null
null
null
null
null
null
null
// Function: payments_retrieve // File: crates/router/src/routes/payments.rs // Module: router pub fn payments_retrieve( state: web::Data<app::AppState>, req: actix_web::HttpRequest, path: web::Path<common_utils::id_type::PaymentId>, json_payload: web::Query<payment_types::PaymentRetrieveBody>, ) -> im...
crates/router/src/routes/payments.rs
router
function_signature
null
null
null
85
payments_retrieve
null
null
null
null
null
null
// Implementation: impl std::fmt::Debug for for RedisStore // File: crates/storage_impl/src/redis.rs // Module: storage_impl // Methods: 1 total (0 public) impl std::fmt::Debug for for RedisStore
crates/storage_impl/src/redis.rs
storage_impl
impl_block
null
null
null
51
null
RedisStore
std::fmt::Debug for
1
0
null
null
// Function: should_call_connector_create_customer // File: crates/router/src/core/payments/customers.rs // Module: router pub fn should_call_connector_create_customer<'a>( connector: &api::ConnectorData, customer: &'a Option<domain::Customer>, payment_attempt: &hyperswitch_domain_models::payments::payment...
crates/router/src/core/payments/customers.rs
router
function_signature
null
null
null
94
should_call_connector_create_customer
null
null
null
null
null
null
// File: crates/hyperswitch_interfaces/src/configs.rs // Module: hyperswitch_interfaces pub use hyperswitch_domain_models::connector_endpoints::Connectors;
crates/hyperswitch_interfaces/src/configs.rs
hyperswitch_interfaces
full_file
null
null
null
35
null
null
null
null
null
null
null
// Struct: RefundResponse // File: crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RefundResponse
crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs
hyperswitch_connectors
struct_definition
RefundResponse
0
[]
48
null
null
null
null
null
null
null
// Struct: PaymentInfo // File: crates/api_models/src/open_router.rs // Module: api_models // Implementations: 0 pub struct PaymentInfo
crates/api_models/src/open_router.rs
api_models
struct_definition
PaymentInfo
0
[]
34
null
null
null
null
null
null
null
// Function: compare_password // File: crates/router/src/types/domain/user.rs // Module: router pub fn compare_password(&self, candidate: &Secret<String>) -> UserResult<()>
crates/router/src/types/domain/user.rs
router
function_signature
null
null
null
39
compare_password
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 ConfirmSubscriptionRequest // File: crates/api_models/src/subscription.rs // Module: api_models // Methods: 2 total (2 public) impl ConfirmSubscriptionRequest
crates/api_models/src/subscription.rs
api_models
impl_block
null
null
null
39
null
ConfirmSubscriptionRequest
null
2
2
null
null
// Struct: ProcessingInformation // File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ProcessingInformation
crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
hyperswitch_connectors
struct_definition
ProcessingInformation
0
[]
47
null
null
null
null
null
null
null
// Implementation: impl Eq for for StrongSecret // File: crates/masking/src/strong_secret.rs // Module: masking // Methods: 0 total (0 public) impl Eq for for StrongSecret
crates/masking/src/strong_secret.rs
masking
impl_block
null
null
null
43
null
StrongSecret
Eq for
0
0
null
null
deserializer: D, ) -> Result<Option<enums::Currency>, D::Error> where D: serde::Deserializer<'de>, { let string_data: Option<String> = Option::deserialize(deserializer)?; match string_data { Some(ref value) if !value.is_empty() => value .clone() .parse_enum("Currency") ...
crates/hyperswitch_connectors/src/utils.rs#chunk10
hyperswitch_connectors
chunk
null
null
null
2,093
null
null
null
null
null
null
null
// Implementation: impl Responder // File: crates/router/src/routes/webhook_events.rs // Module: router // Methods: 0 total (0 public) impl Responder
crates/router/src/routes/webhook_events.rs
router
impl_block
null
null
null
37
null
Responder
null
0
0
null
null
// Struct: PaymentCaptureRequest // File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PaymentCaptureRequest
crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
hyperswitch_connectors
struct_definition
PaymentCaptureRequest
0
[]
47
null
null
null
null
null
null
null
// File: crates/masking/src/serde.rs // Module: masking // Public functions: 1 //! Serde-related. pub use erased_serde::Serialize as ErasedSerialize; pub use serde::{de, Deserialize, Serialize, Serializer}; use serde_json::{value::Serializer as JsonValueSerializer, Value}; use crate::{Secret, Strategy, StrongSecret,...
crates/masking/src/serde.rs
masking
full_file
null
null
null
3,970
null
null
null
null
null
null
null
// File: crates/common_types/src/three_ds_decision_rule_engine.rs // Module: common_types // Public functions: 2 // Public structs: 1 use common_utils::impl_to_sql_from_sql_json; use diesel::{sql_types::Jsonb, AsExpression, FromSqlRow}; use euclid::frontend::dir::{DirKeyKind, EuclidDirFilter}; use serde::{Deserialize,...
crates/common_types/src/three_ds_decision_rule_engine.rs
common_types
full_file
null
null
null
592
null
null
null
null
null
null
null
// Function: get_role_info_from_db // File: crates/router/src/utils/user.rs // Module: router pub fn get_role_info_from_db(&self, state: &SessionState) -> UserResult<RoleInfo>
crates/router/src/utils/user.rs
router
function_signature
null
null
null
46
get_role_info_from_db
null
null
null
null
null
null
// Struct: GetPaymentMetricRequest // File: crates/api_models/src/analytics.rs // Module: api_models // Implementations: 0 pub struct GetPaymentMetricRequest
crates/api_models/src/analytics.rs
api_models
struct_definition
GetPaymentMetricRequest
0
[]
38
null
null
null
null
null
null
null
// Implementation: impl WebhookDetails // File: crates/api_models/src/admin.rs // Module: api_models // Methods: 2 total (1 public) impl WebhookDetails
crates/api_models/src/admin.rs
api_models
impl_block
null
null
null
38
null
WebhookDetails
null
2
1
null
null
// Struct: DashboardRequestPayload // File: crates/connector_configs/src/common_config.rs // Module: connector_configs // Implementations: 0 pub struct DashboardRequestPayload
crates/connector_configs/src/common_config.rs
connector_configs
struct_definition
DashboardRequestPayload
0
[]
37
null
null
null
null
null
null
null
// Implementation: impl AcceptDispute for for Worldpayvantiv // File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl AcceptDispute for for Worldpayvantiv
crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
hyperswitch_connectors
impl_block
null
null
null
61
null
Worldpayvantiv
AcceptDispute for
0
0
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
// Struct: AnalysisError // File: crates/euclid/src/dssa/types.rs // Module: euclid // Implementations: 1 // Traits: fmt::Display pub struct AnalysisError
crates/euclid/src/dssa/types.rs
euclid
struct_definition
AnalysisError
1
[ "fmt::Display" ]
43
null
null
null
null
null
null
null
// Function: into_stripe_next_action // File: crates/router/src/compatibility/stripe/payment_intents/types.rs // Module: router pub fn into_stripe_next_action( next_action: Option<payments::NextActionData>, return_url: Option<String>, ) -> Option<StripeNextAction>
crates/router/src/compatibility/stripe/payment_intents/types.rs
router
function_signature
null
null
null
67
into_stripe_next_action
null
null
null
null
null
null
// File: crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs // Module: router // Public structs: 1 use api_models::payments::ExternalVaultProxyPaymentsRequest; use async_trait::async_trait; use common_enums::enums; use common_utils::{ crypto::Encryptable, ext_traits::{AsyncExt, V...
crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs
router
full_file
null
null
null
4,790
null
null
null
null
null
null
null
// Function: parse_evidence_type // File: crates/router/src/routes/disputes/utils.rs // Module: router pub fn parse_evidence_type( field: &mut Field, ) -> CustomResult<Option<disputes::EvidenceType>, errors::ApiErrorResponse>
crates/router/src/routes/disputes/utils.rs
router
function_signature
null
null
null
58
parse_evidence_type
null
null
null
null
null
null
// Struct: StripeBillingDetails // File: crates/router/src/compatibility/stripe/payment_intents/types.rs // Module: router // Implementations: 0 pub struct StripeBillingDetails
crates/router/src/compatibility/stripe/payment_intents/types.rs
router
struct_definition
StripeBillingDetails
0
[]
41
null
null
null
null
null
null
null
// Struct: CaptureResponseData // File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct CaptureResponseData
crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
hyperswitch_connectors
struct_definition
CaptureResponseData
0
[]
48
null
null
null
null
null
null
null
// Function: retry_webhook_delivery_attempt // File: crates/router/src/routes/webhook_events.rs // Module: router pub fn retry_webhook_delivery_attempt( state: web::Data<AppState>, req: HttpRequest, path: web::Path<(common_utils::id_type::MerchantId, String)
crates/router/src/routes/webhook_events.rs
router
function_signature
null
null
null
66
retry_webhook_delivery_attempt
null
null
null
null
null
null
// Function: authenticate_authentication_client_secret_and_check_expiry // File: crates/router/src/core/unified_authentication_service/utils.rs // Module: router pub fn authenticate_authentication_client_secret_and_check_expiry( req_client_secret: &String, authentication: &diesel_models::authentication::Authen...
crates/router/src/core/unified_authentication_service/utils.rs
router
function_signature
null
null
null
65
authenticate_authentication_client_secret_and_check_expiry
null
null
null
null
null
null
// Implementation: impl api::PaymentVoid for for Celero // File: crates/hyperswitch_connectors/src/connectors/celero.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentVoid for for Celero
crates/hyperswitch_connectors/src/connectors/celero.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Celero
api::PaymentVoid for
0
0
null
null
// Struct: AuthMethodDetails // File: crates/api_models/src/user.rs // Module: api_models // Implementations: 0 pub struct AuthMethodDetails
crates/api_models/src/user.rs
api_models
struct_definition
AuthMethodDetails
0
[]
35
null
null
null
null
null
null
null
// Struct: PartnerFlowCredentials // File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PartnerFlowCredentials
crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
hyperswitch_connectors
struct_definition
PartnerFlowCredentials
0
[]
47
null
null
null
null
null
null
null
// Implementation: impl Worldpayxml // File: crates/hyperswitch_connectors/src/connectors/worldpayxml.rs // Module: hyperswitch_connectors // Methods: 1 total (1 public) impl Worldpayxml
crates/hyperswitch_connectors/src/connectors/worldpayxml.rs
hyperswitch_connectors
impl_block
null
null
null
48
null
Worldpayxml
null
1
1
null
null
// Function: new // File: crates/hyperswitch_connectors/src/connectors/thunes.rs // Module: hyperswitch_connectors pub fn new() -> &'static Self
crates/hyperswitch_connectors/src/connectors/thunes.rs
hyperswitch_connectors
function_signature
null
null
null
38
new
null
null
null
null
null
null
// Function: profile_retrieve // File: crates/openapi/src/routes/profile.rs // Module: openapi pub fn profile_retrieve()
crates/openapi/src/routes/profile.rs
openapi
function_signature
null
null
null
30
profile_retrieve
null
null
null
null
null
null
// Implementation: impl AuthorizationInterface for for KafkaStore // File: crates/router/src/db/kafka_store.rs // Module: router // Methods: 3 total (0 public) impl AuthorizationInterface for for KafkaStore
crates/router/src/db/kafka_store.rs
router
impl_block
null
null
null
45
null
KafkaStore
AuthorizationInterface for
3
0
null
null
// Struct: ApplepayPaymentMethod // File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ApplepayPaymentMethod
crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
hyperswitch_connectors
struct_definition
ApplepayPaymentMethod
0
[]
50
null
null
null
null
null
null
null
// Implementation: impl PaymentToken for for Riskified // File: crates/hyperswitch_connectors/src/connectors/riskified.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl PaymentToken for for Riskified
crates/hyperswitch_connectors/src/connectors/riskified.rs
hyperswitch_connectors
impl_block
null
null
null
54
null
Riskified
PaymentToken for
0
0
null
null
// File: crates/router/src/core/webhooks/utils.rs // Module: router // Public functions: 5 use std::marker::PhantomData; use base64::Engine; use common_utils::{ consts, crypto::{self, GenerateDigest}, errors::CustomResult, ext_traits::ValueExt, }; use error_stack::{Report, ResultExt}; use redis_interf...
crates/router/src/core/webhooks/utils.rs
router
full_file
null
null
null
2,564
null
null
null
null
null
null
null
// File: crates/router/src/utils.rs // Module: router // Public functions: 24 pub mod chat; #[cfg(feature = "olap")] pub mod connector_onboarding; pub mod currency; pub mod db_utils; pub mod ext_traits; #[cfg(feature = "kv_store")] pub mod storage_partitioning; #[cfg(feature = "olap")] pub mod user; #[cfg(feature = "o...
crates/router/src/utils.rs#chunk0
router
chunk
null
null
null
8,181
null
null
null
null
null
null
null
// Struct: MockTokenizeDBValue // File: crates/router/src/core/payment_methods/vault.rs // Module: router // Implementations: 0 pub struct MockTokenizeDBValue
crates/router/src/core/payment_methods/vault.rs
router
struct_definition
MockTokenizeDBValue
0
[]
41
null
null
null
null
null
null
null
// Struct: BoletoVoucherData // File: crates/hyperswitch_domain_models/src/payment_method_data.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct BoletoVoucherData
crates/hyperswitch_domain_models/src/payment_method_data.rs
hyperswitch_domain_models
struct_definition
BoletoVoucherData
0
[]
49
null
null
null
null
null
null
null
// Implementation: impl PaymentSession for for Cybersource // File: crates/hyperswitch_connectors/src/connectors/cybersource.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl PaymentSession for for Cybersource
crates/hyperswitch_connectors/src/connectors/cybersource.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Cybersource
PaymentSession for
0
0
null
null
pub threeds_method_comp_ind: ThreeDsCompletionIndicator, } /// Indicates if 3DS method data was successfully completed or not #[derive(Debug, serde::Serialize, serde::Deserialize, Clone, ToSchema)] pub struct PaymentsManualUpdateRequest { /// The identifier for the payment #[serde(skip)] pub payment_id...
crates/api_models/src/payments.rs#chunk10
api_models
chunk
null
null
null
8,181
null
null
null
null
null
null
null
// Struct: ZeroMandates // File: crates/payment_methods/src/configs/settings.rs // Module: payment_methods // Implementations: 0 pub struct ZeroMandates
crates/payment_methods/src/configs/settings.rs
payment_methods
struct_definition
ZeroMandates
0
[]
39
null
null
null
null
null
null
null
// Struct: AuthenticationErrorMessage // File: crates/api_models/src/analytics/auth_events.rs // Module: api_models // Implementations: 0 pub struct AuthenticationErrorMessage
crates/api_models/src/analytics/auth_events.rs
api_models
struct_definition
AuthenticationErrorMessage
0
[]
36
null
null
null
null
null
null
null
// Struct: RefundResponse // File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RefundResponse
crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
hyperswitch_connectors
struct_definition
RefundResponse
0
[]
47
null
null
null
null
null
null
null