id stringlengths 20 153 | type stringclasses 1
value | granularity stringclasses 14
values | content stringlengths 16 84.3k | metadata dict |
|---|---|---|---|---|
hyperswitch_struct_api_models_3332986880419368912 | clm | struct | // hyperswitch/crates/api_models/src/user/dashboard_metadata.rs
pub struct GetMultipleMetaDataPayload {
pub results: Vec<GetMetaDataRequest>,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_5990587863191441205 | clm | struct | // hyperswitch/crates/api_models/src/user/dashboard_metadata.rs
pub struct GetMultipleMetaDataRequest {
pub keys: String,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_1682428778669398345 | clm | struct | // hyperswitch/crates/api_models/src/user/sample_data.rs
pub struct SampleDataRequest {
pub record: Option<usize>,
pub connector: Option<Vec<Connector>>,
#[serde(default, with = "common_utils::custom_serde::iso8601::option")]
pub start_time: Option<PrimitiveDateTime>,
#[serde(default, with = "commo... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-564758469478677967 | clm | struct | // hyperswitch/crates/api_models/src/errors/types.rs
pub struct ApiError {
pub sub_code: &'static str,
pub error_identifier: u16,
pub error_message: String,
pub extra: Option<Extra>,
#[cfg(feature = "detailed_errors")]
pub stacktrace: Option<serde_json::Value>,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-4334158833734480404 | clm | struct | // hyperswitch/crates/api_models/src/errors/types.rs
pub struct ErrorResponse {
#[serde(rename = "type")]
#[schema(
example = "invalid_request",
value_type = &'static str
)]
pub error_type: &'static str,
#[schema(
example = "Missing required param: {param}",
value_ty... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_6675355901952838243 | clm | struct | // hyperswitch/crates/api_models/src/errors/types.rs
pub struct Extra {
#[serde(skip_serializing_if = "Option::is_none")]
pub payment_id: Option<common_utils::id_type::PaymentId>,
#[serde(skip_serializing_if = "Option::is_none")]
pub data: Option<serde_json::Value>,
#[serde(skip_serializing_if = "O... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_3666938561952239167 | clm | struct | // hyperswitch/crates/api_models/src/analytics/payment_intents.rs
pub struct PaymentIntentFilters {
#[serde(default)]
pub status: Vec<IntentStatus>,
#[serde(default)]
pub currency: Vec<Currency>,
#[serde(default)]
pub profile_id: Vec<id_type::ProfileId>,
#[serde(default)]
pub connector:... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_3291942755702490258 | clm | struct | // hyperswitch/crates/api_models/src/analytics/payment_intents.rs
pub struct ErrorResult {
pub reason: String,
pub count: i64,
pub percentage: f64,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_2906051695664953161 | clm | struct | // hyperswitch/crates/api_models/src/analytics/payment_intents.rs
pub struct PaymentIntentMetricsBucketIdentifier {
pub status: Option<IntentStatus>,
pub currency: Option<Currency>,
pub profile_id: Option<String>,
pub connector: Option<String>,
pub auth_type: Option<AuthenticationType>,
pub pay... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-3851192629961448634 | clm | struct | // hyperswitch/crates/api_models/src/analytics/payment_intents.rs
pub struct PaymentIntentMetricsBucketValue {
pub successful_smart_retries: Option<u64>,
pub total_smart_retries: Option<u64>,
pub smart_retried_amount: Option<u64>,
pub smart_retried_amount_in_usd: Option<u64>,
pub smart_retried_amou... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_3988033286286743894 | clm | struct | // hyperswitch/crates/api_models/src/analytics/payment_intents.rs
pub struct MetricsBucketResponse {
#[serde(flatten)]
pub values: PaymentIntentMetricsBucketValue,
#[serde(flatten)]
pub dimensions: PaymentIntentMetricsBucketIdentifier,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-1208165214268124145 | clm | struct | // hyperswitch/crates/api_models/src/analytics/api_event.rs
pub struct ApiLogsRequest {
#[serde(flatten)]
pub query_param: QueryType,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_1841832350648623515 | clm | struct | // hyperswitch/crates/api_models/src/analytics/api_event.rs
pub struct ApiEventFilters {
pub status_code: Vec<u64>,
pub flow_type: Vec<String>,
pub api_flow: Vec<String>,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-3244332977215060544 | clm | struct | // hyperswitch/crates/api_models/src/analytics/api_event.rs
pub struct ApiEventMetricsBucketIdentifier {
#[serde(rename = "time_range")]
pub time_bucket: TimeRange,
// Coz FE sucks
#[serde(rename = "time_bucket")]
#[serde(with = "common_utils::custom_serde::iso8601custom")]
pub start_time: time... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_6512945132205740606 | clm | struct | // hyperswitch/crates/api_models/src/analytics/api_event.rs
pub struct ApiEventMetricsBucketValue {
pub latency: Option<u64>,
pub api_count: Option<u64>,
pub status_code_count: Option<u64>,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_7323680302707719993 | clm | struct | // hyperswitch/crates/api_models/src/analytics/api_event.rs
pub struct ApiMetricsBucketResponse {
#[serde(flatten)]
pub values: ApiEventMetricsBucketValue,
#[serde(flatten)]
pub dimensions: ApiEventMetricsBucketIdentifier,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_2608398179981299360 | clm | struct | // hyperswitch/crates/api_models/src/analytics/outgoing_webhook_event.rs
pub struct OutgoingWebhookLogsRequest {
pub payment_id: common_utils::id_type::PaymentId,
pub event_id: Option<String>,
pub refund_id: Option<String>,
pub dispute_id: Option<String>,
pub mandate_id: Option<String>,
pub pay... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_6937863050859625382 | clm | struct | // hyperswitch/crates/api_models/src/analytics/refunds.rs
pub struct RefundFilters {
#[serde(default)]
pub currency: Vec<Currency>,
#[serde(default)]
pub refund_status: Vec<RefundStatus>,
#[serde(default)]
pub connector: Vec<String>,
#[serde(default)]
pub refund_type: Vec<RefundType>,
... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-8716685440043820519 | clm | struct | // hyperswitch/crates/api_models/src/analytics/refunds.rs
pub struct ReasonsResult {
pub reason: String,
pub count: i64,
pub percentage: f64,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_2590036326207042033 | clm | struct | // hyperswitch/crates/api_models/src/analytics/refunds.rs
pub struct ErrorMessagesResult {
pub error_message: String,
pub count: i64,
pub percentage: f64,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-8966495324429885017 | clm | struct | // hyperswitch/crates/api_models/src/analytics/refunds.rs
pub struct RefundMetricsBucketIdentifier {
pub currency: Option<Currency>,
pub refund_status: Option<String>,
pub connector: Option<String>,
pub refund_type: Option<String>,
pub profile_id: Option<String>,
pub refund_reason: Option<Strin... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_4024248476982917970 | clm | struct | // hyperswitch/crates/api_models/src/analytics/refunds.rs
pub struct RefundMetricsBucketValue {
pub successful_refunds: Option<u32>,
pub total_refunds: Option<u32>,
pub refund_success_rate: Option<f64>,
pub refund_count: Option<u64>,
pub refund_success_count: Option<u64>,
pub refund_processed_a... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_7494315711156171125 | clm | struct | // hyperswitch/crates/api_models/src/analytics/refunds.rs
pub struct RefundMetricsBucketResponse {
#[serde(flatten)]
pub values: RefundMetricsBucketValue,
#[serde(flatten)]
pub dimensions: RefundMetricsBucketIdentifier,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_3171655013405235836 | clm | struct | // hyperswitch/crates/api_models/src/analytics/payments.rs
pub struct PaymentFilters {
#[serde(default)]
pub currency: Vec<Currency>,
#[serde(default)]
pub status: Vec<AttemptStatus>,
#[serde(default)]
pub connector: Vec<Connector>,
#[serde(default)]
pub auth_type: Vec<AuthenticationTyp... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_3291942755702490258 | clm | struct | // hyperswitch/crates/api_models/src/analytics/payments.rs
pub struct ErrorResult {
pub reason: String,
pub count: i64,
pub percentage: f64,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_4825251024514516419 | clm | struct | // hyperswitch/crates/api_models/src/analytics/payments.rs
pub struct PaymentMetricsBucketIdentifier {
pub currency: Option<Currency>,
pub status: Option<AttemptStatus>,
pub connector: Option<String>,
#[serde(rename = "authentication_type")]
pub auth_type: Option<AuthenticationType>,
pub paymen... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-4315244923185644684 | clm | struct | // hyperswitch/crates/api_models/src/analytics/payments.rs
pub struct PaymentMetricsBucketValue {
pub payment_success_rate: Option<f64>,
pub payment_count: Option<u64>,
pub payment_success_count: Option<u64>,
pub payment_processed_amount: Option<u64>,
pub payment_processed_amount_in_usd: Option<u64... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_3988033286286743894 | clm | struct | // hyperswitch/crates/api_models/src/analytics/payments.rs
pub struct MetricsBucketResponse {
#[serde(flatten)]
pub values: PaymentMetricsBucketValue,
#[serde(flatten)]
pub dimensions: PaymentMetricsBucketIdentifier,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_3734918287635635554 | clm | struct | // hyperswitch/crates/api_models/src/analytics/auth_events.rs
pub struct AuthEventFilters {
#[serde(default)]
pub authentication_status: Vec<AuthenticationStatus>,
#[serde(default)]
pub trans_status: Vec<TransactionStatus>,
#[serde(default)]
pub authentication_type: Vec<DecoupledAuthenticationT... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-1751988156368300663 | clm | struct | // hyperswitch/crates/api_models/src/analytics/auth_events.rs
pub struct AuthEventMetricsBucketIdentifier {
pub authentication_status: Option<AuthenticationStatus>,
pub trans_status: Option<TransactionStatus>,
pub authentication_type: Option<DecoupledAuthenticationType>,
pub error_message: Option<Strin... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_2496653124022599575 | clm | struct | // hyperswitch/crates/api_models/src/analytics/auth_events.rs
pub struct AuthEventMetricsBucketValue {
pub authentication_count: Option<u64>,
pub authentication_attempt_count: Option<u64>,
pub authentication_success_count: Option<u64>,
pub challenge_flow_count: Option<u64>,
pub challenge_attempt_co... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_3988033286286743894 | clm | struct | // hyperswitch/crates/api_models/src/analytics/auth_events.rs
pub struct MetricsBucketResponse {
#[serde(flatten)]
pub values: AuthEventMetricsBucketValue,
#[serde(flatten)]
pub dimensions: AuthEventMetricsBucketIdentifier,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_215321640601661116 | clm | struct | // hyperswitch/crates/api_models/src/analytics/disputes.rs
pub struct DisputeFilters {
#[serde(default)]
pub dispute_stage: Vec<DisputeStage>,
#[serde(default)]
pub connector: Vec<String>,
#[serde(default)]
pub currency: Vec<Currency>,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_1260312583833585824 | clm | struct | // hyperswitch/crates/api_models/src/analytics/disputes.rs
pub struct DisputeMetricsBucketIdentifier {
pub dispute_stage: Option<DisputeStage>,
pub connector: Option<String>,
pub currency: Option<Currency>,
#[serde(rename = "time_range")]
pub time_bucket: TimeRange,
#[serde(rename = "time_bucke... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-4703547410224733660 | clm | struct | // hyperswitch/crates/api_models/src/analytics/disputes.rs
pub struct DisputeMetricsBucketValue {
pub disputes_challenged: Option<u64>,
pub disputes_won: Option<u64>,
pub disputes_lost: Option<u64>,
pub disputed_amount: Option<u64>,
pub dispute_lost_amount: Option<u64>,
pub total_dispute: Optio... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-248228923938591942 | clm | struct | // hyperswitch/crates/api_models/src/analytics/disputes.rs
pub struct DisputeMetricsBucketResponse {
#[serde(flatten)]
pub values: DisputeMetricsBucketValue,
#[serde(flatten)]
pub dimensions: DisputeMetricsBucketIdentifier,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_3648757567367773756 | clm | struct | // hyperswitch/crates/api_models/src/analytics/frm.rs
pub struct FrmFilters {
#[serde(default)]
pub frm_status: Vec<FraudCheckStatus>,
#[serde(default)]
pub frm_name: Vec<String>,
#[serde(default)]
pub frm_transaction_type: Vec<FrmTransactionType>,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-9009037960923882310 | clm | struct | // hyperswitch/crates/api_models/src/analytics/frm.rs
pub struct FrmMetricsBucketIdentifier {
pub frm_status: Option<String>,
pub frm_name: Option<String>,
pub frm_transaction_type: Option<String>,
#[serde(rename = "time_range")]
pub time_bucket: TimeRange,
#[serde(rename = "time_bucket")]
... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-3511684287101421916 | clm | struct | // hyperswitch/crates/api_models/src/analytics/frm.rs
pub struct FrmMetricsBucketValue {
pub frm_triggered_attempts: Option<u64>,
pub frm_blocked_rate: Option<f64>,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_2601950004345422235 | clm | struct | // hyperswitch/crates/api_models/src/analytics/frm.rs
pub struct FrmMetricsBucketResponse {
#[serde(flatten)]
pub values: FrmMetricsBucketValue,
#[serde(flatten)]
pub dimensions: FrmMetricsBucketIdentifier,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-8826149219050710790 | clm | struct | // hyperswitch/crates/api_models/src/analytics/routing_events.rs
pub struct RoutingEventsRequest {
pub payment_id: common_utils::id_type::PaymentId,
pub refund_id: Option<String>,
pub dispute_id: Option<String>,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-7331068036289495370 | clm | struct | // hyperswitch/crates/api_models/src/analytics/connector_events.rs
pub struct ConnectorEventsRequest {
pub payment_id: common_utils::id_type::PaymentId,
pub refund_id: Option<String>,
pub dispute_id: Option<String>,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-1567913602687507199 | clm | struct | // hyperswitch/crates/api_models/src/analytics/active_payments.rs
pub struct ActivePaymentsMetricsBucketIdentifier {
pub time_bucket: Option<String>,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_2456513458348716666 | clm | struct | // hyperswitch/crates/api_models/src/analytics/active_payments.rs
pub struct ActivePaymentsMetricsBucketValue {
pub active_payments: Option<u64>,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_3988033286286743894 | clm | struct | // hyperswitch/crates/api_models/src/analytics/active_payments.rs
pub struct MetricsBucketResponse {
#[serde(flatten)]
pub values: ActivePaymentsMetricsBucketValue,
#[serde(flatten)]
pub dimensions: ActivePaymentsMetricsBucketIdentifier,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-3343189799623233897 | clm | struct | // hyperswitch/crates/api_models/src/analytics/search.rs
pub struct SearchFilters {
pub payment_method: Option<Vec<String>>,
pub currency: Option<Vec<String>>,
pub status: Option<Vec<String>>,
pub customer_email: Option<Vec<HashedString<common_utils::pii::EmailStrategy>>>,
pub search_tags: Option<V... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-3055373846807654827 | clm | struct | // hyperswitch/crates/api_models/src/analytics/search.rs
pub struct GetGlobalSearchRequest {
pub query: String,
#[serde(default)]
pub filters: Option<SearchFilters>,
#[serde(default)]
pub time_range: Option<TimeRange>,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_6835710932162167792 | clm | struct | // hyperswitch/crates/api_models/src/analytics/search.rs
pub struct GetSearchRequest {
pub offset: i64,
pub count: i64,
pub query: String,
#[serde(default)]
pub filters: Option<SearchFilters>,
#[serde(default)]
pub time_range: Option<TimeRange>,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_6487371502673911614 | clm | struct | // hyperswitch/crates/api_models/src/analytics/search.rs
pub struct GetSearchRequestWithIndex {
pub index: SearchIndex,
pub search_req: GetSearchRequest,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_3030782792223913341 | clm | struct | // hyperswitch/crates/api_models/src/analytics/search.rs
pub struct GetSearchResponse {
pub count: u64,
pub index: SearchIndex,
pub hits: Vec<Value>,
pub status: SearchStatus,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_5082197992993097434 | clm | struct | // hyperswitch/crates/api_models/src/analytics/search.rs
pub struct OpenMsearchOutput {
#[serde(default)]
pub responses: Vec<OpensearchOutput>,
pub error: Option<OpensearchErrorDetails>,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_292481202875986225 | clm | struct | // hyperswitch/crates/api_models/src/analytics/search.rs
pub struct OpensearchError {
pub error: OpensearchErrorDetails,
pub status: u16,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-7292018612289924805 | clm | struct | // hyperswitch/crates/api_models/src/analytics/search.rs
pub struct OpensearchErrorDetails {
#[serde(rename = "type")]
pub error_type: String,
pub reason: String,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_4771684981044324680 | clm | struct | // hyperswitch/crates/api_models/src/analytics/search.rs
pub struct OpensearchSuccess {
pub hits: OpensearchHits,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-989492756378934135 | clm | struct | // hyperswitch/crates/api_models/src/analytics/search.rs
pub struct OpensearchHits {
pub total: OpensearchResultsTotal,
pub hits: Vec<OpensearchHit>,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_7687791610015429704 | clm | struct | // hyperswitch/crates/api_models/src/analytics/search.rs
pub struct OpensearchResultsTotal {
pub value: u64,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_4761229836825757808 | clm | struct | // hyperswitch/crates/api_models/src/analytics/search.rs
pub struct OpensearchHit {
#[serde(rename = "_source")]
pub source: Value,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-1238894708573423505 | clm | struct | // hyperswitch/crates/api_models/src/analytics/sdk_events.rs
pub struct SdkEventsRequest {
pub payment_id: common_utils::id_type::PaymentId,
pub time_range: TimeRange,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_3159645595243617048 | clm | struct | // hyperswitch/crates/api_models/src/analytics/sdk_events.rs
pub struct SdkEventFilters {
#[serde(default)]
pub payment_method: Vec<String>,
#[serde(default)]
pub platform: Vec<String>,
#[serde(default)]
pub browser_name: Vec<String>,
#[serde(default)]
pub source: Vec<String>,
#[ser... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_9097762541608957251 | clm | struct | // hyperswitch/crates/api_models/src/analytics/sdk_events.rs
pub struct SdkEventMetricsBucketIdentifier {
pub payment_method: Option<String>,
pub platform: Option<String>,
pub browser_name: Option<String>,
pub source: Option<String>,
pub component: Option<String>,
pub payment_experience: Option... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_-6125354796505748961 | clm | struct | // hyperswitch/crates/api_models/src/analytics/sdk_events.rs
pub struct SdkEventMetricsBucketValue {
pub payment_attempts: Option<u64>,
pub payment_methods_call_count: Option<u64>,
pub average_payment_time: Option<u64>,
pub load_time: Option<u64>,
pub sdk_rendered_count: Option<u64>,
pub sdk_in... | {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_api_models_3988033286286743894 | clm | struct | // hyperswitch/crates/api_models/src/analytics/sdk_events.rs
pub struct MetricsBucketResponse {
#[serde(flatten)]
pub values: SdkEventMetricsBucketValue,
#[serde(flatten)]
pub dimensions: SdkEventMetricsBucketIdentifier,
}
| {
"chunk": null,
"crate": "api_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,... |
hyperswitch_struct_router_env_4827714273176579377 | clm | struct | // hyperswitch/crates/router_env/src/logger/config.rs
pub struct Config {
/// Logging to a file.
pub log: Log,
}
| {
"chunk": null,
"crate": "router_env",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_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_env_-8496588315394332829 | clm | struct | // hyperswitch/crates/router_env/src/logger/config.rs
pub struct Log {
/// Logging to a file.
pub file: LogFile,
/// Logging to a console.
pub console: LogConsole,
/// Telemetry / tracing.
pub telemetry: LogTelemetry,
}
| {
"chunk": null,
"crate": "router_env",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_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_env_-2479309160392975171 | clm | struct | // hyperswitch/crates/router_env/src/logger/config.rs
pub struct LogFile {
/// Whether you want to store log in log files.
pub enabled: bool,
/// Where to store log files.
pub path: String,
/// Name of log file without suffix.
pub file_name: String,
/// What gets into log files.
pub lev... | {
"chunk": null,
"crate": "router_env",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_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_env_-3477902364476695344 | clm | struct | // hyperswitch/crates/router_env/src/logger/config.rs
pub struct Level(pub(super) tracing::Level);
| {
"chunk": null,
"crate": "router_env",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_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_env_6634124527015996118 | clm | struct | // hyperswitch/crates/router_env/src/logger/config.rs
pub struct LogConsole {
/// Whether you want to see log in your terminal.
pub enabled: bool,
/// What you see in your terminal.
pub level: Level,
/// Log format
#[serde(default)]
pub log_format: LogFormat,
/// Directive which sets th... | {
"chunk": null,
"crate": "router_env",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_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_env_7650353359994141507 | clm | struct | // hyperswitch/crates/router_env/src/logger/config.rs
pub struct LogTelemetry {
/// Whether the traces pipeline is enabled.
pub traces_enabled: bool,
/// Whether the metrics pipeline is enabled.
pub metrics_enabled: bool,
/// Whether errors in setting up traces or metrics pipelines must be ignored.... | {
"chunk": null,
"crate": "router_env",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_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_env_-7129341046987152507 | clm | struct | // hyperswitch/crates/router_env/src/logger/formatter.rs
pub struct FormattingLayer<W, F>
where
W: for<'a> MakeWriter<'a> + 'static,
F: Formatter + Clone,
{
dst_writer: W,
pid: u32,
hostname: String,
env: String,
service: String,
#[cfg(feature = "vergen")]
version: String,
#[cfg... | {
"chunk": null,
"crate": "router_env",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_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_env_7759186372106051159 | clm | struct | // hyperswitch/crates/router_env/src/logger/storage.rs
pub struct StorageSubscription;
| {
"chunk": null,
"crate": "router_env",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_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_env_7919233127022597188 | clm | struct | // hyperswitch/crates/router_env/src/logger/storage.rs
pub struct Storage<'a> {
/// Hash map to store values.
pub values: HashMap<&'a str, serde_json::Value>,
}
| {
"chunk": null,
"crate": "router_env",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_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_env_9069025843767641436 | clm | struct | // hyperswitch/crates/router_env/src/logger/setup.rs
pub struct TelemetryGuard {
_log_guards: Vec<WorkerGuard>,
}
| {
"chunk": null,
"crate": "router_env",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_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_env_865043514578155895 | clm | struct | // hyperswitch/crates/router_env/src/logger/setup.rs
struct TraceAssertion {
clauses: Option<Vec<TraceUrlAssert>>,
/// default behaviour for tracing if no condition is provided
default: bool,
}
| {
"chunk": null,
"crate": "router_env",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_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_env_-1626352099164194496 | clm | struct | // hyperswitch/crates/router_env/src/logger/setup.rs
struct ConditionalSampler<T: opentelemetry_sdk::trace::ShouldSample + Clone + 'static>(
TraceAssertion,
T,
);
| {
"chunk": null,
"crate": "router_env",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_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_redis_interface_-5136009861580880014 | clm | struct | // hyperswitch/crates/redis_interface/src/types.rs
pub struct RedisSettings {
pub host: String,
pub port: u16,
pub cluster_enabled: bool,
pub cluster_urls: Vec<String>,
pub use_legacy_version: bool,
pub pool_size: usize,
pub reconnect_max_attempts: u32,
/// Reconnect delay in millisecon... | {
"chunk": null,
"crate": "redis_interface",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_redis_interface_-4049463979669667436 | clm | struct | // hyperswitch/crates/redis_interface/src/types.rs
pub struct RedisKey(String);
| {
"chunk": null,
"crate": "redis_interface",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_redis_interface_1707958551686663286 | clm | struct | // hyperswitch/crates/redis_interface/src/commands.rs
struct TestData {
id: u32,
name: String,
}
| {
"chunk": null,
"crate": "redis_interface",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_events_-1489371180561335331 | clm | struct | // hyperswitch/crates/events/src/lib.rs
pub struct EventContext<T, A>
where
A: MessagingInterface<MessageClass = T>,
{
message_sink: Arc<A>,
metadata: HashMap<String, Value>,
}
| {
"chunk": null,
"crate": "events",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_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_payment_methods_8733143731613266699 | clm | struct | // hyperswitch/crates/payment_methods/src/controller.rs
pub struct DeleteCardResp {
pub status: String,
pub error_message: Option<String>,
pub error_code: Option<String>,
}
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_2603220109754994848 | clm | struct | // hyperswitch/crates/payment_methods/src/state.rs
pub struct PaymentMethodsState {
pub store: Box<dyn PaymentMethodsStorageInterface>,
pub key_store: Option<merchant_key_store::MerchantKeyStore>,
pub key_manager_state: keymanager::KeyManagerState,
}
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_2074203598425839615 | clm | struct | // hyperswitch/crates/payment_methods/src/core/migration.rs
pub struct PaymentMethodsMigrateForm {
#[multipart(limit = "1MB")]
pub file: bytes::Bytes,
pub merchant_id: text::Text<common_utils::id_type::MerchantId>,
pub merchant_connector_id:
Option<text::Text<common_utils::id_type::MerchantCo... | {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_8654025335992239976 | clm | struct | // hyperswitch/crates/payment_methods/src/core/migration.rs
pub struct RecordMigrationStatus {
pub card_migrated: Option<bool>,
pub network_token_migrated: Option<bool>,
pub connector_mandate_details_migrated: Option<bool>,
pub network_transaction_migrated: Option<bool>,
}
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_8540354851973528164 | clm | struct | // hyperswitch/crates/payment_methods/src/core/migration.rs
pub struct RecordMigrationStatusBuilder {
pub card_migrated: Option<bool>,
pub network_token_migrated: Option<bool>,
pub connector_mandate_details_migrated: Option<bool>,
pub network_transaction_migrated: Option<bool>,
}
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_1106847660662348322 | clm | struct | // hyperswitch/crates/payment_methods/src/configs/settings.rs
pub struct PaymentMethodType(pub HashMap<enums::PaymentMethodType, ConnectorFields>);
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_-7010725490574074785 | clm | struct | // hyperswitch/crates/payment_methods/src/configs/settings.rs
pub struct ConnectorFields {
pub fields: HashMap<enums::Connector, RequiredFieldFinal>,
}
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_-930232071929487822 | clm | struct | // hyperswitch/crates/payment_methods/src/configs/settings.rs
pub struct BankRedirectConfig(pub HashMap<enums::PaymentMethodType, ConnectorBankNames>);
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_-1364285245137951560 | clm | struct | // hyperswitch/crates/payment_methods/src/configs/settings.rs
pub struct ConnectorBankNames(pub HashMap<String, BanksVector>);
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_-7016051219649083212 | clm | struct | // hyperswitch/crates/payment_methods/src/configs/settings.rs
pub struct BanksVector {
#[serde(deserialize_with = "deserialize_hashset")]
pub banks: HashSet<common_enums::enums::BankNames>,
}
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_-1197605374624743786 | clm | struct | // hyperswitch/crates/payment_methods/src/configs/settings.rs
pub struct RequiredFieldFinal {
pub mandate: HashMap<String, RequiredFieldInfo>,
pub non_mandate: HashMap<String, RequiredFieldInfo>,
pub common: HashMap<String, RequiredFieldInfo>,
}
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_-1197605374624743786 | clm | struct | // hyperswitch/crates/payment_methods/src/configs/settings.rs
pub struct RequiredFieldFinal {
pub mandate: Option<Vec<RequiredFieldInfo>>,
pub non_mandate: Option<Vec<RequiredFieldInfo>>,
pub common: Option<Vec<RequiredFieldInfo>>,
}
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_6265163213148191538 | clm | struct | // hyperswitch/crates/payment_methods/src/configs/settings.rs
pub struct PaymentMethodAuth {
pub redis_expiry: i64,
pub pm_auth_key: Secret<String>,
}
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_-8813031118192163993 | clm | struct | // hyperswitch/crates/payment_methods/src/configs/settings.rs
pub struct EligiblePaymentMethods {
#[serde(deserialize_with = "deserialize_hashset")]
pub sdk_eligible_payment_methods: HashSet<String>,
}
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_-1155778865089816008 | clm | struct | // hyperswitch/crates/payment_methods/src/configs/settings.rs
pub struct SupportedPaymentMethodsForMandate(
pub HashMap<enums::PaymentMethod, SupportedPaymentMethodTypesForMandate>,
);
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_-7174833650462847931 | clm | struct | // hyperswitch/crates/payment_methods/src/configs/settings.rs
pub struct SupportedPaymentMethodTypesForMandate(
pub HashMap<enums::PaymentMethodType, SupportedConnectorsForMandate>,
);
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_1328595456048218234 | clm | struct | // hyperswitch/crates/payment_methods/src/configs/settings.rs
pub struct SupportedConnectorsForMandate {
#[serde(deserialize_with = "deserialize_hashset")]
pub connector_list: HashSet<enums::Connector>,
}
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_1892703655998564952 | clm | struct | // hyperswitch/crates/payment_methods/src/configs/settings.rs
pub struct Mandates {
pub supported_payment_methods: SupportedPaymentMethodsForMandate,
pub update_mandate_supported: SupportedPaymentMethodsForMandate,
}
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_payment_methods_-5558776174461779734 | clm | struct | // hyperswitch/crates/payment_methods/src/configs/settings.rs
pub struct ZeroMandates {
pub supported_payment_methods: SupportedPaymentMethodsForMandate,
}
| {
"chunk": null,
"crate": "payment_methods",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"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_pm_auth_-6330652153248838579 | clm | struct | // hyperswitch/crates/pm_auth/src/types.rs
pub struct PaymentAuthRouterData<F, Request, Response> {
pub flow: PhantomData<F>,
pub merchant_id: Option<id_type::MerchantId>,
pub connector: Option<String>,
pub request: Request,
pub response: Result<Response, ErrorResponse>,
pub connector_auth_type... | {
"chunk": null,
"crate": "pm_auth",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_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_pm_auth_1765064824368809078 | clm | struct | // hyperswitch/crates/pm_auth/src/types.rs
pub struct LinkTokenRequest {
pub client_name: String,
pub country_codes: Option<Vec<String>>,
pub language: Option<String>,
pub user_info: Option<id_type::CustomerId>,
pub client_platform: Option<api_enums::ClientPlatform>,
pub android_package_name: O... | {
"chunk": null,
"crate": "pm_auth",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_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_pm_auth_7022145204824978537 | clm | struct | // hyperswitch/crates/pm_auth/src/types.rs
pub struct LinkTokenResponse {
pub link_token: String,
}
| {
"chunk": null,
"crate": "pm_auth",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.