id stringlengths 20 153 | type stringclasses 1
value | granularity stringclasses 14
values | content stringlengths 16 84.3k | metadata dict |
|---|---|---|---|---|
hyperswitch_struct_hyperswitch_constraint_graph_-8622810196507913303 | clm | struct | // hyperswitch/crates/hyperswitch_constraint_graph/src/builder.rs
pub struct ConstraintGraphBuilder<V: ValueNode> {
domain: DenseMap<DomainId, DomainInfo>,
nodes: DenseMap<NodeId, Node<V>>,
edges: DenseMap<EdgeId, Edge>,
domain_identifier_map: FxHashMap<DomainIdentifier, DomainId>,
value_map: FxHas... | {
"chunk": null,
"crate": "hyperswitch_constraint_graph",
"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",
"... |
hyperswitch_struct_connector_configs_1226950800039019893 | clm | struct | // hyperswitch/crates/connector_configs/src/common_config.rs
pub struct ZenApplePay {
pub terminal_uuid: Option<String>,
pub pay_wall_secret: Option<String>,
}
| {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_-522323547892578199 | clm | struct | // hyperswitch/crates/connector_configs/src/common_config.rs
pub struct GpayDashboardPayLoad {
#[serde(skip_serializing_if = "Option::is_none")]
pub gateway_merchant_id: Option<String>,
#[serde(skip_serializing_if = "Option::is_none", rename = "stripe:version")]
pub stripe_version: Option<String>,
... | {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_-1770234960956636373 | clm | struct | // hyperswitch/crates/connector_configs/src/common_config.rs
pub struct ZenGooglePay {
pub terminal_uuid: Option<String>,
pub pay_wall_secret: Option<String>,
}
| {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_7858729706531927471 | clm | struct | // hyperswitch/crates/connector_configs/src/common_config.rs
pub struct PaypalSdkData {
pub client_id: Option<String>,
}
| {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_-5050522500340570423 | clm | struct | // hyperswitch/crates/connector_configs/src/common_config.rs
pub struct PaymentMethodsEnabled {
pub payment_method: api_models::enums::PaymentMethod,
pub payment_method_types: Option<Vec<payment_methods::RequestPaymentMethodTypes>>,
}
| {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_8546528420692062815 | clm | struct | // hyperswitch/crates/connector_configs/src/common_config.rs
pub struct ApiModelMetaData {
pub merchant_config_currency: Option<api_models::enums::Currency>,
pub merchant_account_id: Option<String>,
pub account_name: Option<String>,
pub terminal_id: Option<String>,
pub merchant_id: Option<String>,
... | {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_7782884833528214243 | clm | struct | // hyperswitch/crates/connector_configs/src/common_config.rs
pub struct CardProvider {
pub payment_method_type: api_models::enums::CardNetwork,
/// List of currencies accepted or has the processing capabilities of the processor
#[schema(example = json!(
{
"type": "specific_accep... | {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_3721566058937491628 | clm | struct | // hyperswitch/crates/connector_configs/src/common_config.rs
pub struct Provider {
pub payment_method_type: api_models::enums::PaymentMethodType,
/// List of currencies accepted or has the processing capabilities of the processor
#[schema(example = json!(
{
"type": "specific_acc... | {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_4743136030350603167 | clm | struct | // hyperswitch/crates/connector_configs/src/common_config.rs
pub struct ConnectorApiIntegrationPayload {
pub connector_type: String,
pub profile_id: common_utils::id_type::ProfileId,
pub connector_name: api_models::enums::Connector,
#[serde(skip_deserializing)]
#[schema(example = "stripe_US_travel"... | {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_-3142672055075814083 | clm | struct | // hyperswitch/crates/connector_configs/src/common_config.rs
pub struct DashboardPaymentMethodPayload {
pub payment_method: api_models::enums::PaymentMethod,
pub payment_method_type: String,
pub provider: Option<Vec<Provider>>,
pub card_provider: Option<Vec<CardProvider>>,
}
| {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_3722576427943890031 | clm | struct | // hyperswitch/crates/connector_configs/src/common_config.rs
pub struct DashboardRequestPayload {
pub connector: api_models::enums::Connector,
pub payment_methods_enabled: Option<Vec<DashboardPaymentMethodPayload>>,
pub metadata: Option<ApiModelMetaData>,
}
| {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_-1630628365818496020 | clm | struct | // hyperswitch/crates/connector_configs/src/common_config.rs
pub struct InputData {
pub name: String,
pub label: String,
pub placeholder: String,
pub required: bool,
#[serde(flatten)]
pub input_type: InputType,
}
| {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_4285741737715917344 | clm | struct | // hyperswitch/crates/connector_configs/src/connector.rs
pub struct PayloadCurrencyAuthKeyType {
pub api_key: String,
pub processing_account_id: String,
}
| {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_5569365217222199816 | clm | struct | // hyperswitch/crates/connector_configs/src/connector.rs
pub struct Classic {
pub password_classic: String,
pub username_classic: String,
pub merchant_id_classic: String,
}
| {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_-4186300825484589012 | clm | struct | // hyperswitch/crates/connector_configs/src/connector.rs
pub struct Evoucher {
pub password_evoucher: String,
pub username_evoucher: String,
pub merchant_id_evoucher: String,
}
| {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_4152706965803565447 | clm | struct | // hyperswitch/crates/connector_configs/src/connector.rs
pub struct CashtoCodeCurrencyAuthKeyType {
pub classic: Classic,
pub evoucher: Evoucher,
}
| {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_4185844195463709351 | clm | struct | // hyperswitch/crates/connector_configs/src/connector.rs
pub struct ConfigMerchantAdditionalDetails {
pub open_banking_recipient_data: Option<InputData>,
pub account_data: Option<InputData>,
pub iban: Option<Vec<InputData>>,
pub bacs: Option<Vec<InputData>>,
pub connector_recipient_id: Option<Input... | {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_7967580557362292301 | clm | struct | // hyperswitch/crates/connector_configs/src/connector.rs
pub struct AccountIdConfigForCard {
pub three_ds: Option<Vec<InputData>>,
pub no_three_ds: Option<Vec<InputData>>,
}
| {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_-2326110636775296956 | clm | struct | // hyperswitch/crates/connector_configs/src/connector.rs
pub struct AccountIdConfigForRedirect {
pub three_ds: Option<Vec<InputData>>,
}
| {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_-1664262988056760838 | clm | struct | // hyperswitch/crates/connector_configs/src/connector.rs
pub struct AccountIdConfigForApplePay {
pub encrypt: Option<Vec<InputData>>,
pub decrypt: Option<Vec<InputData>>,
}
| {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_9034182172717199903 | clm | struct | // hyperswitch/crates/connector_configs/src/connector.rs
pub struct AccountIDSupportedMethods {
apple_pay: HashMap<String, AccountIdConfigForApplePay>,
card: HashMap<String, AccountIdConfigForCard>,
interac: HashMap<String, AccountIdConfigForRedirect>,
pay_safe_card: HashMap<String, AccountIdConfigForR... | {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_5110581644124355231 | clm | struct | // hyperswitch/crates/connector_configs/src/connector.rs
pub struct ConfigMetadata {
pub merchant_config_currency: Option<InputData>,
pub merchant_account_id: Option<InputData>,
pub account_name: Option<InputData>,
pub account_type: Option<InputData>,
pub terminal_id: Option<InputData>,
pub goo... | {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_-962702336089505652 | clm | struct | // hyperswitch/crates/connector_configs/src/connector.rs
pub struct ConnectorWalletDetailsConfig {
pub samsung_pay: Option<Vec<InputData>>,
pub paze: Option<Vec<InputData>>,
pub google_pay: Option<Vec<InputData>>,
pub amazon_pay: Option<Vec<InputData>>,
}
| {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_-7516363335816828237 | clm | struct | // hyperswitch/crates/connector_configs/src/connector.rs
pub struct ConnectorTomlConfig {
pub connector_auth: Option<ConnectorAuthType>,
pub connector_webhook_details: Option<api_models::admin::MerchantConnectorWebhookDetails>,
pub metadata: Option<Box<ConfigMetadata>>,
pub connector_wallets_details: O... | {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_connector_configs_3362395886573513743 | clm | struct | // hyperswitch/crates/connector_configs/src/connector.rs
pub struct ConnectorConfig {
pub authipay: Option<ConnectorTomlConfig>,
pub juspaythreedsserver: Option<ConnectorTomlConfig>,
pub katapult: Option<ConnectorTomlConfig>,
pub aci: Option<ConnectorTomlConfig>,
pub adyen: Option<ConnectorTomlConf... | {
"chunk": null,
"crate": "connector_configs",
"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"... |
hyperswitch_struct_test_utils_-4458586837854835294 | clm | struct | // hyperswitch/crates/test_utils/tests/connectors/selenium.rs
pub struct WebhookResponse {
data: Vec<WebhookResponseData>,
}
| {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_8028362932186320420 | clm | struct | // hyperswitch/crates/test_utils/tests/connectors/selenium.rs
pub struct WebhookResponseData {
step: WebhookRequestData,
}
| {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_7423180757669654446 | clm | struct | // hyperswitch/crates/test_utils/tests/connectors/selenium.rs
pub struct WebhookRequestData {
request: WebhookRequest,
}
| {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_6729795493495732426 | clm | struct | // hyperswitch/crates/test_utils/tests/connectors/selenium.rs
pub struct WebhookRequest {
body: String,
}
| {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_4025704360761529530 | clm | struct | // hyperswitch/crates/test_utils/tests/connectors/selenium.rs
pub struct HsWebhookResponse {
content: HsWebhookContent,
}
| {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_9039807385030669820 | clm | struct | // hyperswitch/crates/test_utils/tests/connectors/selenium.rs
pub struct HsWebhookContent {
object: HsWebhookObject,
}
| {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_4551449486151970791 | clm | struct | // hyperswitch/crates/test_utils/tests/connectors/selenium.rs
pub struct HsWebhookObject {
payment_id: String,
status: String,
connector: String,
}
| {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_5048013259111461170 | clm | struct | // hyperswitch/crates/test_utils/src/connector_auth.rs
pub struct ConnectorAuthentication {
pub aci: Option<BodyKey>,
#[cfg(not(feature = "payouts"))]
pub adyen: Option<BodyKey>,
#[cfg(feature = "payouts")]
pub adyenplatform: Option<HeaderKey>,
pub affirm: Option<HeaderKey>,
#[cfg(feature =... | {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_-3094395437646943869 | clm | struct | // hyperswitch/crates/test_utils/src/connector_auth.rs
pub struct ConnectorAuthenticationMap(HashMap<String, ConnectorAuthType>);
| {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_8884797224816965491 | clm | struct | // hyperswitch/crates/test_utils/src/connector_auth.rs
pub struct HeaderKey {
pub api_key: Secret<String>,
}
| {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_-7773206155971060700 | clm | struct | // hyperswitch/crates/test_utils/src/connector_auth.rs
pub struct BodyKey {
pub api_key: Secret<String>,
pub key1: Secret<String>,
}
| {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_-5477973271924797592 | clm | struct | // hyperswitch/crates/test_utils/src/connector_auth.rs
pub struct SignatureKey {
pub api_key: Secret<String>,
pub key1: Secret<String>,
pub api_secret: Secret<String>,
}
| {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_6861426704979513982 | clm | struct | // hyperswitch/crates/test_utils/src/connector_auth.rs
pub struct MultiAuthKey {
pub api_key: Secret<String>,
pub key1: Secret<String>,
pub api_secret: Secret<String>,
pub key2: Secret<String>,
}
| {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_-5215780013214792630 | clm | struct | // hyperswitch/crates/test_utils/src/connector_auth.rs
pub struct CurrencyAuthKey {
pub auth_key_map: HashMap<String, toml::Value>,
}
| {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_2753527401562858773 | clm | struct | // hyperswitch/crates/test_utils/src/connector_auth.rs
pub struct NoKey {}
| {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_285111371355793731 | clm | struct | // hyperswitch/crates/test_utils/src/connector_auth.rs
pub struct AutomationConfigs {
pub hs_base_url: Option<String>,
pub hs_api_key: Option<String>,
pub hs_api_keys: Option<String>,
pub hs_webhook_url: Option<String>,
pub hs_test_env: Option<String>,
pub hs_test_browser: Option<String>,
p... | {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_-5359518844169147749 | clm | struct | // hyperswitch/crates/test_utils/src/connector_auth.rs
pub struct UsersConfigs {
pub user_email: String,
pub user_password: String,
pub wrong_password: String,
pub user_base_email_for_signup: String,
pub user_domain_for_signup: String,
}
| {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_test_utils_8184023762754335865 | clm | struct | // hyperswitch/crates/test_utils/src/newman_runner.rs
pub struct Args {
/// Admin API Key of the environment
#[arg(short, long)]
admin_api_key: String,
/// Base URL of the Hyperswitch environment
#[arg(short, long)]
base_url: String,
/// Name of the connector
#[arg(short, long)]
con... | {
"chunk": null,
"crate": "test_utils",
"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,... |
hyperswitch_struct_euclid_wasm_-1524717091229204708 | clm | struct | // hyperswitch/crates/euclid_wasm/src/types.rs
pub struct Details<'a> {
pub description: Option<&'a str>,
pub kind: DirKeyKind,
}
| {
"chunk": null,
"crate": "euclid_wasm",
"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... |
hyperswitch_struct_euclid_wasm_643317876343531189 | clm | struct | // hyperswitch/crates/euclid_wasm/src/types.rs
pub struct PayoutDetails<'a> {
pub description: Option<&'a str>,
pub kind: PayoutDirKeyKind,
}
| {
"chunk": null,
"crate": "euclid_wasm",
"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... |
hyperswitch_struct_common_types_-5050522500340570423 | clm | struct | // hyperswitch/crates/common_types/src/payment_methods.rs
pub struct PaymentMethodsEnabled {
/// Type of payment method.
#[schema(value_type = PaymentMethod,example = "card")]
pub payment_method_type: common_enums::PaymentMethod,
/// Payment method configuration, this includes all the filters associat... | {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_-6072924379772384766 | clm | struct | // hyperswitch/crates/common_types/src/payment_methods.rs
pub struct RequestPaymentMethodTypes {
/// The payment method subtype
#[schema(value_type = PaymentMethodType)]
pub payment_method_subtype: common_enums::PaymentMethodType,
/// The payment experience for the payment method
#[schema(value_ty... | {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_-2053485312077964731 | clm | struct | // hyperswitch/crates/common_types/src/payment_methods.rs
struct RequestPaymentMethodTypesV1 {
pub payment_method_type: common_enums::PaymentMethodType,
pub payment_experience: Option<common_enums::PaymentExperience>,
pub card_networks: Option<Vec<common_enums::CardNetwork>>,
pub accepted_currencies: O... | {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_7637490137689365180 | clm | struct | // hyperswitch/crates/common_types/src/payment_methods.rs
pub struct NetworkTokenization {
/// Enable the network tokenization for payment methods that are created using the payment method session
#[schema(value_type = NetworkTokenizationToggle)]
pub enable: common_enums::NetworkTokenizationToggle,
}
| {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_1077209119933171331 | clm | struct | // hyperswitch/crates/common_types/src/payment_methods.rs
pub struct PspTokenization {
/// The tokenization type to be applied for the payment method
#[schema(value_type = TokenizationType)]
pub tokenization_type: common_enums::TokenizationType,
/// The merchant connector id to be used for tokenizatio... | {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_-2155708474480813972 | clm | struct | // hyperswitch/crates/common_types/src/payments.rs
pub struct MerchantCountryCode(String);
| {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_4417626220555311131 | clm | struct | // hyperswitch/crates/common_types/src/payments.rs
pub struct CustomerAcceptance {
/// Type of acceptance provided by the
#[schema(example = "online")]
pub acceptance_type: AcceptanceType,
/// Specifying when the customer acceptance was provided
#[schema(example = "2022-09-10T10:11:12Z")]
#[ser... | {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_-7398705055014204234 | clm | struct | // hyperswitch/crates/common_types/src/payments.rs
pub struct StripeChargeResponseData {
/// Identifier for charge created for the payment
pub charge_id: Option<String>,
/// Type of charge (connector specific)
#[schema(value_type = PaymentChargeType, example = "direct")]
pub charge_type: enums::Pa... | {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_1629415688751286379 | clm | struct | // hyperswitch/crates/common_types/src/payments.rs
pub struct XenditSplitRoute {
/// Amount of payments to be split
pub flat_amount: Option<MinorUnit>,
/// Amount of payments to be split, using a percent rate as unit
pub percent_amount: Option<i64>,
/// Currency code
#[schema(value_type = Curre... | {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_6137708303921300146 | clm | struct | // hyperswitch/crates/common_types/src/payments.rs
pub struct XenditMultipleSplitRequest {
/// Name to identify split rule. Not required to be unique. Typically based on transaction and/or sub-merchant types.
pub name: String,
/// Description to identify fee rule
pub description: String,
/// The su... | {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_6670219991895095805 | clm | struct | // hyperswitch/crates/common_types/src/payments.rs
pub struct XenditMultipleSplitResponse {
/// Identifier for split rule created for the payment
pub split_rule_id: String,
/// The sub-account user-id that you want to make this transaction for.
pub for_user_id: Option<String>,
/// Name to identify ... | {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_8501264536224423771 | clm | struct | // hyperswitch/crates/common_types/src/domain.rs
pub struct XenditSplitSubMerchantData {
/// The sub-account user-id that you want to make this transaction for.
pub for_user_id: String,
}
| {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_5575879347953368849 | clm | struct | // hyperswitch/crates/common_types/src/domain.rs
pub struct AcquirerConfig {
/// The merchant id assigned by the acquirer
#[schema(value_type= String,example = "M123456789")]
pub acquirer_assigned_merchant_id: String,
/// merchant name
#[schema(value_type= String,example = "NewAge Retailer")]
p... | {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_4400097258979671176 | clm | struct | // hyperswitch/crates/common_types/src/domain.rs
pub struct MerchantConnectorAuthDetails {
/// The connector used for the payment
#[schema(value_type = Connector)]
pub connector_name: common_enums::connector_enums::Connector,
/// The merchant connector credentials used for the payment
#[schema(val... | {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_-29530295170617857 | clm | struct | // hyperswitch/crates/common_types/src/domain.rs
pub struct ConnectorResponseData {
/// Stringified connector raw response body
pub raw_connector_response: Option<Secret<String>>,
}
| {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_-891845538244363707 | clm | struct | // hyperswitch/crates/common_types/src/domain.rs
pub struct RetryFeatureData {
/// indicates if step_up retry is possible
pub step_up_possible: bool,
/// indicates if retry with pan is possible
pub clear_pan_possible: bool,
/// indicates if retry with alternate network possible
pub alternate_ne... | {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_2898962329302347645 | clm | struct | // hyperswitch/crates/common_types/src/primitive_wrappers.rs
pub struct ExtendedAuthorizationAppliedBool(bool);
| {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_-4676982952361859979 | clm | struct | // hyperswitch/crates/common_types/src/primitive_wrappers.rs
pub struct RequestExtendedAuthorizationBool(bool);
| {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_4048011660146003924 | clm | struct | // hyperswitch/crates/common_types/src/primitive_wrappers.rs
pub struct EnablePartialAuthorizationBool(bool);
| {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_-5628339449625107515 | clm | struct | // hyperswitch/crates/common_types/src/primitive_wrappers.rs
pub struct AlwaysRequestExtendedAuthorization(bool);
| {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_1760458473417606004 | clm | struct | // hyperswitch/crates/common_types/src/primitive_wrappers.rs
pub struct ShouldCollectCvvDuringPayment(bool);
| {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_6018182263773394811 | clm | struct | // hyperswitch/crates/common_types/src/primitive_wrappers.rs
pub struct AlwaysEnableOvercaptureBool(bool);
| {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_-7432621942868195114 | clm | struct | // hyperswitch/crates/common_types/src/primitive_wrappers.rs
pub struct EnableOvercaptureBool(bool);
| {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_-8317383292868482841 | clm | struct | // hyperswitch/crates/common_types/src/primitive_wrappers.rs
pub struct OvercaptureEnabledBool(bool);
| {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_-4814965502931463697 | clm | struct | // hyperswitch/crates/common_types/src/primitive_wrappers.rs
pub struct DisputePollingIntervalInHours(i32);
| {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_6976670240271599540 | clm | struct | // hyperswitch/crates/common_types/src/primitive_wrappers.rs
pub struct SafeString(String);
| {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_-4311264477912623022 | clm | struct | // hyperswitch/crates/common_types/src/three_ds_decision_rule_engine.rs
pub struct ThreeDSDecisionRule {
/// The decided 3DS action based on the rules
pub decision: ThreeDSDecision,
}
| {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_common_types_4359201327420885919 | clm | struct | // hyperswitch/crates/common_types/src/customers.rs
pub struct ConnectorCustomerMap(
std::collections::HashMap<common_utils::id_type::MerchantConnectorAccountId, String>,
);
| {
"chunk": null,
"crate": "common_types",
"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": nul... |
hyperswitch_struct_smithy-core_-7712502752574848168 | clm | struct | // hyperswitch/crates/smithy-core/src/types.rs
pub struct SmithyModel {
pub namespace: String,
pub shapes: HashMap<String, SmithyShape>,
}
| {
"chunk": null,
"crate": "smithy-core",
"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... |
hyperswitch_struct_smithy-core_-6298947889086881747 | clm | struct | // hyperswitch/crates/smithy-core/src/types.rs
pub struct SmithyMember {
pub target: String,
#[serde(skip_serializing_if = "Option::is_none")]
pub documentation: Option<String>,
#[serde(skip_serializing_if = "Vec::is_empty")]
pub traits: Vec<SmithyTrait>,
}
| {
"chunk": null,
"crate": "smithy-core",
"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... |
hyperswitch_struct_smithy-core_-7340254041599639279 | clm | struct | // hyperswitch/crates/smithy-core/src/types.rs
pub struct SmithyEnumValue {
pub name: String,
#[serde(skip_serializing_if = "Option::is_none")]
pub documentation: Option<String>,
pub is_default: bool,
}
| {
"chunk": null,
"crate": "smithy-core",
"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... |
hyperswitch_struct_smithy-core_-6781965421574731229 | clm | struct | // hyperswitch/crates/smithy-core/src/types.rs
pub struct SmithyField {
pub name: String,
pub value_type: String,
pub constraints: Vec<SmithyConstraint>,
pub documentation: Option<String>,
pub optional: bool,
pub flatten: bool,
}
| {
"chunk": null,
"crate": "smithy-core",
"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... |
hyperswitch_struct_smithy-core_8624812739479100820 | clm | struct | // hyperswitch/crates/smithy-core/src/types.rs
pub struct SmithyEnumVariant {
pub name: String,
pub fields: Vec<SmithyField>,
pub constraints: Vec<SmithyConstraint>,
pub documentation: Option<String>,
}
| {
"chunk": null,
"crate": "smithy-core",
"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... |
hyperswitch_struct_config_importer_-4672819939100007448 | clm | struct | // hyperswitch/crates/config_importer/src/main.rs
pub(crate) struct KubernetesEnvironmentVariable {
name: String,
value: String,
}
| {
"chunk": null,
"crate": "config_importer",
"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": ... |
hyperswitch_struct_config_importer_8184023762754335865 | clm | struct | // hyperswitch/crates/config_importer/src/cli.rs
pub(crate) struct Args {
/// Input TOML configuration file.
#[arg(short, long, value_name = "FILE")]
pub(crate) input_file: PathBuf,
/// The format to convert the environment variables to.
#[arg(
value_enum,
short = 'f',
long... | {
"chunk": null,
"crate": "config_importer",
"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": ... |
hyperswitch_struct_cards_7498568917781461639 | clm | struct | // hyperswitch/crates/cards/src/lib.rs
pub struct CardSecurityCode(StrongSecret<u16>);
| {
"chunk": null,
"crate": "cards",
"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,
"s... |
hyperswitch_struct_cards_1774331658626881710 | clm | struct | // hyperswitch/crates/cards/src/lib.rs
pub struct CardExpirationMonth(StrongSecret<u8>);
| {
"chunk": null,
"crate": "cards",
"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,
"s... |
hyperswitch_struct_cards_3870789173948371461 | clm | struct | // hyperswitch/crates/cards/src/lib.rs
pub struct CardExpirationYear(StrongSecret<u16>);
| {
"chunk": null,
"crate": "cards",
"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,
"s... |
hyperswitch_struct_cards_434567403941074969 | clm | struct | // hyperswitch/crates/cards/src/lib.rs
pub struct CardExpiration {
pub month: CardExpirationMonth,
pub year: CardExpirationYear,
}
| {
"chunk": null,
"crate": "cards",
"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,
"s... |
hyperswitch_struct_cards_3093306805286307188 | clm | struct | // hyperswitch/crates/cards/src/validate.rs
pub struct CardNumberValidationErr(&'static str);
| {
"chunk": null,
"crate": "cards",
"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,
"s... |
hyperswitch_struct_cards_-6843385963022900605 | clm | struct | // hyperswitch/crates/cards/src/validate.rs
pub struct CardNumber(StrongSecret<String, CardNumberStrategy>);
| {
"chunk": null,
"crate": "cards",
"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,
"s... |
hyperswitch_struct_cards_3999216042618195432 | clm | struct | // hyperswitch/crates/cards/src/validate.rs
pub struct NetworkToken(StrongSecret<String, CardNumberStrategy>);
| {
"chunk": null,
"crate": "cards",
"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,
"s... |
hyperswitch_struct_currency_conversion_5349070033776192097 | clm | struct | // hyperswitch/crates/currency_conversion/src/types.rs
pub struct ExchangeRates {
pub base_currency: Currency,
pub conversion: HashMap<Currency, CurrencyFactors>,
}
| {
"chunk": null,
"crate": "currency_conversion",
"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_lin... |
hyperswitch_struct_currency_conversion_-5163909432291654965 | clm | struct | // hyperswitch/crates/currency_conversion/src/types.rs
pub struct CurrencyFactors {
/// The factor that will be multiplied to provide Currency output
pub to_factor: Decimal,
/// The factor that will be multiplied to provide for the base output
pub from_factor: Decimal,
}
| {
"chunk": null,
"crate": "currency_conversion",
"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_lin... |
hyperswitch_struct_diesel_models_-437157351534531497 | clm | struct | // hyperswitch/crates/diesel_models/src/dynamic_routing_stats.rs
pub struct DynamicRoutingStatsNew {
pub payment_id: common_utils::id_type::PaymentId,
pub attempt_id: String,
pub merchant_id: common_utils::id_type::MerchantId,
pub profile_id: common_utils::id_type::ProfileId,
pub amount: common_uti... | {
"chunk": null,
"crate": "diesel_models",
"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": nu... |
hyperswitch_struct_diesel_models_-409018954046411624 | clm | struct | // hyperswitch/crates/diesel_models/src/dynamic_routing_stats.rs
pub struct DynamicRoutingStats {
pub payment_id: common_utils::id_type::PaymentId,
pub attempt_id: String,
pub merchant_id: common_utils::id_type::MerchantId,
pub profile_id: common_utils::id_type::ProfileId,
pub amount: common_utils:... | {
"chunk": null,
"crate": "diesel_models",
"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": nu... |
hyperswitch_struct_diesel_models_-7069266041179787030 | clm | struct | // hyperswitch/crates/diesel_models/src/dynamic_routing_stats.rs
pub struct DynamicRoutingStatsUpdate {
pub amount: common_utils::types::MinorUnit,
pub success_based_routing_connector: String,
pub payment_connector: String,
pub currency: Option<common_enums::Currency>,
pub payment_method: Option<co... | {
"chunk": null,
"crate": "diesel_models",
"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": nu... |
hyperswitch_struct_diesel_models_2746249359757229704 | clm | struct | // hyperswitch/crates/diesel_models/src/tokenization.rs
pub struct Tokenization {
pub id: id_type::GlobalTokenId,
pub merchant_id: id_type::MerchantId,
pub customer_id: id_type::GlobalCustomerId,
pub created_at: PrimitiveDateTime,
pub updated_at: PrimitiveDateTime,
pub locker_id: String,
pu... | {
"chunk": null,
"crate": "diesel_models",
"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": nu... |
hyperswitch_struct_diesel_models_-5206429244402601151 | clm | struct | // hyperswitch/crates/diesel_models/src/tokenization.rs
pub struct TokenizationNew {
pub id: id_type::GlobalTokenId,
pub merchant_id: id_type::MerchantId,
pub customer_id: id_type::GlobalCustomerId,
pub locker_id: String,
pub created_at: PrimitiveDateTime,
pub updated_at: PrimitiveDateTime,
... | {
"chunk": null,
"crate": "diesel_models",
"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": nu... |
hyperswitch_struct_diesel_models_-5049690473311671997 | clm | struct | // hyperswitch/crates/diesel_models/src/tokenization.rs
pub struct TokenizationUpdateInternal {
pub updated_at: PrimitiveDateTime,
pub flag: Option<common_enums::enums::TokenizationFlag>,
}
| {
"chunk": null,
"crate": "diesel_models",
"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": nu... |
hyperswitch_struct_diesel_models_-4383143975337246836 | clm | struct | // hyperswitch/crates/diesel_models/src/dispute.rs
pub struct DisputeNew {
pub dispute_id: String,
pub amount: StringMinorUnit,
pub currency: String,
pub dispute_stage: storage_enums::DisputeStage,
pub dispute_status: storage_enums::DisputeStatus,
pub payment_id: common_utils::id_type::PaymentI... | {
"chunk": null,
"crate": "diesel_models",
"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": nu... |
hyperswitch_struct_diesel_models_-1564828526969081847 | clm | struct | // hyperswitch/crates/diesel_models/src/dispute.rs
pub struct Dispute {
pub dispute_id: String,
pub amount: StringMinorUnit,
pub currency: String,
pub dispute_stage: storage_enums::DisputeStage,
pub dispute_status: storage_enums::DisputeStatus,
pub payment_id: common_utils::id_type::PaymentId,
... | {
"chunk": null,
"crate": "diesel_models",
"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": nu... |
hyperswitch_struct_diesel_models_4633330129304064937 | clm | struct | // hyperswitch/crates/diesel_models/src/dispute.rs
pub struct DisputeUpdateInternal {
dispute_stage: Option<storage_enums::DisputeStage>,
dispute_status: Option<storage_enums::DisputeStatus>,
connector_status: Option<String>,
connector_reason: Option<String>,
connector_reason_code: Option<String>,
... | {
"chunk": null,
"crate": "diesel_models",
"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": nu... |
hyperswitch_struct_diesel_models_-4901045923201137120 | clm | struct | // hyperswitch/crates/diesel_models/src/kv.rs
pub struct TypedSql {
#[serde(flatten)]
pub op: DBOperation,
}
| {
"chunk": null,
"crate": "diesel_models",
"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": nu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.