id
stringlengths
20
153
type
stringclasses
1 value
granularity
stringclasses
14 values
content
stringlengths
16
84.3k
metadata
dict
hyperswitch_struct_diesel_models_-1551242451718714719
clm
struct
// hyperswitch/crates/diesel_models/src/payment_intent.rs pub struct PaymentIntentUpdateFields { pub amount: MinorUnit, pub currency: storage_enums::Currency, pub setup_future_usage: Option<storage_enums::FutureUsage>, pub status: storage_enums::IntentStatus, pub customer_id: Option<common_utils::id_type::CustomerId>, pub shipping_address_id: Option<String>, pub billing_address_id: Option<String>, pub return_url: Option<String>, pub business_country: Option<storage_enums::CountryAlpha2>, pub business_label: Option<String>, pub description: Option<String>, pub statement_descriptor_name: Option<String>, pub statement_descriptor_suffix: Option<String>, pub order_details: Option<Vec<pii::SecretSerdeValue>>, pub metadata: Option<serde_json::Value>, pub payment_confirm_source: Option<storage_enums::PaymentSource>, pub updated_by: String, pub session_expiry: Option<PrimitiveDateTime>, pub fingerprint_id: Option<String>, pub request_external_three_ds_authentication: Option<bool>, pub frm_metadata: Option<pii::SecretSerdeValue>, pub customer_details: Option<Encryption>, pub billing_details: Option<Encryption>, pub merchant_order_reference_id: Option<String>, pub shipping_details: Option<Encryption>, pub is_payment_processor_token_flow: Option<bool>, pub tax_details: Option<TaxDetails>, pub force_3ds_challenge: Option<bool>, pub is_iframe_redirection_enabled: Option<bool>, pub payment_channel: Option<common_enums::PaymentChannel>, pub feature_metadata: Option<masking::Secret<serde_json::Value>>, pub tax_status: Option<common_enums::TaxStatus>, pub discount_amount: Option<MinorUnit>, pub order_date: Option<PrimitiveDateTime>, pub shipping_amount_tax: Option<MinorUnit>, pub duty_amount: Option<MinorUnit>, pub enable_partial_authorization: Option<EnablePartialAuthorizationBool>, pub enable_overcapture: Option<common_types::primitive_wrappers::EnableOvercaptureBool>, }
{ "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": null, "struct_name": "PaymentIntentUpdateFields", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_-4897612972442836980
clm
struct
// hyperswitch/crates/diesel_models/src/payment_intent.rs pub struct PaymentIntentUpdateInternal { pub status: Option<storage_enums::IntentStatus>, pub prerouting_algorithm: Option<serde_json::Value>, pub amount_captured: Option<MinorUnit>, pub modified_at: PrimitiveDateTime, pub active_attempt_id: Option<Option<common_utils::id_type::GlobalAttemptId>>, pub amount: Option<MinorUnit>, pub currency: Option<storage_enums::Currency>, pub shipping_cost: Option<MinorUnit>, pub tax_details: Option<TaxDetails>, pub skip_external_tax_calculation: Option<bool>, pub surcharge_applicable: Option<bool>, pub surcharge_amount: Option<MinorUnit>, pub tax_on_surcharge: Option<MinorUnit>, pub routing_algorithm_id: Option<common_utils::id_type::RoutingId>, pub capture_method: Option<common_enums::CaptureMethod>, pub authentication_type: Option<common_enums::AuthenticationType>, pub billing_address: Option<Encryption>, pub shipping_address: Option<Encryption>, pub customer_present: Option<bool>, pub description: Option<common_utils::types::Description>, pub return_url: Option<common_utils::types::Url>, pub setup_future_usage: Option<storage_enums::FutureUsage>, pub apply_mit_exemption: Option<bool>, pub statement_descriptor: Option<common_utils::types::StatementDescriptor>, pub order_details: Option<Vec<masking::Secret<OrderDetailsWithAmount>>>, pub allowed_payment_method_types: Option<pii::SecretSerdeValue>, pub metadata: Option<pii::SecretSerdeValue>, pub connector_metadata: Option<pii::SecretSerdeValue>, pub feature_metadata: Option<FeatureMetadata>, pub payment_link_config: Option<PaymentLinkConfigRequestForPayments>, pub request_incremental_authorization: Option<RequestIncrementalAuthorization>, pub session_expiry: Option<PrimitiveDateTime>, pub frm_metadata: Option<pii::SecretSerdeValue>, pub request_external_three_ds_authentication: Option<bool>, pub updated_by: String, pub force_3ds_challenge: Option<bool>, pub is_iframe_redirection_enabled: Option<bool>, pub enable_partial_authorization: Option<EnablePartialAuthorizationBool>, }
{ "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": null, "struct_name": "PaymentIntentUpdateInternal", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_-4897612972442836980
clm
struct
// hyperswitch/crates/diesel_models/src/payment_intent.rs pub struct PaymentIntentUpdateInternal { pub amount: Option<MinorUnit>, pub currency: Option<storage_enums::Currency>, pub status: Option<storage_enums::IntentStatus>, pub amount_captured: Option<MinorUnit>, pub customer_id: Option<common_utils::id_type::CustomerId>, pub return_url: Option<String>, pub setup_future_usage: Option<storage_enums::FutureUsage>, pub off_session: Option<bool>, pub metadata: Option<serde_json::Value>, pub billing_address_id: Option<String>, pub shipping_address_id: Option<String>, pub modified_at: PrimitiveDateTime, pub active_attempt_id: Option<String>, pub business_country: Option<storage_enums::CountryAlpha2>, pub business_label: Option<String>, pub description: Option<String>, pub statement_descriptor_name: Option<String>, pub statement_descriptor_suffix: Option<String>, #[diesel(deserialize_as = super::OptionalDieselArray<pii::SecretSerdeValue>)] pub order_details: Option<Vec<pii::SecretSerdeValue>>, pub attempt_count: Option<i16>, pub merchant_decision: Option<String>, pub payment_confirm_source: Option<storage_enums::PaymentSource>, pub updated_by: String, pub surcharge_applicable: Option<bool>, pub incremental_authorization_allowed: Option<bool>, pub authorization_count: Option<i32>, pub session_expiry: Option<PrimitiveDateTime>, pub fingerprint_id: Option<String>, pub request_external_three_ds_authentication: Option<bool>, pub frm_metadata: Option<pii::SecretSerdeValue>, pub customer_details: Option<Encryption>, pub billing_details: Option<Encryption>, pub merchant_order_reference_id: Option<String>, pub shipping_details: Option<Encryption>, pub is_payment_processor_token_flow: Option<bool>, pub tax_details: Option<TaxDetails>, pub force_3ds_challenge: Option<bool>, pub is_iframe_redirection_enabled: Option<bool>, pub extended_return_url: Option<String>, pub payment_channel: Option<common_enums::PaymentChannel>, pub feature_metadata: Option<masking::Secret<serde_json::Value>>, pub tax_status: Option<common_enums::TaxStatus>, pub discount_amount: Option<MinorUnit>, pub order_date: Option<PrimitiveDateTime>, pub shipping_amount_tax: Option<MinorUnit>, pub duty_amount: Option<MinorUnit>, pub enable_partial_authorization: Option<EnablePartialAuthorizationBool>, pub enable_overcapture: Option<common_types::primitive_wrappers::EnableOvercaptureBool>, }
{ "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": null, "struct_name": "PaymentIntentUpdateInternal", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_8428475255701419650
clm
struct
// hyperswitch/crates/diesel_models/src/capture.rs pub struct Capture { pub capture_id: String, pub payment_id: common_utils::id_type::PaymentId, pub merchant_id: common_utils::id_type::MerchantId, pub status: storage_enums::CaptureStatus, pub amount: MinorUnit, pub currency: Option<storage_enums::Currency>, pub connector: String, pub error_message: Option<String>, pub error_code: Option<String>, pub error_reason: Option<String>, pub tax_amount: Option<MinorUnit>, #[serde(with = "common_utils::custom_serde::iso8601")] pub created_at: PrimitiveDateTime, #[serde(with = "common_utils::custom_serde::iso8601")] pub modified_at: PrimitiveDateTime, pub authorized_attempt_id: String, pub connector_capture_id: Option<ConnectorTransactionId>, pub capture_sequence: i16, // reference to the capture at connector side pub connector_response_reference_id: Option<String>, /// INFO: This field is deprecated and replaced by processor_capture_data pub connector_capture_data: Option<String>, pub processor_capture_data: 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": null, "struct_name": "Capture", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_-4817824926093267822
clm
struct
// hyperswitch/crates/diesel_models/src/capture.rs pub struct CaptureNew { pub capture_id: String, pub payment_id: common_utils::id_type::PaymentId, pub merchant_id: common_utils::id_type::MerchantId, pub status: storage_enums::CaptureStatus, pub amount: MinorUnit, pub currency: Option<storage_enums::Currency>, pub connector: String, pub error_message: Option<String>, pub error_code: Option<String>, pub error_reason: Option<String>, pub tax_amount: Option<MinorUnit>, #[serde(with = "common_utils::custom_serde::iso8601")] pub created_at: PrimitiveDateTime, #[serde(with = "common_utils::custom_serde::iso8601")] pub modified_at: PrimitiveDateTime, pub authorized_attempt_id: String, pub connector_capture_id: Option<ConnectorTransactionId>, pub capture_sequence: i16, pub connector_response_reference_id: Option<String>, /// INFO: This field is deprecated and replaced by processor_capture_data pub connector_capture_data: Option<String>, pub processor_capture_data: 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": null, "struct_name": "CaptureNew", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_2897808133779100445
clm
struct
// hyperswitch/crates/diesel_models/src/capture.rs pub struct CaptureUpdateInternal { pub status: Option<storage_enums::CaptureStatus>, pub error_message: Option<String>, pub error_code: Option<String>, pub error_reason: Option<String>, pub modified_at: Option<PrimitiveDateTime>, pub connector_capture_id: Option<ConnectorTransactionId>, pub connector_response_reference_id: Option<String>, pub processor_capture_data: 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": null, "struct_name": "CaptureUpdateInternal", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_-4356443096578919968
clm
struct
// hyperswitch/crates/diesel_models/src/authorization.rs pub struct Authorization { pub authorization_id: String, pub merchant_id: common_utils::id_type::MerchantId, pub payment_id: common_utils::id_type::PaymentId, pub amount: MinorUnit, #[serde(with = "common_utils::custom_serde::iso8601")] pub created_at: PrimitiveDateTime, #[serde(with = "common_utils::custom_serde::iso8601")] pub modified_at: PrimitiveDateTime, pub status: storage_enums::AuthorizationStatus, pub error_code: Option<String>, pub error_message: Option<String>, pub connector_authorization_id: Option<String>, pub previously_authorized_amount: MinorUnit, }
{ "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": null, "struct_name": "Authorization", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_-2772896773780898356
clm
struct
// hyperswitch/crates/diesel_models/src/authorization.rs pub struct AuthorizationNew { pub authorization_id: String, pub merchant_id: common_utils::id_type::MerchantId, pub payment_id: common_utils::id_type::PaymentId, pub amount: MinorUnit, pub status: storage_enums::AuthorizationStatus, pub error_code: Option<String>, pub error_message: Option<String>, pub connector_authorization_id: Option<String>, pub previously_authorized_amount: MinorUnit, }
{ "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": null, "struct_name": "AuthorizationNew", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_4097874706435587971
clm
struct
// hyperswitch/crates/diesel_models/src/authorization.rs pub struct AuthorizationUpdateInternal { pub status: Option<storage_enums::AuthorizationStatus>, pub error_code: Option<String>, pub error_message: Option<String>, pub modified_at: Option<PrimitiveDateTime>, pub connector_authorization_id: 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": null, "struct_name": "AuthorizationUpdateInternal", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_7022408082581304679
clm
struct
// hyperswitch/crates/diesel_models/src/payment_methods_session.rs pub struct PaymentMethodSession { pub id: common_utils::id_type::GlobalPaymentMethodSessionId, pub customer_id: common_utils::id_type::GlobalCustomerId, pub billing: Option<common_utils::encryption::Encryption>, pub psp_tokenization: Option<common_types::payment_methods::PspTokenization>, pub network_tokenization: Option<common_types::payment_methods::NetworkTokenization>, pub tokenization_data: Option<pii::SecretSerdeValue>, pub return_url: Option<common_utils::types::Url>, #[serde(with = "common_utils::custom_serde::iso8601")] pub expires_at: time::PrimitiveDateTime, pub associated_payment_methods: Option<Vec<String>>, pub associated_payment: Option<common_utils::id_type::GlobalPaymentId>, pub associated_token_id: Option<common_utils::id_type::GlobalTokenId>, }
{ "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": null, "struct_name": "PaymentMethodSession", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_-3601079756329690112
clm
struct
// hyperswitch/crates/diesel_models/src/user_authentication_method.rs pub struct UserAuthenticationMethod { pub id: String, pub auth_id: String, pub owner_id: String, pub owner_type: enums::Owner, pub auth_type: enums::UserAuthType, pub private_config: Option<Encryption>, pub public_config: Option<serde_json::Value>, pub allow_signup: bool, pub created_at: PrimitiveDateTime, pub last_modified_at: PrimitiveDateTime, pub email_domain: 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": null, "struct_name": "UserAuthenticationMethod", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_-5454068842034506061
clm
struct
// hyperswitch/crates/diesel_models/src/user_authentication_method.rs pub struct UserAuthenticationMethodNew { pub id: String, pub auth_id: String, pub owner_id: String, pub owner_type: enums::Owner, pub auth_type: enums::UserAuthType, pub private_config: Option<Encryption>, pub public_config: Option<serde_json::Value>, pub allow_signup: bool, pub created_at: PrimitiveDateTime, pub last_modified_at: PrimitiveDateTime, pub email_domain: 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": null, "struct_name": "UserAuthenticationMethodNew", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_2780092559188649872
clm
struct
// hyperswitch/crates/diesel_models/src/user_authentication_method.rs pub struct OrgAuthenticationMethodUpdateInternal { pub private_config: Option<Encryption>, pub public_config: Option<serde_json::Value>, pub last_modified_at: PrimitiveDateTime, pub email_domain: 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": null, "struct_name": "OrgAuthenticationMethodUpdateInternal", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_2577427716101548302
clm
struct
// hyperswitch/crates/diesel_models/src/file.rs pub struct FileMetadataNew { pub file_id: String, pub merchant_id: common_utils::id_type::MerchantId, pub file_name: Option<String>, pub file_size: i32, pub file_type: String, pub provider_file_id: Option<String>, pub file_upload_provider: Option<common_enums::FileUploadProvider>, pub available: bool, pub connector_label: Option<String>, pub profile_id: Option<common_utils::id_type::ProfileId>, pub merchant_connector_id: Option<common_utils::id_type::MerchantConnectorAccountId>, }
{ "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": null, "struct_name": "FileMetadataNew", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_3836925613488735626
clm
struct
// hyperswitch/crates/diesel_models/src/file.rs pub struct FileMetadata { #[serde(skip_serializing)] pub file_id: String, pub merchant_id: common_utils::id_type::MerchantId, pub file_name: Option<String>, pub file_size: i32, pub file_type: String, pub provider_file_id: Option<String>, pub file_upload_provider: Option<common_enums::FileUploadProvider>, pub available: bool, #[serde(with = "custom_serde::iso8601")] pub created_at: time::PrimitiveDateTime, pub connector_label: Option<String>, pub profile_id: Option<common_utils::id_type::ProfileId>, pub merchant_connector_id: Option<common_utils::id_type::MerchantConnectorAccountId>, }
{ "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": null, "struct_name": "FileMetadata", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_4460999881093110755
clm
struct
// hyperswitch/crates/diesel_models/src/file.rs pub struct FileMetadataUpdateInternal { provider_file_id: Option<String>, file_upload_provider: Option<common_enums::FileUploadProvider>, available: bool, profile_id: Option<common_utils::id_type::ProfileId>, merchant_connector_id: Option<common_utils::id_type::MerchantConnectorAccountId>, }
{ "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": null, "struct_name": "FileMetadataUpdateInternal", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_4995287510692934612
clm
struct
// hyperswitch/crates/diesel_models/src/user/theme.rs pub struct Theme { pub theme_id: String, pub tenant_id: id_type::TenantId, pub org_id: Option<id_type::OrganizationId>, pub merchant_id: Option<id_type::MerchantId>, pub profile_id: Option<id_type::ProfileId>, pub created_at: PrimitiveDateTime, pub last_modified_at: PrimitiveDateTime, pub entity_type: EntityType, pub theme_name: String, pub email_primary_color: String, pub email_foreground_color: String, pub email_background_color: String, pub email_entity_name: String, pub email_entity_logo_url: 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": null, "struct_name": "Theme", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_-7765269208750511391
clm
struct
// hyperswitch/crates/diesel_models/src/user/theme.rs pub struct ThemeNew { pub theme_id: String, pub tenant_id: id_type::TenantId, pub org_id: Option<id_type::OrganizationId>, pub merchant_id: Option<id_type::MerchantId>, pub profile_id: Option<id_type::ProfileId>, pub created_at: PrimitiveDateTime, pub last_modified_at: PrimitiveDateTime, pub entity_type: EntityType, pub theme_name: String, pub email_primary_color: String, pub email_foreground_color: String, pub email_background_color: String, pub email_entity_name: String, pub email_entity_logo_url: 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": null, "struct_name": "ThemeNew", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_-8260281617680013042
clm
struct
// hyperswitch/crates/diesel_models/src/user/theme.rs pub struct ThemeUpdateInternal { pub email_primary_color: Option<String>, pub email_foreground_color: Option<String>, pub email_background_color: Option<String>, pub email_entity_name: Option<String>, pub email_entity_logo_url: 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": null, "struct_name": "ThemeUpdateInternal", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_-8418012049262242175
clm
struct
// hyperswitch/crates/diesel_models/src/user/dashboard_metadata.rs pub struct DashboardMetadata { pub id: i32, pub user_id: Option<String>, pub merchant_id: id_type::MerchantId, pub org_id: id_type::OrganizationId, pub data_key: enums::DashboardMetadata, pub data_value: Secret<serde_json::Value>, pub created_by: String, pub created_at: PrimitiveDateTime, pub last_modified_by: String, pub last_modified_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": null, "struct_name": "DashboardMetadata", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_1243068608179656137
clm
struct
// hyperswitch/crates/diesel_models/src/user/dashboard_metadata.rs pub struct DashboardMetadataNew { pub user_id: Option<String>, pub merchant_id: id_type::MerchantId, pub org_id: id_type::OrganizationId, pub data_key: enums::DashboardMetadata, pub data_value: Secret<serde_json::Value>, pub created_by: String, pub created_at: PrimitiveDateTime, pub last_modified_by: String, pub last_modified_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": null, "struct_name": "DashboardMetadataNew", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_7945871274115780399
clm
struct
// hyperswitch/crates/diesel_models/src/user/dashboard_metadata.rs pub struct DashboardMetadataUpdateInternal { pub data_key: enums::DashboardMetadata, pub data_value: Secret<serde_json::Value>, pub last_modified_by: String, pub last_modified_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": null, "struct_name": "DashboardMetadataUpdateInternal", "total_crates": null, "trait_name": null }
hyperswitch_struct_diesel_models_4670327952806451081
clm
struct
// hyperswitch/crates/diesel_models/src/user/sample_data.rs pub struct PaymentAttemptBatchNew { pub payment_id: common_utils::id_type::PaymentId, pub merchant_id: common_utils::id_type::MerchantId, pub attempt_id: String, pub status: AttemptStatus, pub amount: MinorUnit, pub currency: Option<Currency>, pub save_to_locker: Option<bool>, pub connector: Option<String>, pub error_message: Option<String>, pub offer_amount: Option<MinorUnit>, pub surcharge_amount: Option<MinorUnit>, pub tax_amount: Option<MinorUnit>, pub payment_method_id: Option<String>, pub payment_method: Option<PaymentMethod>, pub capture_method: Option<CaptureMethod>, #[serde(default, with = "common_utils::custom_serde::iso8601::option")] pub capture_on: Option<PrimitiveDateTime>, pub confirm: bool, pub authentication_type: Option<AuthenticationType>, #[serde(with = "common_utils::custom_serde::iso8601")] pub created_at: PrimitiveDateTime, #[serde(with = "common_utils::custom_serde::iso8601")] pub modified_at: PrimitiveDateTime, #[serde(default, with = "common_utils::custom_serde::iso8601::option")] pub last_synced: Option<PrimitiveDateTime>, pub cancellation_reason: Option<String>, pub amount_to_capture: Option<MinorUnit>, pub mandate_id: Option<String>, pub browser_info: Option<serde_json::Value>, pub payment_token: Option<String>, pub error_code: Option<String>, pub connector_metadata: Option<serde_json::Value>, pub payment_experience: Option<PaymentExperience>, pub payment_method_type: Option<PaymentMethodType>, pub payment_method_data: Option<serde_json::Value>, pub business_sub_label: Option<String>, pub straight_through_algorithm: Option<serde_json::Value>, pub preprocessing_step_id: Option<String>, pub mandate_details: Option<MandateDataType>, pub error_reason: Option<String>, pub connector_response_reference_id: Option<String>, pub connector_transaction_id: Option<ConnectorTransactionId>, pub multiple_capture_count: Option<i16>, pub amount_capturable: MinorUnit, pub updated_by: String, pub merchant_connector_id: Option<common_utils::id_type::MerchantConnectorAccountId>, pub authentication_data: Option<serde_json::Value>, pub encoded_data: Option<String>, pub unified_code: Option<String>, pub unified_message: Option<String>, pub net_amount: Option<MinorUnit>, pub external_three_ds_authentication_attempted: Option<bool>, pub authentication_connector: Option<String>, pub authentication_id: Option<common_utils::id_type::AuthenticationId>, pub mandate_data: Option<MandateDetails>, pub payment_method_billing_address_id: Option<String>, pub fingerprint_id: Option<String>, pub charge_id: Option<String>, pub client_source: Option<String>, pub client_version: Option<String>, pub customer_acceptance: Option<common_utils::pii::SecretSerdeValue>, pub profile_id: common_utils::id_type::ProfileId, pub organization_id: common_utils::id_type::OrganizationId, pub shipping_cost: Option<MinorUnit>, pub order_tax_amount: Option<MinorUnit>, pub processor_transaction_data: Option<String>, pub connector_mandate_detail: Option<ConnectorMandateReferenceId>, pub request_extended_authorization: Option<RequestExtendedAuthorizationBool>, pub extended_authorization_applied: Option<ExtendedAuthorizationAppliedBool>, pub capture_before: Option<PrimitiveDateTime>, pub card_discovery: Option<common_enums::CardDiscovery>, pub processor_merchant_id: Option<common_utils::id_type::MerchantId>, pub created_by: Option<String>, pub setup_future_usage_applied: Option<common_enums::FutureUsage>, pub routing_approach: Option<common_enums::RoutingApproach>, pub connector_request_reference_id: Option<String>, pub network_transaction_id: Option<String>, pub network_details: Option<NetworkDetails>, pub is_stored_credential: Option<bool>, pub authorized_amount: Option<MinorUnit>, }
{ "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": null, "struct_name": "PaymentAttemptBatchNew", "total_crates": null, "trait_name": null }
hyperswitch_struct_scheduler_3604790350024068251
clm
struct
// hyperswitch/crates/scheduler/src/settings.rs pub struct ProducerSettings { pub upper_fetch_limit: i64, pub lower_fetch_limit: i64, pub lock_key: String, pub lock_ttl: i64, pub batch_size: usize, }
{ "chunk": null, "crate": "scheduler", "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": "ProducerSettings", "total_crates": null, "trait_name": null }
hyperswitch_struct_scheduler_6061044102261605708
clm
struct
// hyperswitch/crates/scheduler/src/settings.rs pub struct ConsumerSettings { pub disabled: bool, pub consumer_group: String, }
{ "chunk": null, "crate": "scheduler", "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": "ConsumerSettings", "total_crates": null, "trait_name": null }
hyperswitch_struct_scheduler_5550320381882923474
clm
struct
// hyperswitch/crates/scheduler/src/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": "scheduler", "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_scheduler_-4198201906071571410
clm
struct
// hyperswitch/crates/scheduler/src/configs/settings.rs pub struct SchedulerSettings { pub stream: String, pub producer: ProducerSettings, pub consumer: ConsumerSettings, pub loop_interval: u64, pub graceful_shutdown_interval: u64, pub server: Server, }
{ "chunk": null, "crate": "scheduler", "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": "SchedulerSettings", "total_crates": null, "trait_name": null }
hyperswitch_struct_scheduler_7049658610652558128
clm
struct
// hyperswitch/crates/scheduler/src/configs/settings.rs pub struct Server { pub port: u16, pub workers: usize, pub host: String, }
{ "chunk": null, "crate": "scheduler", "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_scheduler_3604790350024068251
clm
struct
// hyperswitch/crates/scheduler/src/configs/settings.rs pub struct ProducerSettings { pub upper_fetch_limit: i64, pub lower_fetch_limit: i64, pub lock_key: String, pub lock_ttl: i64, pub batch_size: usize, }
{ "chunk": null, "crate": "scheduler", "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": "ProducerSettings", "total_crates": null, "trait_name": null }
hyperswitch_struct_scheduler_6061044102261605708
clm
struct
// hyperswitch/crates/scheduler/src/configs/settings.rs pub struct ConsumerSettings { pub disabled: bool, pub consumer_group: String, }
{ "chunk": null, "crate": "scheduler", "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": "ConsumerSettings", "total_crates": null, "trait_name": null }
hyperswitch_struct_scheduler_688029175658292978
clm
struct
// hyperswitch/crates/scheduler/src/consumer/types/batch.rs pub struct ProcessTrackerBatch { pub id: String, pub group_name: String, pub stream_name: String, pub connection_name: String, pub created_time: PrimitiveDateTime, pub rule: String, // is it required? pub trackers: Vec<ProcessTracker>, /* FIXME: Add sized also here, list */ }
{ "chunk": null, "crate": "scheduler", "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": "ProcessTrackerBatch", "total_crates": null, "trait_name": null }
hyperswitch_struct_scheduler_-779789647793699000
clm
struct
// hyperswitch/crates/scheduler/src/consumer/types/process_data.rs pub struct RetryMapping { pub start_after: i32, pub frequencies: Vec<(i32, i32)>, // (frequency, count) }
{ "chunk": null, "crate": "scheduler", "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": "RetryMapping", "total_crates": null, "trait_name": null }
hyperswitch_struct_scheduler_4249445184205748187
clm
struct
// hyperswitch/crates/scheduler/src/consumer/types/process_data.rs pub struct ConnectorPTMapping { pub default_mapping: RetryMapping, pub custom_merchant_mapping: HashMap<common_utils::id_type::MerchantId, RetryMapping>, pub max_retries_count: i32, }
{ "chunk": null, "crate": "scheduler", "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": "ConnectorPTMapping", "total_crates": null, "trait_name": null }
hyperswitch_struct_scheduler_109235265067490709
clm
struct
// hyperswitch/crates/scheduler/src/consumer/types/process_data.rs pub struct SubscriptionInvoiceSyncPTMapping { pub default_mapping: RetryMapping, pub custom_merchant_mapping: HashMap<common_utils::id_type::MerchantId, RetryMapping>, pub max_retries_count: i32, }
{ "chunk": null, "crate": "scheduler", "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": "SubscriptionInvoiceSyncPTMapping", "total_crates": null, "trait_name": null }
hyperswitch_struct_scheduler_-49837148302794505
clm
struct
// hyperswitch/crates/scheduler/src/consumer/types/process_data.rs pub struct PaymentMethodsPTMapping { pub default_mapping: RetryMapping, pub custom_pm_mapping: HashMap<enums::PaymentMethod, RetryMapping>, pub max_retries_count: i32, }
{ "chunk": null, "crate": "scheduler", "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": "PaymentMethodsPTMapping", "total_crates": null, "trait_name": null }
hyperswitch_struct_scheduler_304826641283590746
clm
struct
// hyperswitch/crates/scheduler/src/consumer/types/process_data.rs pub struct OutgoingWebhookRetryProcessTrackerMapping { /// Default (fallback) retry configuration used when no merchant-specific retry configuration /// exists. pub default_mapping: RetryMapping, /// Merchant-specific retry configuration. pub custom_merchant_mapping: HashMap<common_utils::id_type::MerchantId, RetryMapping>, }
{ "chunk": null, "crate": "scheduler", "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": "OutgoingWebhookRetryProcessTrackerMapping", "total_crates": null, "trait_name": null }
hyperswitch_struct_scheduler_3774472045544693102
clm
struct
// hyperswitch/crates/scheduler/src/consumer/types/process_data.rs pub struct RevenueRecoveryPaymentProcessTrackerMapping { /// Default (fallback) retry configuration used when no merchant-specific retry configuration /// exists. pub default_mapping: RetryMapping, /// Merchant-specific retry configuration. pub custom_merchant_mapping: HashMap<common_utils::id_type::MerchantId, RetryMapping>, }
{ "chunk": null, "crate": "scheduler", "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": "RevenueRecoveryPaymentProcessTrackerMapping", "total_crates": null, "trait_name": null }
hyperswitch_struct_smithy-generator_3916174315249399521
clm
struct
// hyperswitch/crates/smithy-generator/build.rs struct SmithyModelInfo { struct_name: String, module_path: String, }
{ "chunk": null, "crate": "smithy-generator", "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": "SmithyModelInfo", "total_crates": null, "trait_name": null }
hyperswitch_struct_drainer_3283081886484975500
clm
struct
// hyperswitch/crates/drainer/src/types.rs pub struct StreamData { pub request_id: String, pub global_id: String, #[serde(deserialize_with = "deserialize_db_op")] pub typed_sql: kv::DBOperation, #[serde(deserialize_with = "deserialize_i64")] pub pushed_at: i64, }
{ "chunk": null, "crate": "drainer", "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": "StreamData", "total_crates": null, "trait_name": null }
hyperswitch_struct_drainer_64584942414241379
clm
struct
// hyperswitch/crates/drainer/src/handler.rs pub struct Handler { inner: Arc<HandlerInner>, }
{ "chunk": null, "crate": "drainer", "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": "Handler", "total_crates": null, "trait_name": null }
hyperswitch_struct_drainer_-31077219724339155
clm
struct
// hyperswitch/crates/drainer/src/services.rs pub struct Store { pub master_pool: PgPool, pub redis_conn: Arc<RedisConnectionPool>, pub config: StoreConfig, pub request_id: Option<String>, }
{ "chunk": null, "crate": "drainer", "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": "Store", "total_crates": null, "trait_name": null }
hyperswitch_struct_drainer_-3648664408136340382
clm
struct
// hyperswitch/crates/drainer/src/services.rs pub struct StoreConfig { pub drainer_stream_name: String, pub drainer_num_partitions: u8, pub use_legacy_version: bool, }
{ "chunk": null, "crate": "drainer", "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": "StoreConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_drainer_8332018502991805532
clm
struct
// hyperswitch/crates/drainer/src/health_check.rs pub struct DrainerHealthCheckResponse { pub database: bool, pub redis: bool, }
{ "chunk": null, "crate": "drainer", "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": "DrainerHealthCheckResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_drainer_2791056937567263065
clm
struct
// hyperswitch/crates/drainer/src/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": "drainer", "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_drainer_-6035112572110532377
clm
struct
// hyperswitch/crates/drainer/src/settings.rs pub struct AppState { pub conf: Arc<Settings<RawSecret>>, pub encryption_client: Arc<dyn EncryptionManagementInterface>, }
{ "chunk": null, "crate": "drainer", "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": "AppState", "total_crates": null, "trait_name": null }
hyperswitch_struct_drainer_-2468058615606694091
clm
struct
// hyperswitch/crates/drainer/src/settings.rs pub struct Settings<S: SecretState> { pub server: Server, pub master_database: SecretStateContainer<Database, S>, pub redis: redis::RedisSettings, pub log: Log, pub drainer: DrainerSettings, pub encryption_management: EncryptionManagementConfig, pub secrets_management: SecretsManagementConfig, pub multitenancy: Multitenancy, }
{ "chunk": null, "crate": "drainer", "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_drainer_1561251089258169281
clm
struct
// hyperswitch/crates/drainer/src/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, }
{ "chunk": null, "crate": "drainer", "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_drainer_5550320381882923474
clm
struct
// hyperswitch/crates/drainer/src/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": "drainer", "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_drainer_8559506790171752446
clm
struct
// hyperswitch/crates/drainer/src/settings.rs pub struct Multitenancy { pub enabled: bool, pub tenants: TenantConfig, }
{ "chunk": null, "crate": "drainer", "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_drainer_-4944691335562511823
clm
struct
// hyperswitch/crates/drainer/src/settings.rs pub struct TenantConfig(pub HashMap<id_type::TenantId, Tenant>);
{ "chunk": null, "crate": "drainer", "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_drainer_-4643135650511501134
clm
struct
// hyperswitch/crates/drainer/src/settings.rs struct Inner { base_url: String, schema: String, accounts_schema: String, redis_key_prefix: String, clickhouse_database: String, }
{ "chunk": null, "crate": "drainer", "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": "Inner", "total_crates": null, "trait_name": null }
hyperswitch_struct_drainer_472591159868673581
clm
struct
// hyperswitch/crates/drainer/src/settings.rs pub struct Tenant { pub tenant_id: id_type::TenantId, pub base_url: String, pub schema: String, pub accounts_schema: String, pub redis_key_prefix: String, pub clickhouse_database: String, }
{ "chunk": null, "crate": "drainer", "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": "Tenant", "total_crates": null, "trait_name": null }
hyperswitch_struct_drainer_7049658610652558128
clm
struct
// hyperswitch/crates/drainer/src/settings.rs pub struct Server { pub port: u16, pub workers: usize, pub host: String, }
{ "chunk": null, "crate": "drainer", "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_derive_3424717356236731770
clm
struct
// hyperswitch/crates/router_derive/src/macros/operation.rs pub struct OperationProperties { operations: Vec<Conversion>, flows: Vec<Derives>, }
{ "chunk": null, "crate": "router_derive", "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": "OperationProperties", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_derive_-8003594608227859519
clm
struct
// hyperswitch/crates/router_derive/src/macros/try_get_enum.rs pub struct TryGetEnumMeta { error_type: syn::Ident, variant: syn::Ident, }
{ "chunk": null, "crate": "router_derive", "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": "TryGetEnumMeta", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_derive_-5695952363551452140
clm
struct
// hyperswitch/crates/router_derive/src/macros/generate_schema.rs pub struct SchemaMeta { struct_name: syn::Ident, type_ident: syn::Ident, }
{ "chunk": null, "crate": "router_derive", "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": "SchemaMeta", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_derive_-2843953587173069818
clm
struct
// hyperswitch/crates/router_derive/src/macros/api_error/helpers.rs pub(super) struct ErrorTypeProperties { pub error_type_enum: Option<TypePath>, }
{ "chunk": null, "crate": "router_derive", "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": "ErrorTypeProperties", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_derive_3578533782113304560
clm
struct
// hyperswitch/crates/router_derive/src/macros/api_error/helpers.rs pub(super) struct ErrorVariantProperties { pub error_type: Option<TypePath>, pub code: Option<LitStr>, pub message: Option<LitStr>, pub ignore: std::collections::HashSet<String>, }
{ "chunk": null, "crate": "router_derive", "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": "ErrorVariantProperties", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_derive_-1216922467095267049
clm
struct
// hyperswitch/crates/router_derive/src/macros/schema/helpers.rs pub struct SchemaParameters { pub value_type: Option<TypePath>, pub min_length: Option<usize>, pub max_length: Option<usize>, pub example: Option<String>, }
{ "chunk": null, "crate": "router_derive", "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": "SchemaParameters", "total_crates": null, "trait_name": null }
hyperswitch_struct_subscriptions_3274568739267096274
clm
struct
// hyperswitch/crates/subscriptions/src/state.rs pub struct SubscriptionConfig { pub proxy: hyperswitch_interfaces::types::Proxy, pub internal_merchant_id_profile_id_auth: configs::InternalMerchantIdProfileIdAuthSettings, pub internal_services: configs::InternalServicesConfig, pub connectors: configs::Connectors, }
{ "chunk": null, "crate": "subscriptions", "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": "SubscriptionConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_subscriptions_7656778826631149089
clm
struct
// hyperswitch/crates/subscriptions/src/types/storage/invoice_sync.rs pub struct InvoiceSyncTrackingData { pub subscription_id: id_type::SubscriptionId, pub invoice_id: id_type::InvoiceId, pub merchant_id: id_type::MerchantId, pub profile_id: id_type::ProfileId, pub customer_id: id_type::CustomerId, // connector_invoice_id is optional because in some cases (Trial/Future), the invoice might not have been created in the connector yet. pub connector_invoice_id: Option<id_type::InvoiceId>, pub connector_name: api_enums::Connector, // The connector to which the invoice belongs }
{ "chunk": null, "crate": "subscriptions", "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": "InvoiceSyncTrackingData", "total_crates": null, "trait_name": null }
hyperswitch_struct_subscriptions_340146444918811314
clm
struct
// hyperswitch/crates/subscriptions/src/types/storage/invoice_sync.rs pub struct InvoiceSyncRequest { pub subscription_id: id_type::SubscriptionId, pub invoice_id: id_type::InvoiceId, pub merchant_id: id_type::MerchantId, pub profile_id: id_type::ProfileId, pub customer_id: id_type::CustomerId, pub connector_invoice_id: Option<id_type::InvoiceId>, pub connector_name: api_enums::Connector, }
{ "chunk": null, "crate": "subscriptions", "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": "InvoiceSyncRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_subscriptions_-4334158833734480404
clm
struct
// hyperswitch/crates/subscriptions/src/core/payments_api_client.rs pub struct ErrorResponse { error: ErrorResponseDetails, }
{ "chunk": null, "crate": "subscriptions", "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": "ErrorResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_subscriptions_1141517457536658198
clm
struct
// hyperswitch/crates/subscriptions/src/core/payments_api_client.rs pub struct ErrorResponseDetails { #[serde(rename = "type")] error_type: Option<String>, code: String, message: String, }
{ "chunk": null, "crate": "subscriptions", "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": "ErrorResponseDetails", "total_crates": null, "trait_name": null }
hyperswitch_struct_hsdev_8184023762754335865
clm
struct
// hyperswitch/crates/hsdev/src/main.rs struct Args { #[arg(short, long, value_hint = ValueHint::FilePath)] toml_file: std::path::PathBuf, #[arg(long, default_value_t = String::from(""))] toml_table: String, }
{ "chunk": null, "crate": "hsdev", "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": "Args", "total_crates": null, "trait_name": null }
hyperswitch_struct_hsdev_-1630628365818496020
clm
struct
// hyperswitch/crates/hsdev/src/input_file.rs pub struct InputData { username: String, password: String, dbname: String, host: String, port: u16, }
{ "chunk": null, "crate": "hsdev", "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": "InputData", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_4708279310309188831
clm
struct
// hyperswitch/crates/euclid/src/types.rs pub struct DummyOutput { pub outputs: Vec<String>, }
{ "chunk": null, "crate": "euclid", "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": "DummyOutput", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-333611586289278529
clm
struct
// hyperswitch/crates/euclid/src/types.rs pub struct StrValue { pub value: String, }
{ "chunk": null, "crate": "euclid", "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": "StrValue", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-5526348521810121769
clm
struct
// hyperswitch/crates/euclid/src/types.rs pub struct MetadataValue { pub key: String, pub value: String, }
{ "chunk": null, "crate": "euclid", "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": "MetadataValue", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-1689772377370149111
clm
struct
// hyperswitch/crates/euclid/src/types.rs pub struct NumValue { pub number: MinorUnit, pub refinement: Option<NumValueRefinement>, }
{ "chunk": null, "crate": "euclid", "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": "NumValue", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-2031448107322067498
clm
struct
// hyperswitch/crates/euclid/src/backend.rs pub struct BackendOutput<O> { pub rule_name: Option<String>, pub connector_selection: O, }
{ "chunk": null, "crate": "euclid", "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": "BackendOutput", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-102321245520860815
clm
struct
// hyperswitch/crates/euclid/src/frontend/vir.rs pub struct ValuedComparison { pub values: Vec<EuclidValue>, pub logic: ValuedComparisonLogic, pub metadata: Metadata, }
{ "chunk": null, "crate": "euclid", "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": "ValuedComparison", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-8563413036742516312
clm
struct
// hyperswitch/crates/euclid/src/frontend/vir.rs pub struct ValuedIfStatement { pub condition: ValuedIfCondition, pub nested: Option<Vec<ValuedIfStatement>>, }
{ "chunk": null, "crate": "euclid", "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": "ValuedIfStatement", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_8199504165415429736
clm
struct
// hyperswitch/crates/euclid/src/frontend/vir.rs pub struct ValuedRule<O> { pub name: String, pub connector_selection: O, pub statements: Vec<ValuedIfStatement>, }
{ "chunk": null, "crate": "euclid", "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": "ValuedRule", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_4192233837888913645
clm
struct
// hyperswitch/crates/euclid/src/frontend/vir.rs pub struct ValuedProgram<O> { pub default_selection: O, pub rules: Vec<ValuedRule<O>>, pub metadata: Metadata, }
{ "chunk": null, "crate": "euclid", "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": "ValuedProgram", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_101519136536996424
clm
struct
// hyperswitch/crates/euclid/src/frontend/dir.rs pub struct DirKey { pub kind: DirKeyKind, pub value: Option<String>, }
{ "chunk": null, "crate": "euclid", "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": "DirKey", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_2553353759253552417
clm
struct
// hyperswitch/crates/euclid/src/frontend/dir.rs pub struct DirComparison { pub values: Vec<DirValue>, pub logic: DirComparisonLogic, pub metadata: types::Metadata, }
{ "chunk": null, "crate": "euclid", "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": "DirComparison", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-2532650544848967462
clm
struct
// hyperswitch/crates/euclid/src/frontend/dir.rs pub struct DirIfStatement { pub condition: DirIfCondition, pub nested: Option<Vec<DirIfStatement>>, }
{ "chunk": null, "crate": "euclid", "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": "DirIfStatement", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-2802789594262152801
clm
struct
// hyperswitch/crates/euclid/src/frontend/dir.rs pub struct DirRule<O> { pub name: String, pub connector_selection: O, pub statements: Vec<DirIfStatement>, }
{ "chunk": null, "crate": "euclid", "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": "DirRule", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_901959018178519170
clm
struct
// hyperswitch/crates/euclid/src/frontend/dir.rs pub struct DirProgram<O> { pub default_selection: O, pub rules: Vec<DirRule<O>>, pub metadata: types::Metadata, }
{ "chunk": null, "crate": "euclid", "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": "DirProgram", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-8621979474131388994
clm
struct
// hyperswitch/crates/euclid/src/frontend/ast.rs pub struct ConnectorChoice { pub connector: RoutableConnectors, }
{ "chunk": null, "crate": "euclid", "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": "ConnectorChoice", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-5526348521810121769
clm
struct
// hyperswitch/crates/euclid/src/frontend/ast.rs pub struct MetadataValue { pub key: String, pub value: String, }
{ "chunk": null, "crate": "euclid", "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": "MetadataValue", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_1040581744784210622
clm
struct
// hyperswitch/crates/euclid/src/frontend/ast.rs pub struct NumberComparison { pub comparison_type: ComparisonType, pub number: MinorUnit, }
{ "chunk": null, "crate": "euclid", "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": "NumberComparison", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-6441350888823663390
clm
struct
// hyperswitch/crates/euclid/src/frontend/ast.rs pub struct Comparison { /// The left hand side which will always be a domain input identifier like "payment.method.cardtype" pub lhs: String, /// The comparison operator pub comparison: ComparisonType, /// The value to compare against pub value: ValueType, /// Additional metadata that the Static Analyzer and Backend does not touch. /// This can be used to store useful information for the frontend and is required for communication /// between the static analyzer and the frontend. #[schema(value_type=HashMap<String, serde_json::Value>)] pub metadata: Metadata, }
{ "chunk": null, "crate": "euclid", "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": "Comparison", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_4277898225663371659
clm
struct
// hyperswitch/crates/euclid/src/frontend/ast.rs pub struct IfStatement { #[schema(value_type=Vec<Comparison>)] pub condition: IfCondition, pub nested: Option<Vec<IfStatement>>, }
{ "chunk": null, "crate": "euclid", "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": "IfStatement", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_8719441995358524715
clm
struct
// hyperswitch/crates/euclid/src/frontend/ast.rs pub struct Rule<O> { pub name: String, #[serde(alias = "routingOutput")] pub connector_selection: O, pub statements: Vec<IfStatement>, }
{ "chunk": null, "crate": "euclid", "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": "Rule", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-7153233528979937547
clm
struct
// hyperswitch/crates/euclid/src/frontend/ast.rs pub struct Program<O> { pub default_selection: O, #[schema(value_type=RuleConnectorSelection)] pub rules: Vec<Rule<O>>, #[schema(value_type=HashMap<String, serde_json::Value>)] pub metadata: Metadata, }
{ "chunk": null, "crate": "euclid", "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": "Program", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_6504332568887643201
clm
struct
// hyperswitch/crates/euclid/src/frontend/ast.rs pub struct RoutableConnectorChoice { #[serde(skip)] pub choice_kind: RoutableChoiceKind, pub connector: RoutableConnectors, pub merchant_connector_id: Option<common_utils::id_type::MerchantConnectorAccountId>, }
{ "chunk": null, "crate": "euclid", "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": "RoutableConnectorChoice", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_2143745964978651605
clm
struct
// hyperswitch/crates/euclid/src/frontend/ast.rs pub struct ConnectorVolumeSplit { pub connector: RoutableConnectorChoice, pub split: u8, }
{ "chunk": null, "crate": "euclid", "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": "ConnectorVolumeSplit", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-3907327999527100644
clm
struct
// hyperswitch/crates/euclid/src/backend/vir_interpreter.rs pub struct VirInterpreterBackend<O> { program: vir::ValuedProgram<O>, }
{ "chunk": null, "crate": "euclid", "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": "VirInterpreterBackend", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_4620108802471482216
clm
struct
// hyperswitch/crates/euclid/src/backend/inputs.rs pub struct MandateData { pub mandate_acceptance_type: Option<enums::MandateAcceptanceType>, pub mandate_type: Option<enums::MandateType>, pub payment_type: Option<enums::PaymentType>, }
{ "chunk": null, "crate": "euclid", "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": "MandateData", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-71388489666294977
clm
struct
// hyperswitch/crates/euclid/src/backend/inputs.rs pub struct PaymentMethodInput { pub payment_method: Option<enums::PaymentMethod>, pub payment_method_type: Option<enums::PaymentMethodType>, pub card_network: Option<enums::CardNetwork>, }
{ "chunk": null, "crate": "euclid", "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": "PaymentMethodInput", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-692007805379197440
clm
struct
// hyperswitch/crates/euclid/src/backend/inputs.rs pub struct PaymentInput { pub amount: common_utils::types::MinorUnit, pub currency: enums::Currency, pub authentication_type: Option<enums::AuthenticationType>, pub card_bin: Option<String>, pub capture_method: Option<enums::CaptureMethod>, pub business_country: Option<enums::Country>, pub billing_country: Option<enums::Country>, pub business_label: Option<String>, pub setup_future_usage: Option<enums::SetupFutureUsage>, }
{ "chunk": null, "crate": "euclid", "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": "PaymentInput", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-6750002943586605392
clm
struct
// hyperswitch/crates/euclid/src/backend/inputs.rs pub struct AcquirerDataInput { pub country: Option<enums::Country>, pub fraud_rate: Option<f64>, }
{ "chunk": null, "crate": "euclid", "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": "AcquirerDataInput", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_9163557736159472327
clm
struct
// hyperswitch/crates/euclid/src/backend/inputs.rs pub struct CustomerDeviceDataInput { pub platform: Option<CustomerDevicePlatform>, pub device_type: Option<CustomerDeviceType>, pub display_size: Option<CustomerDeviceDisplaySize>, }
{ "chunk": null, "crate": "euclid", "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": "CustomerDeviceDataInput", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-34462702608688710
clm
struct
// hyperswitch/crates/euclid/src/backend/inputs.rs pub struct IssuerDataInput { pub name: Option<String>, pub country: Option<enums::Country>, }
{ "chunk": null, "crate": "euclid", "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": "IssuerDataInput", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-2462683478433044365
clm
struct
// hyperswitch/crates/euclid/src/backend/inputs.rs pub struct BackendInput { pub metadata: Option<FxHashMap<String, String>>, pub payment: PaymentInput, pub payment_method: PaymentMethodInput, pub acquirer_data: Option<AcquirerDataInput>, pub customer_device_data: Option<CustomerDeviceDataInput>, pub issuer_data: Option<IssuerDataInput>, pub mandate: MandateData, }
{ "chunk": null, "crate": "euclid", "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": "BackendInput", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-889344752146419999
clm
struct
// hyperswitch/crates/euclid/src/backend/interpreter/types.rs pub struct InterpreterError { pub error_type: InterpreterErrorType, pub metadata: HashMap<String, serde_json::Value>, }
{ "chunk": null, "crate": "euclid", "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": "InterpreterError", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-6416321476992915882
clm
struct
// hyperswitch/crates/euclid/src/dssa/state_machine.rs struct ComparisonStateMachine<'a> { values: &'a [dir::DirValue], logic: &'a dir::DirComparisonLogic, metadata: &'a Metadata, count: usize, ctx_idx: usize, }
{ "chunk": null, "crate": "euclid", "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": "ComparisonStateMachine", "total_crates": null, "trait_name": null }
hyperswitch_struct_euclid_-4445191057669330184
clm
struct
// hyperswitch/crates/euclid/src/dssa/state_machine.rs struct ConditionStateMachine<'a> { state_machines: Vec<ComparisonStateMachine<'a>>, start_ctx_idx: usize, }
{ "chunk": null, "crate": "euclid", "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": "ConditionStateMachine", "total_crates": null, "trait_name": null }