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::i...
{ "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_-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:...
{ "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_-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_ut...
{ "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_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_enu...
{ "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_-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_...
{ "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_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_...
{ "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_-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")] p...
{ "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_-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 e...
{ "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_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: Op...
{ "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_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: Op...
{ "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_-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:...
{ "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_-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_conf...
{ "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_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": nu...
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: Opt...
{ "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_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>, p...
{ "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_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...
{ "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_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: PrimitiveDateTi...
{ "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_-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: PrimitiveDat...
{ "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_-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": nu...
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...
{ "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_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 cre...
{ "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_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": nu...
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<Cu...
{ "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_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, ...
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, ...
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, ...
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, ...
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, ...
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, ...
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, ...
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:...
{ "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, ...
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, ...
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, ...
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, ...
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, ...
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 configurati...
{ "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, ...
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 configura...
{ "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, ...
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":...
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, ...
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, ...
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, ...
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, ...
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, ...
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, ...
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, ...
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, ...
{ "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, ...
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, ...
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, ...
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, ...
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, ...
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, ...
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, ...
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, ...
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": nu...
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": nu...
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": nu...
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": nu...
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": nu...
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": nu...
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::...
{ "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": nu...
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...
{ "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": nu...
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, ...
{ "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": nu...
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": nu...
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": nu...
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, "s...
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, "s...
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, "...
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, "...
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, "...
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, "...
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, "...
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, "...
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, "...
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, "...
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, "...
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, "...
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, "...
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, "...
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, "...
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, "...
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, "...
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, "...
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, "...
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: ...
{ "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, "...
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, "...
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, "...
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, "...
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, "...
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, "...
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, "...
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, "...
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, "...
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...
{ "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, "...
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, "...
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, "...
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, "...
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>, ...
{ "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, "...
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, "...
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, "...
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, "...