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
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs // Module: hyperswitch_connectors // Public structs: 23 use api_models::payments::{KlarnaSessionTokenResponse, SessionToken}; use common_enums::enums; use common_utils::{pii, types::MinorUnit}; use error_stack::{report, ResultExt}; use hypers...
crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
hyperswitch_connectors
full_file
null
null
null
5,376
null
null
null
null
null
null
null
// Struct: NoonWebhookOrderId // File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct NoonWebhookOrderId
crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
hyperswitch_connectors
struct_definition
NoonWebhookOrderId
0
[]
49
null
null
null
null
null
null
null
// Struct: WellsfargoErrorInformationResponse // File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct WellsfargoErrorInformationResponse
crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
hyperswitch_connectors
struct_definition
WellsfargoErrorInformationResponse
0
[]
55
null
null
null
null
null
null
null
// Trait: Metadata // File: crates/hyperswitch_constraint_graph/src/types.rs // Module: hyperswitch_constraint_graph pub trait Metadata: erased_serde::Serialize + Any + Send + Sync + fmt::Debug
crates/hyperswitch_constraint_graph/src/types.rs
hyperswitch_constraint_graph
trait_definition
null
null
null
46
null
null
Metadata
null
null
null
null
// Function: fetch_qr_code_url_next_steps_check // File: crates/router/src/core/payments/transformers.rs // Module: router pub fn fetch_qr_code_url_next_steps_check( payment_attempt: storage::PaymentAttempt, ) -> RouterResult<Option<api_models::payments::FetchQrCodeInformation>>
crates/router/src/core/payments/transformers.rs
router
function_signature
null
null
null
68
fetch_qr_code_url_next_steps_check
null
null
null
null
null
null
// Function: fetch_merchant_account_for_network_token_webhooks // File: crates/router/src/core/webhooks/network_tokenization_incoming.rs // Module: router pub fn fetch_merchant_account_for_network_token_webhooks( state: &SessionState, merchant_id: &id_type::MerchantId, ) -> RouterResult<domain::MerchantContext...
crates/router/src/core/webhooks/network_tokenization_incoming.rs
router
function_signature
null
null
null
74
fetch_merchant_account_for_network_token_webhooks
null
null
null
null
null
null
// Implementation: impl ConnectorRedirectResponse for for Nmi // File: crates/hyperswitch_connectors/src/connectors/nmi.rs // Module: hyperswitch_connectors // Methods: 1 total (0 public) impl ConnectorRedirectResponse for for Nmi
crates/hyperswitch_connectors/src/connectors/nmi.rs
hyperswitch_connectors
impl_block
null
null
null
55
null
Nmi
ConnectorRedirectResponse for
1
0
null
null
// Struct: PayuAuthUpdateResponse // File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PayuAuthUpdateResponse
crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
hyperswitch_connectors
struct_definition
PayuAuthUpdateResponse
0
[]
51
null
null
null
null
null
null
null
// Struct: RapydWallet // File: crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RapydWallet
crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs
hyperswitch_connectors
struct_definition
RapydWallet
0
[]
50
null
null
null
null
null
null
null
// Struct: NetworkTokenData // File: crates/hyperswitch_domain_models/src/payment_method_data.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct NetworkTokenData
crates/hyperswitch_domain_models/src/payment_method_data.rs
hyperswitch_domain_models
struct_definition
NetworkTokenData
0
[]
43
null
null
null
null
null
null
null
// Implementation: impl Adyenplatform // File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs // Module: hyperswitch_connectors // Methods: 1 total (0 public) impl Adyenplatform
crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
hyperswitch_connectors
impl_block
null
null
null
49
null
Adyenplatform
null
1
0
null
null
// Function: mk_get_card_request // File: crates/router/src/core/payment_methods/transformers.rs // Module: router pub fn mk_get_card_request( locker: &settings::Locker, locker_id: &'static str, card_id: &'static str, ) -> CustomResult<services::Request, errors::VaultError>
crates/router/src/core/payment_methods/transformers.rs
router
function_signature
null
null
null
72
mk_get_card_request
null
null
null
null
null
null
// Implementation: impl InvoiceHandler // File: crates/router/src/core/subscription.rs // Module: router // Methods: 3 total (0 public) impl InvoiceHandler
crates/router/src/core/subscription.rs
router
impl_block
null
null
null
36
null
InvoiceHandler
null
3
0
null
null
// Struct: ApiEventMetricRow // File: crates/analytics/src/api_event/metrics.rs // Module: analytics // Implementations: 0 pub struct ApiEventMetricRow
crates/analytics/src/api_event/metrics.rs
analytics
struct_definition
ApiEventMetricRow
0
[]
39
null
null
null
null
null
null
null
// Function: set_tenancy // File: crates/router/src/services/kafka.rs // Module: router pub fn set_tenancy(&mut self, tenant_config: &dyn TenantConfig)
crates/router/src/services/kafka.rs
router
function_signature
null
null
null
40
set_tenancy
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: validate // File: crates/scheduler/src/configs/validations.rs // Module: scheduler pub fn validate(&self) -> Result<(), ApplicationError>
crates/scheduler/src/configs/validations.rs
scheduler
function_signature
null
null
null
36
validate
null
null
null
null
null
null
// Function: get_inner_db_merchant_connector_account // File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs // Module: hyperswitch_domain_models pub fn get_inner_db_merchant_connector_account(&self) -> Option<&MerchantConnectorAccount>
crates/hyperswitch_domain_models/src/merchant_connector_account.rs
hyperswitch_domain_models
function_signature
null
null
null
55
get_inner_db_merchant_connector_account
null
null
null
null
null
null
// Struct: IterMut // File: crates/hyperswitch_constraint_graph/src/dense_map.rs // Module: hyperswitch_constraint_graph // Implementations: 2 // Traits: Iterator pub struct IterMut<'a, K, V>
crates/hyperswitch_constraint_graph/src/dense_map.rs
hyperswitch_constraint_graph
struct_definition
IterMut
2
[ "Iterator" ]
53
null
null
null
null
null
null
null
// Struct: BillingAddress // File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct BillingAddress
crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
hyperswitch_connectors
struct_definition
BillingAddress
0
[]
47
null
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
// Implementation: impl NetworkTokenRequestorData // File: crates/router/src/types/payment_methods.rs // Module: router // Methods: 1 total (1 public) impl NetworkTokenRequestorData
crates/router/src/types/payment_methods.rs
router
impl_block
null
null
null
42
null
NetworkTokenRequestorData
null
1
1
null
null
// File: crates/router/tests/connectors/affirm.rs // Module: router use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData}; use masking::Secret; use router::types::{self, api, storage::enums}; use test_utils::connector_auth; use crate::utils::{self, ConnectorActions}; #[derive(Clone, Copy)] st...
crates/router/tests/connectors/affirm.rs
router
full_file
null
null
null
2,932
null
null
null
null
null
null
null
// Struct: ChargebeeRecordbackResponse // File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ChargebeeRecordbackResponse
crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
hyperswitch_connectors
struct_definition
ChargebeeRecordbackResponse
0
[]
52
null
null
null
null
null
null
null
// Implementation: impl PaymentAttemptInterface for for KafkaStore // File: crates/router/src/db/kafka_store.rs // Module: router // Methods: 19 total (0 public) impl PaymentAttemptInterface for for KafkaStore
crates/router/src/db/kafka_store.rs
router
impl_block
null
null
null
48
null
KafkaStore
PaymentAttemptInterface for
19
0
null
null
// Function: get_nti_and_card_details_for_mit_flow // File: crates/hyperswitch_domain_models/src/payment_method_data.rs // Module: hyperswitch_domain_models pub fn get_nti_and_card_details_for_mit_flow( recurring_details: mandates::RecurringDetails, ) -> Option<(api_models::payments::MandateReferenceId, Se...
crates/hyperswitch_domain_models/src/payment_method_data.rs
hyperswitch_domain_models
function_signature
null
null
null
79
get_nti_and_card_details_for_mit_flow
null
null
null
null
null
null
// Function: delete_theme // File: crates/router/src/routes/user/theme.rs // Module: router pub fn delete_theme( state: web::Data<AppState>, req: HttpRequest, path: web::Path<String>, ) -> HttpResponse
crates/router/src/routes/user/theme.rs
router
function_signature
null
null
null
52
delete_theme
null
null
null
null
null
null
// Function: modify_trackers // File: crates/router/src/core/payments/retry.rs // Module: router pub fn modify_trackers<F, FData, D>( state: &routes::SessionState, connector: String, payment_data: &mut D, key_store: &domain::MerchantKeyStore, storage_scheme: storage_enums::MerchantStorageScheme, ...
crates/router/src/core/payments/retry.rs
router
function_signature
null
null
null
159
modify_trackers
null
null
null
null
null
null
// Function: build_generic_expired_link_html // File: crates/router/src/services/api/generic_link_response.rs // Module: router pub fn build_generic_expired_link_html( link_data: &GenericExpiredLinkData, ) -> CustomResult<String, errors::ApiErrorResponse>
crates/router/src/services/api/generic_link_response.rs
router
function_signature
null
null
null
57
build_generic_expired_link_html
null
null
null
null
null
null
// Struct: CheckbookAuthType // File: crates/hyperswitch_connectors/src/connectors/checkbook/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct CheckbookAuthType
crates/hyperswitch_connectors/src/connectors/checkbook/transformers.rs
hyperswitch_connectors
struct_definition
CheckbookAuthType
0
[]
49
null
null
null
null
null
null
null
// File: crates/hyperswitch_domain_models/src/router_request_types.rs // Module: hyperswitch_domain_models // Public functions: 2 // Public structs: 54 pub mod authentication; pub mod fraud_check; pub mod revenue_recovery; pub mod subscriptions; pub mod unified_authentication_service; use api_models::payments::{Additi...
crates/hyperswitch_domain_models/src/router_request_types.rs#chunk0
hyperswitch_domain_models
chunk
null
null
null
8,187
null
null
null
null
null
null
null