id
stringlengths
20
153
type
stringclasses
1 value
granularity
stringclasses
14 values
content
stringlengths
16
84.3k
metadata
dict
hyperswitch_struct_analytics_-7251451805232080992
clm
struct
// hyperswitch/crates/analytics/src/clickhouse.rs pub struct ClickhouseConfig { username: String, password: Option<String>, host: String, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ClickhouseConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_4707565944303502136
clm
struct
// hyperswitch/crates/analytics/src/clickhouse.rs struct CkhQuery { date_time_output_format: String, output_format_json_quote_64bit_integers: u8, database: String, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "CkhQuery", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_7019903512633772006
clm
struct
// hyperswitch/crates/analytics/src/clickhouse.rs struct CkhOutput<T> { data: Vec<T>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "CkhOutput", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_2232310593294069498
clm
struct
// hyperswitch/crates/analytics/src/lib.rs pub struct ReportConfig { pub payment_function: String, pub refund_function: String, pub dispute_function: String, pub authentication_function: String, pub region: String, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ReportConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_6882648468009597077
clm
struct
// hyperswitch/crates/analytics/src/query.rs pub struct TopN { pub columns: String, pub count: u64, pub order_column: String, pub order: Order, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "TopN", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-4452971222262702035
clm
struct
// hyperswitch/crates/analytics/src/query.rs pub struct LimitByClause { limit: u64, columns: Vec<String>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "LimitByClause", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_8990029860103778600
clm
struct
// hyperswitch/crates/analytics/src/query.rs pub struct QueryBuilder<T> where T: AnalyticsDataSource, AnalyticsCollection: ToSql<T>, { columns: Vec<String>, filters: Filter, group_by: Vec<String>, order_by: Vec<String>, having: Option<Vec<(String, FilterTypes, String)>>, limit_by: Option<LimitByClause>, outer_select: Vec<String>, top_n: Option<TopN>, table: AnalyticsCollection, distinct: bool, db_type: PhantomData<T>, table_engine: TableEngine, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "QueryBuilder", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-9218190666764961902
clm
struct
// hyperswitch/crates/analytics/src/opensearch.rs pub struct OpenSearchIndexes { pub payment_attempts: String, pub payment_intents: String, pub refunds: String, pub disputes: String, pub sessionizer_payment_attempts: String, pub sessionizer_payment_intents: String, pub sessionizer_refunds: String, pub sessionizer_disputes: String, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "OpenSearchIndexes", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_6538543334123120715
clm
struct
// hyperswitch/crates/analytics/src/opensearch.rs pub struct OpensearchTimeRange { #[serde(with = "common_utils::custom_serde::iso8601")] pub gte: PrimitiveDateTime, #[serde(default, with = "common_utils::custom_serde::iso8601::option")] pub lte: Option<PrimitiveDateTime>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "OpensearchTimeRange", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_999161044431681497
clm
struct
// hyperswitch/crates/analytics/src/opensearch.rs pub struct OpenSearchConfig { host: String, auth: OpenSearchAuth, indexes: OpenSearchIndexes, #[serde(default)] enabled: bool, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "OpenSearchConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_4823631375252924598
clm
struct
// hyperswitch/crates/analytics/src/opensearch.rs pub struct OpenSearchClient { pub client: OpenSearch, pub transport: Transport, pub indexes: OpenSearchIndexes, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "OpenSearchClient", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_7853452734459037288
clm
struct
// hyperswitch/crates/analytics/src/opensearch.rs pub struct OpenSearchHealth { pub status: OpenSearchHealthStatus, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "OpenSearchHealth", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_7455769093549962740
clm
struct
// hyperswitch/crates/analytics/src/opensearch.rs pub struct OpenSearchQueryBuilder { pub query_type: OpenSearchQuery, pub query: String, pub offset: Option<i64>, pub count: Option<i64>, pub filters: Vec<(String, Vec<Value>)>, pub time_range: Option<OpensearchTimeRange>, search_params: Vec<AuthInfo>, case_sensitive_fields: HashSet<&'static str>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "OpenSearchQueryBuilder", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-5433555416328154624
clm
struct
// hyperswitch/crates/analytics/src/outgoing_webhook_event/events.rs pub struct OutgoingWebhookLogsResult { pub merchant_id: common_utils::id_type::MerchantId, pub event_id: String, pub event_type: String, pub outgoing_webhook_event_type: String, pub payment_id: common_utils::id_type::PaymentId, pub refund_id: Option<String>, pub attempt_id: Option<String>, pub dispute_id: Option<String>, pub payment_method_id: Option<String>, pub mandate_id: Option<String>, pub content: Option<String>, pub is_error: bool, pub error: Option<String>, #[serde(with = "common_utils::custom_serde::iso8601")] pub created_at: PrimitiveDateTime, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "OutgoingWebhookLogsResult", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-2627112347453889124
clm
struct
// hyperswitch/crates/analytics/src/payments/distribution.rs pub struct PaymentDistributionRow { pub currency: Option<DBEnumWrapper<storage_enums::Currency>>, pub status: Option<DBEnumWrapper<storage_enums::AttemptStatus>>, pub connector: Option<String>, pub authentication_type: Option<DBEnumWrapper<storage_enums::AuthenticationType>>, pub payment_method: Option<String>, pub payment_method_type: Option<String>, pub client_source: Option<String>, pub client_version: Option<String>, pub profile_id: Option<String>, pub card_network: Option<String>, pub merchant_id: Option<String>, pub card_last_4: Option<String>, pub card_issuer: Option<String>, pub error_reason: Option<String>, pub first_attempt: Option<bool>, pub total: Option<bigdecimal::BigDecimal>, pub count: Option<i64>, pub error_message: Option<String>, pub routing_approach: Option<DBEnumWrapper<storage_enums::RoutingApproach>>, pub signature_network: Option<String>, pub is_issuer_regulated: Option<bool>, pub is_debit_routed: Option<bool>, #[serde(with = "common_utils::custom_serde::iso8601::option")] pub start_bucket: Option<PrimitiveDateTime>, #[serde(with = "common_utils::custom_serde::iso8601::option")] pub end_bucket: Option<PrimitiveDateTime>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentDistributionRow", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_2118533998347314549
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics.rs pub struct PaymentMetricRow { pub currency: Option<DBEnumWrapper<storage_enums::Currency>>, pub status: Option<DBEnumWrapper<storage_enums::AttemptStatus>>, pub connector: Option<String>, pub authentication_type: Option<DBEnumWrapper<storage_enums::AuthenticationType>>, pub payment_method: Option<String>, pub payment_method_type: Option<String>, pub client_source: Option<String>, pub client_version: Option<String>, pub profile_id: Option<String>, pub card_network: Option<String>, pub merchant_id: Option<String>, pub card_last_4: Option<String>, pub card_issuer: Option<String>, pub error_reason: Option<String>, pub first_attempt: Option<bool>, pub total: Option<bigdecimal::BigDecimal>, pub count: Option<i64>, pub routing_approach: Option<DBEnumWrapper<storage_enums::RoutingApproach>>, pub signature_network: Option<String>, pub is_issuer_regulated: Option<bool>, pub is_debit_routed: Option<bool>, #[serde(with = "common_utils::custom_serde::iso8601::option")] pub start_bucket: Option<PrimitiveDateTime>, #[serde(with = "common_utils::custom_serde::iso8601::option")] pub end_bucket: Option<PrimitiveDateTime>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentMetricRow", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_3718187218611735172
clm
struct
// hyperswitch/crates/analytics/src/payments/filters.rs pub struct PaymentFilterRow { pub currency: Option<DBEnumWrapper<Currency>>, pub status: Option<DBEnumWrapper<AttemptStatus>>, pub connector: Option<String>, pub authentication_type: Option<DBEnumWrapper<AuthenticationType>>, pub payment_method: Option<String>, pub payment_method_type: Option<String>, pub client_source: Option<String>, pub client_version: Option<String>, pub profile_id: Option<String>, pub card_network: Option<String>, pub merchant_id: Option<String>, pub card_last_4: Option<String>, pub card_issuer: Option<String>, pub error_reason: Option<String>, pub first_attempt: Option<bool>, pub routing_approach: Option<DBEnumWrapper<RoutingApproach>>, pub signature_network: Option<String>, pub is_issuer_regulated: Option<bool>, pub is_debit_routed: Option<bool>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentFilterRow", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_7162176988293986829
clm
struct
// hyperswitch/crates/analytics/src/payments/accumulator.rs pub struct PaymentMetricsAccumulator { pub payment_success_rate: SuccessRateAccumulator, pub payment_count: CountAccumulator, pub payment_success: CountAccumulator, pub processed_amount: ProcessedAmountAccumulator, pub avg_ticket_size: AverageAccumulator, pub payment_error_message: ErrorDistributionAccumulator, pub retries_count: CountAccumulator, pub retries_amount_processed: RetriesAmountAccumulator, pub connector_success_rate: SuccessRateAccumulator, pub payments_distribution: PaymentsDistributionAccumulator, pub failure_reasons_distribution: FailureReasonsDistributionAccumulator, pub debit_routing: DebitRoutingAccumulator, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentMetricsAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-5837645927755022992
clm
struct
// hyperswitch/crates/analytics/src/payments/accumulator.rs pub struct ErrorDistributionRow { pub count: i64, pub total: i64, pub error_message: String, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ErrorDistributionRow", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-5885227186961774375
clm
struct
// hyperswitch/crates/analytics/src/payments/accumulator.rs pub struct ErrorDistributionAccumulator { pub error_vec: Vec<ErrorDistributionRow>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ErrorDistributionAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_7637131824682498906
clm
struct
// hyperswitch/crates/analytics/src/payments/accumulator.rs pub struct FailureReasonsDistributionAccumulator { pub count: u64, pub count_without_retries: u64, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "FailureReasonsDistributionAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-2703470349739989271
clm
struct
// hyperswitch/crates/analytics/src/payments/accumulator.rs pub struct SuccessRateAccumulator { pub success: i64, pub total: i64, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "SuccessRateAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-6928801530257140623
clm
struct
// hyperswitch/crates/analytics/src/payments/accumulator.rs pub struct CountAccumulator { pub count: Option<i64>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "CountAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_8181483218890112580
clm
struct
// hyperswitch/crates/analytics/src/payments/accumulator.rs pub struct ProcessedAmountAccumulator { pub count_with_retries: Option<i64>, pub total_with_retries: Option<i64>, pub count_without_retries: Option<i64>, pub total_without_retries: Option<i64>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ProcessedAmountAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-7815493084930270228
clm
struct
// hyperswitch/crates/analytics/src/payments/accumulator.rs pub struct DebitRoutingAccumulator { pub transaction_count: u64, pub savings_amount: u64, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "DebitRoutingAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_7655533849825590501
clm
struct
// hyperswitch/crates/analytics/src/payments/accumulator.rs pub struct AverageAccumulator { pub total: u32, pub count: u32, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "AverageAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-6186085999669182810
clm
struct
// hyperswitch/crates/analytics/src/payments/accumulator.rs pub struct RetriesAmountAccumulator { pub total: Option<i64>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "RetriesAmountAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-6898887646600895212
clm
struct
// hyperswitch/crates/analytics/src/payments/accumulator.rs pub struct PaymentsDistributionAccumulator { pub success: u32, pub failed: u32, pub total: u32, pub success_without_retries: u32, pub success_with_only_retries: u32, pub failed_without_retries: u32, pub failed_with_only_retries: u32, pub total_without_retries: u32, pub total_with_only_retries: u32, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentsDistributionAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-8849683157895474113
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/connector_success_rate.rs pub(super) struct ConnectorSuccessRate;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ConnectorSuccessRate", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_3504969154703457906
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/retries_count.rs pub(super) struct RetriesCount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "RetriesCount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_5745359828309635040
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/success_rate.rs pub(super) struct PaymentSuccessRate;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentSuccessRate", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-3409676513772204201
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/avg_ticket_size.rs pub(super) struct AvgTicketSize;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "AvgTicketSize", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-6393883363828692301
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/debit_routing.rs pub(super) struct DebitRouting;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "DebitRouting", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_3251432587108310507
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/payment_count.rs pub(super) struct PaymentCount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentCount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_7215581323809315856
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/payment_success_count.rs pub(super) struct PaymentSuccessCount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentSuccessCount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_470662144283808627
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/payment_processed_amount.rs pub(super) struct PaymentProcessedAmount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentProcessedAmount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-3130691347954748967
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs pub(crate) struct FailureReasons;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "FailureReasons", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-8849683157895474113
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs pub(crate) struct ConnectorSuccessRate;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ConnectorSuccessRate", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_3504969154703457906
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs pub(crate) struct RetriesCount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "RetriesCount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-5926703056591362412
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs pub(crate) struct PaymentsDistribution;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentsDistribution", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_5745359828309635040
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs pub(crate) struct PaymentSuccessRate;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentSuccessRate", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-3409676513772204201
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs pub(crate) struct AvgTicketSize;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "AvgTicketSize", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-6393883363828692301
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs pub(crate) struct DebitRouting;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "DebitRouting", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_3251432587108310507
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs pub(crate) struct PaymentCount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentCount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_7215581323809315856
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs pub(crate) struct PaymentSuccessCount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentSuccessCount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_470662144283808627
clm
struct
// hyperswitch/crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs pub(crate) struct PaymentProcessedAmount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentProcessedAmount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-1273938136781128953
clm
struct
// hyperswitch/crates/analytics/src/payments/distribution/payment_error_message.rs pub(super) struct PaymentErrorMessage;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentErrorMessage", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_3837172614508339251
clm
struct
// hyperswitch/crates/analytics/src/routing_events/events.rs pub struct RoutingEventsResult { pub merchant_id: common_utils::id_type::MerchantId, pub profile_id: common_utils::id_type::ProfileId, pub payment_id: String, pub routable_connectors: String, pub payment_connector: Option<String>, pub request_id: Option<String>, pub flow: String, pub url: Option<String>, pub request: String, pub response: Option<String>, pub error: Option<String>, pub status_code: Option<u16>, #[serde(with = "common_utils::custom_serde::iso8601")] pub created_at: PrimitiveDateTime, pub method: String, pub routing_engine: String, pub routing_approach: Option<String>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "RoutingEventsResult", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_8202571040488790049
clm
struct
// hyperswitch/crates/analytics/src/connector_events/events.rs pub struct ConnectorEventsResult { pub merchant_id: common_utils::id_type::MerchantId, pub payment_id: String, pub connector_name: Option<String>, pub request_id: Option<String>, pub flow: String, pub request: String, #[serde(rename = "masked_response")] pub response: Option<String>, pub error: Option<String>, pub status_code: u16, pub latency: Option<u128>, #[serde(with = "common_utils::custom_serde::iso8601")] pub created_at: PrimitiveDateTime, pub method: Option<String>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ConnectorEventsResult", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-2400306117774860215
clm
struct
// hyperswitch/crates/analytics/src/api_event/events.rs pub struct ApiLogsResult { pub merchant_id: common_utils::id_type::MerchantId, pub payment_id: Option<common_utils::id_type::PaymentId>, pub refund_id: Option<String>, pub payment_method_id: Option<String>, pub payment_method: Option<String>, pub payment_method_type: Option<String>, pub customer_id: Option<String>, pub user_id: Option<String>, pub connector: Option<String>, pub request_id: Option<String>, pub flow_type: String, pub api_flow: String, pub api_auth_type: Option<String>, pub request: String, pub response: Option<String>, pub error: Option<String>, pub authentication_data: Option<String>, pub status_code: u16, pub latency: Option<u128>, pub user_agent: Option<String>, pub hs_latency: Option<u128>, pub ip_addr: Option<String>, #[serde(with = "common_utils::custom_serde::iso8601")] pub created_at: PrimitiveDateTime, pub http_method: Option<String>, pub url_path: Option<String>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ApiLogsResult", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_4546172457099402758
clm
struct
// hyperswitch/crates/analytics/src/api_event/metrics.rs pub struct ApiEventMetricRow { pub latency: Option<u64>, pub api_count: Option<u64>, pub status_code_count: Option<u64>, #[serde(with = "common_utils::custom_serde::iso8601::option")] pub start_bucket: Option<PrimitiveDateTime>, #[serde(with = "common_utils::custom_serde::iso8601::option")] pub end_bucket: Option<PrimitiveDateTime>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ApiEventMetricRow", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_4156048560204884628
clm
struct
// hyperswitch/crates/analytics/src/api_event/filters.rs pub struct ApiEventFilter { pub status_code: Option<i32>, pub flow_type: Option<String>, pub api_flow: Option<String>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ApiEventFilter", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-4189728920085168981
clm
struct
// hyperswitch/crates/analytics/src/api_event/metrics/latency.rs pub(super) struct MaxLatency;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "MaxLatency", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-612671166622596557
clm
struct
// hyperswitch/crates/analytics/src/api_event/metrics/latency.rs pub struct LatencyAvg { latency_sum: Option<u64>, latency_count: u64, #[serde(with = "common_utils::custom_serde::iso8601::option")] pub start_bucket: Option<PrimitiveDateTime>, #[serde(with = "common_utils::custom_serde::iso8601::option")] pub end_bucket: Option<PrimitiveDateTime>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "LatencyAvg", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-6654058745730821
clm
struct
// hyperswitch/crates/analytics/src/api_event/metrics/status_code_count.rs pub(super) struct StatusCodeCount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "StatusCodeCount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-8056212173434959950
clm
struct
// hyperswitch/crates/analytics/src/api_event/metrics/api_count.rs pub(super) struct ApiCount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ApiCount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-8788932161161593390
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/metrics.rs pub struct PaymentIntentMetricRow { pub status: Option<DBEnumWrapper<storage_enums::IntentStatus>>, pub currency: Option<DBEnumWrapper<storage_enums::Currency>>, pub profile_id: Option<String>, pub connector: Option<String>, pub authentication_type: Option<DBEnumWrapper<storage_enums::AuthenticationType>>, pub payment_method: Option<String>, pub payment_method_type: Option<String>, pub card_network: Option<String>, pub merchant_id: Option<String>, pub card_last_4: Option<String>, pub card_issuer: Option<String>, pub error_reason: Option<String>, pub first_attempt: Option<i64>, pub total: Option<bigdecimal::BigDecimal>, pub count: Option<i64>, #[serde(with = "common_utils::custom_serde::iso8601::option")] pub start_bucket: Option<PrimitiveDateTime>, #[serde(with = "common_utils::custom_serde::iso8601::option")] pub end_bucket: Option<PrimitiveDateTime>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentIntentMetricRow", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-752200296521972424
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/sankey.rs pub struct SankeyRow { pub count: i64, pub status: DBEnumWrapper<enums::IntentStatus>, #[serde(default)] pub refunds_status: Option<DBEnumWrapper<SessionizerRefundStatus>>, #[serde(default)] pub dispute_status: Option<DBEnumWrapper<SessionizerDisputeStatus>>, pub first_attempt: i64, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "SankeyRow", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_6988764075554144291
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/filters.rs pub struct PaymentIntentFilterRow { pub status: Option<DBEnumWrapper<IntentStatus>>, pub currency: Option<DBEnumWrapper<Currency>>, pub profile_id: Option<String>, pub connector: Option<String>, pub authentication_type: Option<DBEnumWrapper<AuthenticationType>>, pub payment_method: Option<String>, pub payment_method_type: Option<String>, pub card_network: Option<String>, pub merchant_id: Option<String>, pub card_last_4: Option<String>, pub card_issuer: Option<String>, pub error_reason: Option<String>, pub customer_id: Option<String>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentIntentFilterRow", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_2816348993986977951
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/accumulator.rs pub struct PaymentIntentMetricsAccumulator { pub successful_smart_retries: CountAccumulator, pub total_smart_retries: CountAccumulator, pub smart_retried_amount: SmartRetriedAmountAccumulator, pub payment_intent_count: CountAccumulator, pub payments_success_rate: PaymentsSuccessRateAccumulator, pub payment_processed_amount: ProcessedAmountAccumulator, pub payments_distribution: PaymentsDistributionAccumulator, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentIntentMetricsAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-5837645927755022992
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/accumulator.rs pub struct ErrorDistributionRow { pub count: i64, pub total: i64, pub error_message: String, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ErrorDistributionRow", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-5885227186961774375
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/accumulator.rs pub struct ErrorDistributionAccumulator { pub error_vec: Vec<ErrorDistributionRow>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ErrorDistributionAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-6928801530257140623
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/accumulator.rs pub struct CountAccumulator { pub count: Option<i64>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "CountAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_8089703176000939372
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/accumulator.rs pub struct SmartRetriedAmountAccumulator { pub amount: Option<i64>, pub amount_without_retries: Option<i64>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "SmartRetriedAmountAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-994268410736348023
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/accumulator.rs pub struct PaymentsSuccessRateAccumulator { pub success: u32, pub success_without_retries: u32, pub total: u32, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentsSuccessRateAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_8181483218890112580
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/accumulator.rs pub struct ProcessedAmountAccumulator { pub count_with_retries: Option<i64>, pub total_with_retries: Option<i64>, pub count_without_retries: Option<i64>, pub total_without_retries: Option<i64>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ProcessedAmountAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-6898887646600895212
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/accumulator.rs pub struct PaymentsDistributionAccumulator { pub success_without_retries: u32, pub failed_without_retries: u32, pub total: u32, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentsDistributionAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-9049382772192538431
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/metrics/payments_success_rate.rs pub(super) struct PaymentsSuccessRate;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentsSuccessRate", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_6621776922590276038
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/metrics/total_smart_retries.rs pub(super) struct TotalSmartRetries;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "TotalSmartRetries", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-1727683836716636847
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/metrics/payment_intent_count.rs pub(super) struct PaymentIntentCount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentIntentCount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-5693732617968400835
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs pub(super) struct SuccessfulSmartRetries;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "SuccessfulSmartRetries", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_2381819904765305486
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs pub(super) struct SmartRetriedAmount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "SmartRetriedAmount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_470662144283808627
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs pub(super) struct PaymentProcessedAmount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentProcessedAmount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-9049382772192538431
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs pub(crate) struct PaymentsSuccessRate;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentsSuccessRate", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_6621776922590276038
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs pub(crate) struct TotalSmartRetries;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "TotalSmartRetries", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-5926703056591362412
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs pub(crate) struct PaymentsDistribution;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentsDistribution", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-1727683836716636847
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs pub(crate) struct PaymentIntentCount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentIntentCount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-5693732617968400835
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs pub(crate) struct SuccessfulSmartRetries;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "SuccessfulSmartRetries", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_2381819904765305486
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs pub(crate) struct SmartRetriedAmount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "SmartRetriedAmount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_470662144283808627
clm
struct
// hyperswitch/crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs pub(crate) struct PaymentProcessedAmount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentProcessedAmount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-8319318666306233282
clm
struct
// hyperswitch/crates/analytics/src/active_payments/metrics.rs pub struct ActivePaymentsMetricRow { pub count: Option<i64>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ActivePaymentsMetricRow", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-681316278966624927
clm
struct
// hyperswitch/crates/analytics/src/active_payments/accumulator.rs pub struct ActivePaymentsMetricsAccumulator { pub active_payments: CountAccumulator, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ActivePaymentsMetricsAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-6928801530257140623
clm
struct
// hyperswitch/crates/analytics/src/active_payments/accumulator.rs pub struct CountAccumulator { pub count: Option<i64>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "CountAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-3510256488478046777
clm
struct
// hyperswitch/crates/analytics/src/active_payments/metrics/active_payments.rs pub(super) struct ActivePayments;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "ActivePayments", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_6208781936278024395
clm
struct
// hyperswitch/crates/analytics/src/sdk_events/events.rs pub struct SdkEventsResult { pub merchant_id: common_utils::id_type::MerchantId, pub payment_id: common_utils::id_type::PaymentId, pub event_name: Option<String>, pub log_type: Option<String>, pub first_event: bool, pub browser_name: Option<String>, pub browser_version: Option<String>, pub source: Option<String>, pub category: Option<String>, pub version: Option<String>, pub value: Option<String>, pub platform: Option<String>, pub component: Option<String>, pub payment_method: Option<String>, pub payment_experience: Option<String>, pub latency: Option<u64>, #[serde(with = "common_utils::custom_serde::iso8601")] pub created_at_precise: PrimitiveDateTime, #[serde(with = "common_utils::custom_serde::iso8601")] pub created_at: PrimitiveDateTime, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "SdkEventsResult", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-1121796955680317818
clm
struct
// hyperswitch/crates/analytics/src/sdk_events/metrics.rs pub struct SdkEventMetricRow { pub total: Option<bigdecimal::BigDecimal>, pub count: Option<i64>, pub time_bucket: Option<String>, 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<String>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "SdkEventMetricRow", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-1402229763477468653
clm
struct
// hyperswitch/crates/analytics/src/sdk_events/filters.rs pub struct SdkEventFilter { 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<String>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "SdkEventFilter", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_3553196443183601068
clm
struct
// hyperswitch/crates/analytics/src/sdk_events/accumulator.rs pub struct SdkEventMetricsAccumulator { pub payment_attempts: CountAccumulator, pub payment_methods_call_count: CountAccumulator, pub average_payment_time: CountAccumulator, pub load_time: CountAccumulator, pub sdk_initiated_count: CountAccumulator, pub sdk_rendered_count: CountAccumulator, pub payment_method_selected_count: CountAccumulator, pub payment_data_filled_count: CountAccumulator, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "SdkEventMetricsAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-6928801530257140623
clm
struct
// hyperswitch/crates/analytics/src/sdk_events/accumulator.rs pub struct CountAccumulator { pub count: Option<i64>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "CountAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_7655533849825590501
clm
struct
// hyperswitch/crates/analytics/src/sdk_events/accumulator.rs pub struct AverageAccumulator { pub total: u32, pub count: u32, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "AverageAccumulator", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-8921937605971252488
clm
struct
// hyperswitch/crates/analytics/src/sdk_events/metrics/payment_method_selected_count.rs pub(super) struct PaymentMethodSelectedCount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentMethodSelectedCount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_3900006965699020610
clm
struct
// hyperswitch/crates/analytics/src/sdk_events/metrics/payment_data_filled_count.rs pub(super) struct PaymentDataFilledCount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentDataFilledCount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_6489233197186096945
clm
struct
// hyperswitch/crates/analytics/src/sdk_events/metrics/load_time.rs pub(super) struct LoadTime;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "LoadTime", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-6588177223975827431
clm
struct
// hyperswitch/crates/analytics/src/sdk_events/metrics/sdk_rendered_count.rs pub(super) struct SdkRenderedCount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "SdkRenderedCount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_2302451369415982090
clm
struct
// hyperswitch/crates/analytics/src/sdk_events/metrics/payment_methods_call_count.rs pub(super) struct PaymentMethodsCallCount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentMethodsCallCount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-1421977766603966971
clm
struct
// hyperswitch/crates/analytics/src/sdk_events/metrics/average_payment_time.rs pub(super) struct AveragePaymentTime;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "AveragePaymentTime", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_5087760394872031202
clm
struct
// hyperswitch/crates/analytics/src/sdk_events/metrics/sdk_initiated_count.rs pub(super) struct SdkInitiatedCount;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "SdkInitiatedCount", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-7880325790341989584
clm
struct
// hyperswitch/crates/analytics/src/sdk_events/metrics/payment_attempts.rs pub(super) struct PaymentAttempts;
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "PaymentAttempts", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_-5910905954663481368
clm
struct
// hyperswitch/crates/analytics/src/disputes/metrics.rs pub struct DisputeMetricRow { pub dispute_stage: Option<DBEnumWrapper<storage_enums::DisputeStage>>, pub dispute_status: Option<DBEnumWrapper<storage_enums::DisputeStatus>>, pub connector: Option<String>, pub currency: Option<DBEnumWrapper<storage_enums::Currency>>, pub total: Option<bigdecimal::BigDecimal>, pub count: Option<i64>, #[serde(with = "common_utils::custom_serde::iso8601::option")] pub start_bucket: Option<PrimitiveDateTime>, #[serde(with = "common_utils::custom_serde::iso8601::option")] pub end_bucket: Option<PrimitiveDateTime>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "DisputeMetricRow", "total_crates": null, "trait_name": null }
hyperswitch_struct_analytics_3463212585258104041
clm
struct
// hyperswitch/crates/analytics/src/disputes/filters.rs pub struct DisputeFilterRow { pub connector: Option<String>, pub dispute_status: Option<String>, pub connector_status: Option<String>, pub dispute_stage: Option<String>, pub currency: Option<DBEnumWrapper<Currency>>, }
{ "chunk": null, "crate": "analytics", "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_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": "DisputeFilterRow", "total_crates": null, "trait_name": null }