id
stringlengths 20
153
| type
stringclasses 1
value | granularity
stringclasses 14
values | content
stringlengths 16
84.3k
| metadata
dict |
|---|---|---|---|---|
hyperswitch_struct_router_3256467421276710979
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/helpers.rs
pub struct GooglePaySignedMessage {
#[serde(with = "common_utils::Base64Serializer")]
encrypted_message: masking::Secret<Vec<u8>>,
#[serde(with = "common_utils::Base64Serializer")]
ephemeral_public_key: masking::Secret<Vec<u8>>,
#[serde(with = "common_utils::Base64Serializer")]
tag: masking::Secret<Vec<u8>>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "GooglePaySignedMessage",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_577183749199214728
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/helpers.rs
pub struct IntermediateSigningKey {
signed_key: masking::Secret<String>,
signatures: Vec<masking::Secret<String>>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "IntermediateSigningKey",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_1199353422243263224
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/helpers.rs
pub struct GooglePaySignedKey {
key_value: masking::Secret<String>,
key_expiration: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "GooglePaySignedKey",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_1421429767247328544
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/helpers.rs
pub struct GooglePayRootSigningKey {
key_value: masking::Secret<String>,
key_expiration: String,
protocol_version: GooglePayProtocolVersion,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "GooglePayRootSigningKey",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_5448811366880682767
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/helpers.rs
pub struct JwsBody {
pub payload_id: String,
pub session_id: String,
pub secured_payload: masking::Secret<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "JwsBody",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_7536294153758656599
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations.rs
pub struct ValidateResult {
pub merchant_id: common_utils::id_type::MerchantId,
pub payment_id: api::PaymentIdType,
pub storage_scheme: enums::MerchantStorageScheme,
pub requeue: bool,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ValidateResult",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_7536294153758656599
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations.rs
pub struct ValidateResult {
pub merchant_id: common_utils::id_type::MerchantId,
pub storage_scheme: enums::MerchantStorageScheme,
pub requeue: bool,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ValidateResult",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-104956915372740698
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_status.rs
pub struct PaymentStatus;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentStatus",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6949239860311172810
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/tax_calculation.rs
pub struct PaymentSessionUpdate;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentSessionUpdate",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_6005190949041816588
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_get.rs
pub struct PaymentGet;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentGet",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-648405415989960317
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_confirm_intent.rs
pub struct PaymentIntentConfirm;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentIntentConfirm",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_2866940496137971692
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payments_incremental_authorization.rs
pub struct PaymentIncrementalAuthorization;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentIncrementalAuthorization",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-7465109312444803924
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_reject.rs
pub struct PaymentReject;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentReject",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_7838257842574452938
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_capture_v2.rs
pub struct PaymentsCapture;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentsCapture",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_6758359363703172563
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_update_metadata.rs
pub struct PaymentUpdateMetadata;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentUpdateMetadata",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_4913698885111746503
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_approve.rs
pub struct PaymentApprove;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentApprove",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_6765845607795830228
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_response.rs
pub struct PaymentResponse;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_6765845607795830228
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_response.rs
pub struct PaymentResponse;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_5526901768077860201
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_get_intent.rs
pub struct PaymentGetIntent;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentGetIntent",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_6697424026887799525
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_session.rs
pub struct PaymentSession;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentSession",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-4297195435438321263
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs
pub struct ExternalVaultProxyPaymentIntent;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ExternalVaultProxyPaymentIntent",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-8224505477025706209
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_post_session_tokens.rs
pub struct PaymentPostSessionTokens;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentPostSessionTokens",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-135398204893558177
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_start.rs
pub struct PaymentStart;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentStart",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_2732275985706194052
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_session_intent.rs
pub struct PaymentSessionIntent;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentSessionIntent",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_213373034932020133
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_attempt_record.rs
pub struct PaymentAttemptRecord;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentAttemptRecord",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_2690416800209818612
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_cancel_v2.rs
pub struct PaymentsCancel;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentsCancel",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_1031854775458833759
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_attempt_list.rs
pub struct PaymentGetListAttempts;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentGetListAttempts",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6700283303698222442
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_cancel_post_capture.rs
pub struct PaymentCancelPostCapture;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentCancelPostCapture",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-3777267366691009617
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_create_intent.rs
pub struct PaymentIntentCreate;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentIntentCreate",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-5050552064410762683
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_complete_authorize.rs
pub struct CompleteAuthorize;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CompleteAuthorize",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_1464653215787143706
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_capture.rs
pub struct PaymentCapture;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentCapture",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-3411764381428294375
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_create.rs
pub struct PaymentCreate;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentCreate",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_5580806918743182318
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_cancel.rs
pub struct PaymentCancel;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentCancel",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_5755334456331268514
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_confirm.rs
pub struct PaymentConfirm;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentConfirm",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_990764050824370756
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/proxy_payments_intent.rs
pub struct PaymentProxyIntent;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentProxyIntent",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_6939936790310838067
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_update_intent.rs
pub struct PaymentUpdateIntent;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentUpdateIntent",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_1104843869687518933
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payments_extend_authorization.rs
pub struct PaymentExtendAuthorization;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentExtendAuthorization",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-3317861672771775884
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/operations/payment_update.rs
pub struct PaymentUpdate;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentUpdate",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-1573547872709624774
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct ActivateRoutingConfigRequest {
pub created_by: String,
pub routing_algorithm_id: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ActivateRoutingConfigRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_1775371875760090529
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct ListRountingAlgorithmsRequest {
pub created_by: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ListRountingAlgorithmsRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-8001815230383504974
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
struct DeErrorResponse {
code: String,
message: String,
data: Option<serde_json::Value>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "DeErrorResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6441350888823663390
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.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": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Comparison",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_4277898225663371659
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct IfStatement {
// #[schema(value_type=Vec<Comparison>)]
pub condition: IfCondition,
pub nested: Option<Vec<IfStatement>>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "IfStatement",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_2407759505026885779
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct VolumeSplit<T> {
pub split: u8,
pub output: T,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "VolumeSplit",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_33365682014349070
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct ConnectorInfo {
pub gateway_name: String,
pub gateway_id: Option<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ConnectorInfo",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_2669743220258159289
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct RoutingRule {
pub rule_id: Option<String>,
pub name: String,
pub description: Option<String>,
pub metadata: Option<RoutingMetadata>,
pub created_by: String,
#[serde(default)]
pub algorithm_for: AlgorithmType,
pub algorithm: StaticRoutingAlgorithm,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RoutingRule",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-828924742632490849
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct RoutingMetadata {
pub kind: enums::RoutingAlgorithmKind,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RoutingMetadata",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-1467909878983828546
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct RoutingDictionaryRecord {
pub rule_id: String,
pub name: String,
pub created_at: time::PrimitiveDateTime,
pub modified_at: time::PrimitiveDateTime,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RoutingDictionaryRecord",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_4024402436548766927
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct RoutingAlgorithmRecord {
pub id: id_type::RoutingId,
pub name: String,
pub description: Option<String>,
pub created_by: id_type::ProfileId,
pub algorithm_data: StaticRoutingAlgorithm,
pub algorithm_for: TransactionType,
pub metadata: Option<RoutingMetadata>,
pub created_at: time::PrimitiveDateTime,
pub modified_at: time::PrimitiveDateTime,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RoutingAlgorithmRecord",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_2443321119212492513
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct RoutingEventsWrapper<Req>
where
Req: Serialize + Clone,
{
pub tenant_id: id_type::TenantId,
pub request_id: Option<RequestId>,
pub payment_id: String,
pub profile_id: id_type::ProfileId,
pub merchant_id: id_type::MerchantId,
pub flow: String,
pub request: Option<Req>,
pub parse_response: bool,
pub log_event: bool,
pub routing_event: Option<routing_events::RoutingEvent>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RoutingEventsWrapper",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-34777714769136915
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct RoutingEventsResponse<Res>
where
Res: Serialize + serde::de::DeserializeOwned + Clone,
{
pub event: Option<routing_events::RoutingEvent>,
pub response: Option<Res>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RoutingEventsResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_8813760153367639613
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct CalSuccessRateConfigEventRequest {
pub min_aggregates_size: Option<u32>,
pub default_success_rate: Option<f64>,
pub specificity_level: api_routing::SuccessRateSpecificityLevel,
pub exploration_percent: Option<f64>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CalSuccessRateConfigEventRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-8784636983113603258
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct CalSuccessRateEventRequest {
pub id: String,
pub params: String,
pub labels: Vec<String>,
pub config: Option<CalSuccessRateConfigEventRequest>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CalSuccessRateEventRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-8593702106855859196
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct EliminationRoutingEventBucketConfig {
pub bucket_size: Option<u64>,
pub bucket_leak_interval_in_secs: Option<u64>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "EliminationRoutingEventBucketConfig",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_219131342484974920
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct EliminationRoutingEventRequest {
pub id: String,
pub params: String,
pub labels: Vec<String>,
pub config: Option<EliminationRoutingEventBucketConfig>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "EliminationRoutingEventRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_4871959247497654320
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct CalContractScoreEventRequest {
pub id: String,
pub params: String,
pub labels: Vec<String>,
pub config: Option<api_routing::ContractBasedRoutingConfig>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CalContractScoreEventRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-377681954772869370
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct LabelWithScoreEventResponse {
pub score: f64,
pub label: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "LabelWithScoreEventResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_6392104268469639104
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct CalSuccessRateEventResponse {
pub labels_with_score: Vec<LabelWithScoreEventResponse>,
pub routing_approach: RoutingApproach,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CalSuccessRateEventResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_1896646389809959433
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct BucketInformationEventResponse {
pub is_eliminated: bool,
pub bucket_name: Vec<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "BucketInformationEventResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_6370940231463084254
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct EliminationInformationEventResponse {
pub entity: Option<BucketInformationEventResponse>,
pub global: Option<BucketInformationEventResponse>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "EliminationInformationEventResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-8445576583962095426
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct LabelWithStatusEliminationEventResponse {
pub label: String,
pub elimination_information: Option<EliminationInformationEventResponse>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "LabelWithStatusEliminationEventResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6338691349949654613
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct EliminationEventResponse {
pub labels_with_status: Vec<LabelWithStatusEliminationEventResponse>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "EliminationEventResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-8570748428086731947
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct ScoreDataEventResponse {
pub score: f64,
pub label: String,
pub current_count: u64,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ScoreDataEventResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6308439739324779259
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct CalContractScoreEventResponse {
pub labels_with_score: Vec<ScoreDataEventResponse>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CalContractScoreEventResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_3925131107682632839
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct CalGlobalSuccessRateConfigEventRequest {
pub entity_min_aggregates_size: u32,
pub entity_default_success_rate: f64,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CalGlobalSuccessRateConfigEventRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-3686536098073086707
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct CalGlobalSuccessRateEventRequest {
pub entity_id: String,
pub entity_params: String,
pub entity_labels: Vec<String>,
pub global_labels: Vec<String>,
pub config: Option<CalGlobalSuccessRateConfigEventRequest>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CalGlobalSuccessRateEventRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-2248999992766371814
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct UpdateSuccessRateWindowConfig {
pub max_aggregates_size: Option<u32>,
pub current_block_threshold: Option<api_routing::CurrentBlockThreshold>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "UpdateSuccessRateWindowConfig",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-3263860818189301807
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct UpdateLabelWithStatusEventRequest {
pub label: String,
pub status: bool,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "UpdateLabelWithStatusEventRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-3431782790329838759
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct UpdateSuccessRateWindowEventRequest {
pub id: String,
pub params: String,
pub labels_with_status: Vec<UpdateLabelWithStatusEventRequest>,
pub config: Option<UpdateSuccessRateWindowConfig>,
pub global_labels_with_status: Vec<UpdateLabelWithStatusEventRequest>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "UpdateSuccessRateWindowEventRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-2844385009284468197
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct UpdateSuccessRateWindowEventResponse {
pub status: UpdationStatusEventResponse,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "UpdateSuccessRateWindowEventResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_1695538031816273322
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct LabelWithBucketNameEventRequest {
pub label: String,
pub bucket_name: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "LabelWithBucketNameEventRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-5918638972167488042
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct UpdateEliminationBucketEventRequest {
pub id: String,
pub params: String,
pub labels_with_bucket_name: Vec<LabelWithBucketNameEventRequest>,
pub config: Option<EliminationRoutingEventBucketConfig>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "UpdateEliminationBucketEventRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_2772057283009780130
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct UpdateEliminationBucketEventResponse {
pub status: EliminationUpdationStatusEventResponse,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "UpdateEliminationBucketEventResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_4374980800851646373
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct ContractLabelInformationEventRequest {
pub label: String,
pub target_count: u64,
pub target_time: u64,
pub current_count: u64,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ContractLabelInformationEventRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6021803162113269128
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct UpdateContractRequestEventRequest {
pub id: String,
pub params: String,
pub labels_information: Vec<ContractLabelInformationEventRequest>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "UpdateContractRequestEventRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_1944946921319608414
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/payments/routing/utils.rs
pub struct UpdateContractEventResponse {
pub status: ContractUpdationStatusEventResponse,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "UpdateContractEventResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_7672433875887315531
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/fraud_check/types.rs
pub struct PaymentIntentCore {
pub payment_id: common_utils::id_type::PaymentId,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentIntentCore",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_1122869401155973655
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/fraud_check/types.rs
pub struct PaymentAttemptCore {
pub attempt_id: String,
pub payment_details: Option<PaymentDetails>,
pub amount: Amount,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentAttemptCore",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_5359658461685616047
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/fraud_check/types.rs
pub struct PaymentDetails {
pub amount: i64,
pub currency: Option<storage_enums::Currency>,
pub payment_method: Option<PaymentMethod>,
pub payment_method_type: Option<PaymentMethodType>,
pub refund_transaction_id: Option<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_5024040765376401340
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/fraud_check/types.rs
pub struct FrmMerchantAccount {
pub merchant_id: common_utils::id_type::MerchantId,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "FrmMerchantAccount",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-2053369547482751736
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/fraud_check/types.rs
pub struct FrmData {
pub payment_intent: PaymentIntent,
pub payment_attempt: PaymentAttempt,
pub merchant_account: MerchantAccount,
pub fraud_check: FraudCheck,
pub address: PaymentAddress,
pub connector_details: ConnectorDetailsCore,
pub order_details: Option<Vec<OrderDetailsWithAmount>>,
pub refund: Option<RefundResponse>,
pub frm_metadata: Option<SecretSerdeValue>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "FrmData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-603024190935639479
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/fraud_check/types.rs
pub struct FrmInfo<F, D> {
pub fraud_check_operation: BoxedFraudCheckOperation<F, D>,
pub frm_data: Option<FrmData>,
pub suggested_action: Option<FrmSuggestion>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "FrmInfo",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-2045897138221422999
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/fraud_check/types.rs
pub struct ConnectorDetailsCore {
pub connector_name: String,
pub profile_id: common_utils::id_type::ProfileId,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ConnectorDetailsCore",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_902323673648408097
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/fraud_check/types.rs
pub struct PaymentToFrmData {
pub amount: Amount,
pub payment_intent: PaymentIntent,
pub payment_attempt: PaymentAttempt,
pub merchant_account: MerchantAccount,
pub address: PaymentAddress,
pub connector_details: ConnectorDetailsCore,
pub order_details: Option<Vec<OrderDetailsWithAmount>>,
pub frm_metadata: Option<SecretSerdeValue>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentToFrmData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_7444410067311108287
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/fraud_check/types.rs
pub struct FrmConfigsObject {
pub frm_enabled_pm: Option<PaymentMethod>,
pub frm_enabled_gateway: Option<api_models::enums::Connector>,
pub frm_preferred_flow_type: api_enums::FrmPreferredFlowTypes,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "FrmConfigsObject",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_4823939926983679866
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/fraud_check/types.rs
pub struct FrmFulfillmentSignifydApiRequest {
///unique order_id for the order_details in the transaction
#[schema(max_length = 255, example = "pay_qiYfHcDou1ycIaxVXKHF")]
pub order_id: String,
///denotes the status of the fulfillment... can be one of PARTIAL, COMPLETE, REPLACEMENT, CANCELED
#[schema(value_type = Option<FulfillmentStatus>, example = "COMPLETE")]
pub fulfillment_status: Option<FulfillmentStatus>,
///contains details of the fulfillment
#[schema(value_type = Vec<Fulfillments>)]
pub fulfillments: Vec<Fulfillments>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "FrmFulfillmentSignifydApiRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_3518720156318296226
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/fraud_check/types.rs
pub struct FrmFulfillmentResponse {
///unique order_id for the transaction
#[schema(max_length = 255, example = "pay_qiYfHcDou1ycIaxVXKHF")]
pub order_id: String,
///shipment_ids used in the fulfillment overall...also data from previous fulfillments for the same transactions/order is sent
#[schema(example = r#"["ship_101", "ship_102"]"#)]
pub shipment_ids: Vec<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "FrmFulfillmentResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_1141550496493852381
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/fraud_check/types.rs
pub struct FrmFulfillmentSignifydApiResponse {
///unique order_id for the transaction
#[schema(max_length = 255, example = "pay_qiYfHcDou1ycIaxVXKHF")]
pub order_id: String,
///shipment_ids used in the fulfillment overall...also data from previous fulfillments for the same transactions/order is sent
#[schema(example = r#"["ship_101","ship_102"]"#)]
pub shipment_ids: Vec<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "FrmFulfillmentSignifydApiResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_1045564705416908963
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/fraud_check/operation/fraud_check_pre.rs
pub struct FraudCheckPre;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "FraudCheckPre",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-877411505336149281
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/fraud_check/operation/fraud_check_post.rs
pub struct FraudCheckPost;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "FraudCheckPost",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_9120444256956111205
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/proxy/utils.rs
pub struct TokenReference {
pub field: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "TokenReference",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-5089909035794351154
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/mandate/helpers.rs
pub struct MandateGenericData {
pub token: Option<String>,
pub payment_method: Option<enums::PaymentMethod>,
pub payment_method_type: Option<enums::PaymentMethodType>,
pub mandate_data: Option<MandateData>,
pub recurring_mandate_payment_data:
Option<hyperswitch_domain_models::router_data::RecurringMandatePaymentData>,
pub mandate_connector: Option<payments::MandateConnectorDetails>,
pub payment_method_info: Option<domain::PaymentMethod>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MandateGenericData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_4720792330365492355
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/routing/helpers.rs
pub struct RoutingAlgorithmHelpers<'h> {
pub name_mca_id_set: ConnectNameAndMCAIdForProfile<'h>,
pub name_set: ConnectNameForProfile<'h>,
pub routing_algorithm: &'h routing_types::StaticRoutingAlgorithm,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RoutingAlgorithmHelpers",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-1475038902108793621
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/routing/helpers.rs
pub struct ConnectNameAndMCAIdForProfile<'a>(
pub FxHashSet<(
&'a common_enums::connector_enums::Connector,
id_type::MerchantConnectorAccountId,
)>,
);
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ConnectNameAndMCAIdForProfile",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_8406488838181254898
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/routing/helpers.rs
pub struct ConnectNameForProfile<'a>(pub FxHashSet<&'a common_enums::connector_enums::Connector>);
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ConnectNameForProfile",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_2558285195410456106
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/routing/helpers.rs
pub struct DynamicRoutingConfigParamsInterpolator {
pub payment_method: Option<common_enums::PaymentMethod>,
pub payment_method_type: Option<common_enums::PaymentMethodType>,
pub authentication_type: Option<common_enums::AuthenticationType>,
pub currency: Option<common_enums::Currency>,
pub country: Option<common_enums::CountryAlpha2>,
pub card_network: Option<String>,
pub card_bin: Option<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "DynamicRoutingConfigParamsInterpolator",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-7298951479655897184
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/webhooks/types.rs
pub(crate) struct OutgoingWebhookTrackingData {
pub(crate) merchant_id: common_utils::id_type::MerchantId,
pub(crate) business_profile_id: common_utils::id_type::ProfileId,
pub(crate) event_type: enums::EventType,
pub(crate) event_class: enums::EventClass,
pub(crate) primary_object_id: String,
pub(crate) primary_object_type: enums::EventObjectType,
pub(crate) initial_attempt_id: Option<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "OutgoingWebhookTrackingData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-8159945091241006486
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/webhooks/recovery_incoming.rs
pub struct RevenueRecoveryInvoice(revenue_recovery::RevenueRecoveryInvoiceData);
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RevenueRecoveryInvoice",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6449390455249834203
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/webhooks/recovery_incoming.rs
pub struct RevenueRecoveryAttempt(revenue_recovery::RevenueRecoveryAttemptData);
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RevenueRecoveryAttempt",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-4914247071414470045
|
clm
|
struct
|
// hyperswitch/crates/router/src/core/webhooks/recovery_incoming.rs
pub struct RecoveryPaymentTuple(
revenue_recovery::RecoveryPaymentIntent,
revenue_recovery::RecoveryPaymentAttempt,
);
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RecoveryPaymentTuple",
"total_crates": null,
"trait_name": null
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.