id
stringlengths
20
153
type
stringclasses
1 value
granularity
stringclasses
14 values
content
stringlengths
16
84.3k
metadata
dict
hyperswitch_struct_router_-6331753979778951248
clm
struct
// hyperswitch/crates/router/src/core/webhooks/recovery_incoming.rs pub struct RecoveryAction { pub action: common_types::payments::RecoveryAction, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "RecoveryAction", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-2681423666681137738
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/surcharge_decision_configs.rs pub struct VirInterpreterBackendCacheWrapper { cached_algorithm: backend::VirInterpreterBackend<SurchargeDecisionConfigs>, merchant_surcharge_configs: surcharge_decision_configs::MerchantSurchargeConfigs, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "VirInterpreterBackendCacheWrapper", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_635979177975427642
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub struct StoreCardReq { pub merchant_id: id_type::MerchantId, pub merchant_customer_id: id_type::CustomerId, #[serde(skip_serializing_if = "Option::is_none")] pub requestor_card_reference: Option<String>, pub card: Card, pub ttl: i64, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "StoreCardReq", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-6929650623494947447
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub struct StoreGenericReq { pub merchant_id: id_type::MerchantId, pub merchant_customer_id: id_type::CustomerId, #[serde(rename = "enc_card_data")] pub enc_data: String, pub ttl: i64, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "StoreGenericReq", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_7107366517535378113
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub struct StoreCardResp { pub status: String, pub error_message: Option<String>, pub error_code: Option<String>, pub payload: Option<StoreCardRespPayload>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "StoreCardResp", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_7646843441257634164
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub struct StoreCardRespPayload { pub card_reference: String, pub duplication_check: Option<DataDuplicationCheck>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "StoreCardRespPayload", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_3187195566263603431
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub struct CardReqBody { pub merchant_id: id_type::MerchantId, pub merchant_customer_id: id_type::CustomerId, pub card_reference: String, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "CardReqBody", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_8835784204586010780
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub struct CardReqBodyV2 { pub merchant_id: id_type::MerchantId, pub merchant_customer_id: String, // Not changing this as it might lead to api contract failure pub card_reference: String, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "CardReqBodyV2", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_8050694868434552107
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub struct RetrieveCardResp { pub status: String, pub error_message: Option<String>, pub error_code: Option<String>, pub payload: Option<RetrieveCardRespPayload>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "RetrieveCardResp", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-6908330983021601180
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub struct RetrieveCardRespPayload { pub card: Option<Card>, pub enc_card_data: Option<Secret<String>>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "RetrieveCardRespPayload", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_9223203689698297268
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub struct AddCardRequest { pub card_number: cards::CardNumber, pub customer_id: id_type::CustomerId, pub card_exp_month: Secret<String>, pub card_exp_year: Secret<String>, pub merchant_id: id_type::MerchantId, pub email_address: Option<Email>, pub name_on_card: Option<Secret<String>>, pub nickname: Option<String>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "AddCardRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-1451422587349387484
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub struct AddCardResponse { pub card_id: String, pub external_id: String, pub card_fingerprint: Secret<String>, pub card_global_fingerprint: Secret<String>, #[serde(rename = "merchant_id")] pub merchant_id: Option<id_type::MerchantId>, pub card_number: Option<cards::CardNumber>, pub card_exp_year: Option<Secret<String>>, pub card_exp_month: Option<Secret<String>>, pub name_on_card: Option<Secret<String>>, pub nickname: Option<String>, pub customer_id: Option<id_type::CustomerId>, pub duplicate: Option<bool>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "AddCardResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_8936803509256628983
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub struct AddPaymentMethodResponse { pub payment_method_id: String, pub external_id: String, #[serde(rename = "merchant_id")] pub merchant_id: Option<id_type::MerchantId>, pub nickname: Option<String>, pub customer_id: Option<id_type::CustomerId>, pub duplicate: Option<bool>, pub payment_method_data: Secret<String>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "AddPaymentMethodResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_8677234775726627163
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub struct GetPaymentMethodResponse { pub payment_method: AddPaymentMethodResponse, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "GetPaymentMethodResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-8567410088803871500
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub struct GetCardResponse { pub card: AddCardResponse, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "GetCardResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_5674730712019579964
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub struct GetCard<'a> { merchant_id: &'a str, card_id: &'a str, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "GetCard", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_1774327589567923880
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub struct DeleteCardResponse { pub card_id: Option<String>, pub external_id: Option<String>, pub card_isin: Option<Secret<String>>, pub status: String, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "DeleteCardResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-5513867214160667254
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub struct PaymentMethodMetadata { pub payment_method_tokenization: std::collections::HashMap<String, String>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "PaymentMethodMetadata", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_5539119635859232537
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/tokenize.rs pub struct CardNetworkTokenizeForm { #[multipart(limit = "1MB")] pub file: Bytes, pub merchant_id: Text<id_type::MerchantId>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "CardNetworkTokenizeForm", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-2212273296917473125
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/migration.rs pub struct PaymentMethodsUpdateForm { #[multipart(limit = "1MB")] pub file: bytes::Bytes, pub merchant_id: text::Text<id_type::MerchantId>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "PaymentMethodsUpdateForm", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_799642552784242440
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/vault.rs pub struct TokenizedWalletSensitiveValues { pub email: Option<Email>, pub telephone_number: Option<masking::Secret<String>>, pub wallet_id: Option<masking::Secret<String>>, pub wallet_type: PaymentMethodType, pub dpan: Option<cards::CardNumber>, pub expiry_month: Option<masking::Secret<String>>, pub expiry_year: Option<masking::Secret<String>>, pub card_holder_name: Option<masking::Secret<String>>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "TokenizedWalletSensitiveValues", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-6207330885110920552
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/vault.rs pub struct TokenizedWalletInsensitiveValues { pub customer_id: Option<id_type::CustomerId>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "TokenizedWalletInsensitiveValues", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_3427870022975056969
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/vault.rs pub struct TokenizedBankSensitiveValues { pub bank_account_number: Option<masking::Secret<String>>, pub bank_routing_number: Option<masking::Secret<String>>, pub bic: Option<masking::Secret<String>>, pub bank_sort_code: Option<masking::Secret<String>>, pub iban: Option<masking::Secret<String>>, pub pix_key: Option<masking::Secret<String>>, pub tax_id: Option<masking::Secret<String>>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "TokenizedBankSensitiveValues", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_5467982082316629790
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/vault.rs pub struct TokenizedBankInsensitiveValues { pub customer_id: Option<id_type::CustomerId>, pub bank_name: Option<String>, pub bank_country_code: Option<api::enums::CountryAlpha2>, pub bank_city: Option<String>, pub bank_branch: Option<String>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "TokenizedBankInsensitiveValues", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_8696235444893088277
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/vault.rs pub struct TokenizedBankRedirectSensitiveValues { pub email: Email, pub bank_redirect_type: PaymentMethodType, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "TokenizedBankRedirectSensitiveValues", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_1462176579461397354
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/vault.rs pub struct TokenizedBankRedirectInsensitiveValues { pub customer_id: Option<id_type::CustomerId>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "TokenizedBankRedirectInsensitiveValues", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-759258724096022673
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/vault.rs pub struct MockTokenizeDBValue { pub value1: String, pub value2: String, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "MockTokenizeDBValue", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_346734408240879929
clm
struct
// hyperswitch/crates/router/src/core/payment_methods/vault.rs pub struct TemporaryVaultCvc { card_cvc: masking::Secret<String>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "TemporaryVaultCvc", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-7673742041271358167
clm
struct
// hyperswitch/crates/router/src/bin/scheduler.rs pub struct WorkflowRunner;
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "WorkflowRunner", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-1061995721102879180
clm
struct
// hyperswitch/crates/router/src/workflows/revenue_recovery.rs struct InternalDeciderRequest { first_error_message: String, billing_state: Option<Secret<String>>, card_funding: Option<String>, card_network: Option<String>, card_issuer: Option<String>, invoice_start_time: Option<prost_types::Timestamp>, retry_count: Option<i64>, merchant_id: Option<String>, invoice_amount: Option<i64>, invoice_currency: Option<String>, invoice_due_date: Option<prost_types::Timestamp>, billing_country: Option<String>, billing_city: Option<String>, attempt_currency: Option<String>, attempt_status: Option<String>, attempt_amount: Option<i64>, pg_error_code: Option<String>, network_advice_code: Option<String>, network_error_code: Option<String>, first_pg_error_code: Option<String>, first_network_advice_code: Option<String>, first_network_error_code: Option<String>, attempt_response_time: Option<prost_types::Timestamp>, payment_method_type: Option<String>, payment_gateway: Option<String>, retry_count_left: Option<i64>, total_retry_count_within_network: Option<i64>, first_error_msg_time: Option<prost_types::Timestamp>, wait_time: Option<prost_types::Timestamp>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "InternalDeciderRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-7932868533128048795
clm
struct
// hyperswitch/crates/router/src/workflows/revenue_recovery.rs pub struct ScheduledToken { pub token_details: PaymentProcessorTokenDetails, pub schedule_time: time::PrimitiveDateTime, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "ScheduledToken", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_311877074357160404
clm
struct
// hyperswitch/crates/router/src/utils/currency.rs pub struct FxExchangeRatesCacheEntry { pub data: Arc<ExchangeRates>, timestamp: i64, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "FxExchangeRatesCacheEntry", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-1260137840906234438
clm
struct
// hyperswitch/crates/router/src/utils/currency.rs struct ForexResponse { pub rates: HashMap<String, FloatDecimal>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "ForexResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-5519535200249776642
clm
struct
// hyperswitch/crates/router/src/utils/currency.rs struct FallbackForexResponse { pub quotes: HashMap<String, FloatDecimal>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "FallbackForexResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_3699186959760477339
clm
struct
// hyperswitch/crates/router/src/utils/currency.rs struct FloatDecimal(#[serde(with = "rust_decimal::serde::float")] Decimal);
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "FloatDecimal", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_2791056937567263065
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct CmdLineConf { /// Config file. /// Application will look for "config/config.toml" if this option isn't specified. #[arg(short = 'f', long, value_name = "FILE")] pub config_path: Option<PathBuf>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "CmdLineConf", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-2468058615606694091
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct Settings<S: SecretState> { pub server: Server, pub proxy: Proxy, pub env: Env, pub chat: SecretStateContainer<ChatSettings, S>, pub master_database: SecretStateContainer<Database, S>, #[cfg(feature = "olap")] pub replica_database: SecretStateContainer<Database, S>, pub redis: RedisSettings, pub log: Log, pub secrets: SecretStateContainer<Secrets, S>, pub fallback_merchant_ids_api_key_auth: Option<FallbackMerchantIds>, pub locker: Locker, pub key_manager: SecretStateContainer<KeyManagerConfig, S>, pub connectors: Connectors, pub forex_api: SecretStateContainer<ForexApi, S>, pub refund: Refund, pub eph_key: EphemeralConfig, pub scheduler: Option<SchedulerSettings>, #[cfg(feature = "kv_store")] pub drainer: DrainerSettings, pub jwekey: SecretStateContainer<Jwekey, S>, pub webhooks: WebhooksSettings, pub pm_filters: ConnectorFilters, pub bank_config: BankRedirectConfig, pub api_keys: SecretStateContainer<ApiKeys, S>, pub file_storage: FileStorageConfig, pub encryption_management: EncryptionManagementConfig, pub secrets_management: SecretsManagementConfig, pub tokenization: TokenizationConfig, pub connector_customer: ConnectorCustomer, #[cfg(feature = "dummy_connector")] pub dummy_connector: DummyConnector, #[cfg(feature = "email")] pub email: EmailSettings, pub user: UserSettings, pub crm: CrmManagerConfig, pub cors: CorsSettings, pub mandates: Mandates, pub zero_mandates: ZeroMandates, pub network_transaction_id_supported_connectors: NetworkTransactionIdSupportedConnectors, pub list_dispute_supported_connectors: ListDiputeSupportedConnectors, pub required_fields: RequiredFields, pub delayed_session_response: DelayedSessionConfig, pub webhook_source_verification_call: WebhookSourceVerificationCall, pub billing_connectors_payment_sync: BillingConnectorPaymentsSyncCall, pub billing_connectors_invoice_sync: BillingConnectorInvoiceSyncCall, pub payment_method_auth: SecretStateContainer<PaymentMethodAuth, S>, pub connector_request_reference_id_config: ConnectorRequestReferenceIdConfig, #[cfg(feature = "payouts")] pub payouts: Payouts, pub payout_method_filters: ConnectorFilters, pub l2_l3_data_config: L2L3DataConfig, pub debit_routing_config: DebitRoutingConfig, pub applepay_decrypt_keys: SecretStateContainer<ApplePayDecryptConfig, S>, pub paze_decrypt_keys: Option<SecretStateContainer<PazeDecryptConfig, S>>, pub google_pay_decrypt_keys: Option<GooglePayDecryptConfig>, pub multiple_api_version_supported_connectors: MultipleApiVersionSupportedConnectors, pub applepay_merchant_configs: SecretStateContainer<ApplepayMerchantConfigs, S>, pub lock_settings: LockSettings, pub temp_locker_enable_config: TempLockerEnableConfig, pub generic_link: GenericLink, pub payment_link: PaymentLink, #[cfg(feature = "olap")] pub analytics: SecretStateContainer<AnalyticsConfig, S>, #[cfg(feature = "kv_store")] pub kv_config: KvConfig, #[cfg(feature = "frm")] pub frm: Frm, #[cfg(feature = "olap")] pub report_download_config: ReportConfig, #[cfg(feature = "olap")] pub opensearch: OpenSearchConfig, pub events: EventsConfig, #[cfg(feature = "olap")] pub connector_onboarding: SecretStateContainer<ConnectorOnboarding, S>, pub unmasked_headers: UnmaskedHeaders, pub multitenancy: Multitenancy, pub saved_payment_methods: EligiblePaymentMethods, pub user_auth_methods: SecretStateContainer<UserAuthMethodSettings, S>, pub decision: Option<DecisionConfig>, pub locker_based_open_banking_connectors: LockerBasedRecipientConnectorList, pub grpc_client: GrpcClientSettings, #[cfg(feature = "v2")] pub cell_information: CellInformation, pub network_tokenization_supported_card_networks: NetworkTokenizationSupportedCardNetworks, pub network_tokenization_service: Option<SecretStateContainer<NetworkTokenizationService, S>>, pub network_tokenization_supported_connectors: NetworkTokenizationSupportedConnectors, pub theme: ThemeSettings, pub platform: Platform, pub authentication_providers: AuthenticationProviders, pub open_router: OpenRouter, #[cfg(feature = "v2")] pub revenue_recovery: revenue_recovery::RevenueRecoverySettings, pub clone_connector_allowlist: Option<CloneConnectorAllowlistConfig>, pub merchant_id_auth: MerchantIdAuthSettings, pub internal_merchant_id_profile_id_auth: InternalMerchantIdProfileIdAuthSettings, #[serde(default)] pub infra_values: Option<HashMap<String, String>>, #[serde(default)] pub enhancement: Option<HashMap<String, String>>, pub superposition: SecretStateContainer<SuperpositionClientConfig, S>, pub proxy_status_mapping: ProxyStatusMapping, pub internal_services: InternalServicesConfig, pub comparison_service: Option<ComparisonServiceConfig>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "Settings", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-6131357616560179690
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct DebitRoutingConfig { #[serde(deserialize_with = "deserialize_hashmap")] pub connector_supported_debit_networks: HashMap<enums::Connector, HashSet<enums::CardNetwork>>, #[serde(deserialize_with = "deserialize_hashset")] pub supported_currencies: HashSet<enums::Currency>, #[serde(deserialize_with = "deserialize_hashset")] pub supported_connectors: HashSet<enums::Connector>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "DebitRoutingConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-4632988241214590870
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct OpenRouter { pub dynamic_routing_enabled: bool, pub static_routing_enabled: bool, pub url: String, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "OpenRouter", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-6046698339253585775
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct CloneConnectorAllowlistConfig { #[serde(deserialize_with = "deserialize_merchant_ids")] pub merchant_ids: HashSet<id_type::MerchantId>, #[serde(deserialize_with = "deserialize_hashset")] pub connector_names: HashSet<enums::Connector>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "CloneConnectorAllowlistConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-2745808243210283889
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct ComparisonServiceConfig { pub url: Url, pub enabled: bool, pub timeout_secs: Option<u64>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "ComparisonServiceConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_5996757168123403127
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct Platform { pub enabled: bool, pub allow_connected_merchants: bool, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "Platform", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_6824307547688228024
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct ChatSettings { pub enabled: bool, pub hyperswitch_ai_host: String, pub encryption_key: Secret<String>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "ChatSettings", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_8559506790171752446
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct Multitenancy { pub tenants: TenantConfig, pub enabled: bool, pub global_tenant: GlobalTenant, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "Multitenancy", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-2325743412172808940
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct DecisionConfig { pub base_url: String, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "DecisionConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-4944691335562511823
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct TenantConfig(pub HashMap<id_type::TenantId, Tenant>);
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "TenantConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_8506576237848737019
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct L2L3DataConfig { pub enabled: bool, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "L2L3DataConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_7008422048323540908
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct UnmaskedHeaders { #[serde(deserialize_with = "deserialize_hashset")] pub keys: HashSet<String>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "UnmaskedHeaders", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-5327487692954742724
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct Frm { pub enabled: bool, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "Frm", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-2592091186615407870
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct KvConfig { pub ttl: u32, pub soft_kill: Option<bool>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "KvConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_4188645027719810599
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct KeyManagerConfig { pub enabled: bool, pub url: String, #[cfg(feature = "keymanager_mtls")] pub cert: Secret<String>, #[cfg(feature = "keymanager_mtls")] pub ca: Secret<String>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "KeyManagerConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_387133278787384181
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct GenericLink { pub payment_method_collect: GenericLinkEnvConfig, pub payout_link: GenericLinkEnvConfig, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "GenericLink", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_6829706396735065111
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct GenericLinkEnvConfig { pub sdk_url: url::Url, pub expiry: u32, pub ui_config: GenericLinkEnvUiConfig, #[serde(deserialize_with = "deserialize_hashmap")] pub enabled_payment_methods: HashMap<enums::PaymentMethod, HashSet<enums::PaymentMethodType>>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "GenericLinkEnvConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-473378870373508700
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct GenericLinkEnvUiConfig { pub logo: url::Url, pub merchant_name: Secret<String>, pub theme: String, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "GenericLinkEnvUiConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-6717348051321507945
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct PaymentLink { pub sdk_url: url::Url, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "PaymentLink", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_4567081066714092969
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct ForexApi { pub api_key: Secret<String>, pub fallback_api_key: Secret<String>, pub data_expiration_delay_in_seconds: u32, pub redis_lock_timeout_in_seconds: u32, pub redis_ttl_in_seconds: u32, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "ForexApi", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_4177177758702048823
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct DefaultExchangeRates { pub base_currency: String, pub conversion: HashMap<String, Conversion>, pub timestamp: i64, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "DefaultExchangeRates", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_5171344739171687630
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct Conversion { #[serde(with = "rust_decimal::serde::str")] pub to_factor: Decimal, #[serde(with = "rust_decimal::serde::str")] pub from_factor: Decimal, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "Conversion", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-1105961084119335906
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct ApplepayMerchantConfigs { pub merchant_cert: Secret<String>, pub merchant_cert_key: Secret<String>, pub common_merchant_identifier: Secret<String>, pub applepay_endpoint: String, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "ApplepayMerchantConfigs", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_5456350201423478146
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct MultipleApiVersionSupportedConnectors { #[serde(deserialize_with = "deserialize_hashset")] pub supported_connectors: HashSet<enums::Connector>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "MultipleApiVersionSupportedConnectors", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-4415509900949421576
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct TokenizationConfig(pub HashMap<String, PaymentMethodTokenFilter>);
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "TokenizationConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-6103407969136069439
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct TempLockerEnableConfig(pub HashMap<String, TempLockerEnablePaymentMethodFilter>);
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "TempLockerEnableConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-5876197928455744674
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct ConnectorCustomer { #[cfg(feature = "payouts")] #[serde(deserialize_with = "deserialize_hashset")] pub payout_connector_list: HashSet<enums::PayoutConnectors>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "ConnectorCustomer", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_4882971232116005313
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct DummyConnector { pub enabled: bool, pub payment_ttl: i64, pub payment_duration: u64, pub payment_tolerance: u64, pub payment_retrieve_duration: u64, pub payment_retrieve_tolerance: u64, pub payment_complete_duration: i64, pub payment_complete_tolerance: i64, pub refund_ttl: i64, pub refund_duration: u64, pub refund_tolerance: u64, pub refund_retrieve_duration: u64, pub refund_retrieve_tolerance: u64, pub authorize_ttl: i64, pub assets_base_url: String, pub default_return_url: String, pub slack_invite_url: String, pub discord_invite_url: String, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "DummyConnector", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-8300235975138895031
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct CorsSettings { #[serde(default, deserialize_with = "deserialize_hashset")] pub origins: HashSet<String>, #[serde(default)] pub wildcard_origin: bool, pub max_age: usize, #[serde(deserialize_with = "deserialize_hashset")] pub allowed_methods: HashSet<String>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "CorsSettings", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_939444635231800710
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct AuthenticationProviders { #[serde(deserialize_with = "deserialize_connector_list")] pub click_to_pay: HashSet<enums::Connector>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "AuthenticationProviders", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_7915192714975343155
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs struct Wrapper { connector_list: String, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "Wrapper", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-4093358484619559283
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct NetworkTransactionIdSupportedConnectors { #[serde(deserialize_with = "deserialize_hashset")] pub connector_list: HashSet<enums::Connector>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "NetworkTransactionIdSupportedConnectors", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-2356889321533470177
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct ListDiputeSupportedConnectors { #[serde(deserialize_with = "deserialize_hashset")] pub connector_list: HashSet<enums::Connector>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "ListDiputeSupportedConnectors", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_7599256152127507037
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct NetworkTokenizationSupportedCardNetworks { #[serde(deserialize_with = "deserialize_hashset")] pub card_networks: HashSet<enums::CardNetwork>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "NetworkTokenizationSupportedCardNetworks", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_8703496057403261177
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct NetworkTokenizationService { pub generate_token_url: url::Url, pub fetch_token_url: url::Url, pub token_service_api_key: Secret<String>, pub public_key: Secret<String>, pub private_key: Secret<String>, pub key_id: String, pub delete_token_url: url::Url, pub check_token_status_url: url::Url, pub webhook_source_verification_key: Secret<String>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "NetworkTokenizationService", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-1593080295319211830
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct PaymentMethodTokenFilter { #[serde(deserialize_with = "deserialize_hashset")] pub payment_method: HashSet<diesel_models::enums::PaymentMethod>, pub payment_method_type: Option<PaymentMethodTypeTokenFilter>, pub long_lived_token: bool, pub apple_pay_pre_decrypt_flow: Option<ApplePayPreDecryptFlow>, pub google_pay_pre_decrypt_flow: Option<GooglePayPreDecryptFlow>, pub flow: Option<PaymentFlow>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "PaymentMethodTokenFilter", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_3614240278921292277
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct TempLockerEnablePaymentMethodFilter { #[serde(deserialize_with = "deserialize_hashset")] pub payment_method: HashSet<diesel_models::enums::PaymentMethod>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "TempLockerEnablePaymentMethodFilter", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-3223803910448640234
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct ConnectorFilters(pub HashMap<String, PaymentMethodFilters>);
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "ConnectorFilters", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-7791757415170104383
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct PaymentMethodFilters(pub HashMap<PaymentMethodFilterKey, CurrencyCountryFlowFilter>);
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "PaymentMethodFilters", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_2037299846026093645
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct CurrencyCountryFlowFilter { #[serde(deserialize_with = "deserialize_optional_hashset")] pub currency: Option<HashSet<enums::Currency>>, #[serde(deserialize_with = "deserialize_optional_hashset")] pub country: Option<HashSet<enums::CountryAlpha2>>, pub not_available_flows: Option<NotAvailableFlows>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "CurrencyCountryFlowFilter", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-2552814629005253438
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct NotAvailableFlows { pub capture_method: Option<enums::CaptureMethod>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "NotAvailableFlows", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-7995080474791670934
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct Secrets { pub jwt_secret: Secret<String>, pub admin_api_key: Secret<String>, pub master_enc_key: Secret<String>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "Secrets", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_6372145948477341014
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct FallbackMerchantIds { #[serde(deserialize_with = "deserialize_merchant_ids")] pub merchant_ids: HashSet<id_type::MerchantId>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "FallbackMerchantIds", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-636635449592706384
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct UserSettings { pub password_validity_in_days: u16, pub two_factor_auth_expiry_in_secs: i64, pub totp_issuer_name: String, pub base_url: String, pub force_two_factor_auth: bool, pub force_cookies: bool, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "UserSettings", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_3307262523966581509
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct Locker { pub host: String, pub host_rs: String, pub mock_locker: bool, pub basilisk_host: String, pub locker_signing_key_id: String, pub locker_enabled: bool, pub ttl_for_storage_in_secs: i64, pub decryption_scheme: DecryptionScheme, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "Locker", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-8085512384082557227
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct Refund { pub max_attempts: usize, pub max_age: i64, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "Refund", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_160709651168301328
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct EphemeralConfig { pub validity: i64, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "EphemeralConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_2964868482324517820
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct Jwekey { pub vault_encryption_key: Secret<String>, pub rust_locker_encryption_key: Secret<String>, pub vault_private_key: Secret<String>, pub tunnel_private_key: Secret<String>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "Jwekey", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_7049658610652558128
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct Server { pub port: u16, pub workers: usize, pub host: String, pub request_body_limit: usize, pub shutdown_timeout: u64, #[cfg(feature = "tls")] pub tls: Option<ServerTls>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "Server", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_1561251089258169281
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct Database { pub username: String, pub password: Secret<String>, pub host: String, pub port: u16, pub dbname: String, pub pool_size: u32, pub connection_timeout: u64, pub queue_strategy: QueueStrategy, pub min_idle: Option<u32>, pub max_lifetime: Option<u64>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "Database", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-7203116850770022913
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct SupportedConnectors { pub wallets: Vec<String>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "SupportedConnectors", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_5550320381882923474
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct DrainerSettings { pub stream_name: String, pub num_partitions: u8, pub max_read_count: u64, pub shutdown_interval: u32, // in milliseconds pub loop_interval: u32, // in milliseconds }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "DrainerSettings", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-6160503571441606189
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct MerchantIdAuthSettings { pub merchant_id_auth_enabled: bool, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "MerchantIdAuthSettings", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_8974349932876776836
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct ProxyStatusMapping { pub proxy_connector_http_status_code: bool, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "ProxyStatusMapping", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-935108062897608176
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct WebhooksSettings { pub outgoing_enabled: bool, pub ignore_error: WebhookIgnoreErrorSettings, pub redis_lock_expiry_seconds: u32, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "WebhooksSettings", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_7563957515574505516
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct WebhookIgnoreErrorSettings { pub event_type: Option<bool>, pub payment_not_found: Option<bool>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "WebhookIgnoreErrorSettings", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-8468398866548394415
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct ApiKeys { /// Hex-encoded 32-byte long (64 characters long when hex-encoded) key used for calculating /// hashes of API keys pub hash_key: Secret<String>, // Specifies the number of days before API key expiry when email reminders should be sent #[cfg(feature = "email")] pub expiry_reminder_days: Vec<u8>, #[cfg(feature = "partial-auth")] pub checksum_auth_context: Secret<String>, #[cfg(feature = "partial-auth")] pub checksum_auth_key: Secret<String>, #[cfg(feature = "partial-auth")] pub enable_partial_auth: bool, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "ApiKeys", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_6905285651410361080
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct DelayedSessionConfig { #[serde(deserialize_with = "deserialize_hashset")] pub connectors_with_delayed_session_response: HashSet<enums::Connector>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "DelayedSessionConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-3914164722842128580
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct WebhookSourceVerificationCall { #[serde(deserialize_with = "deserialize_hashset")] pub connectors_with_webhook_source_verification_call: HashSet<enums::Connector>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "WebhookSourceVerificationCall", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-8663553572914244120
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct BillingConnectorPaymentsSyncCall { #[serde(deserialize_with = "deserialize_hashset")] pub billing_connectors_which_require_payment_sync: HashSet<enums::Connector>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "BillingConnectorPaymentsSyncCall", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-8831567708120611197
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct BillingConnectorInvoiceSyncCall { #[serde(deserialize_with = "deserialize_hashset")] pub billing_connectors_which_requires_invoice_sync_call: HashSet<enums::Connector>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "BillingConnectorInvoiceSyncCall", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-8352925331012314194
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct ApplePayDecryptConfig { pub apple_pay_ppc: Secret<String>, pub apple_pay_ppc_key: Secret<String>, pub apple_pay_merchant_cert: Secret<String>, pub apple_pay_merchant_cert_key: Secret<String>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "ApplePayDecryptConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-2942116745995460147
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct PazeDecryptConfig { pub paze_private_key: Secret<String>, pub paze_private_key_passphrase: Secret<String>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "PazeDecryptConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_7351777623615719094
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct GooglePayDecryptConfig { pub google_pay_root_signing_keys: Secret<String>, }
{ "chunk": null, "crate": "router", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, "struct_name": "GooglePayDecryptConfig", "total_crates": null, "trait_name": null }