id stringlengths 11 116 | type stringclasses 1
value | granularity stringclasses 4
values | content stringlengths 16 477k | metadata dict |
|---|---|---|---|---|
fn_clm_router_get_outgoing_webhooks_signature_-846307319803188573 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/webhooks
// Implementation of StripeOutgoingWebhook for OutgoingWebhookType
fn get_outgoing_webhooks_signature(
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 44,
"total_crates": null
} |
fn_clm_router_add_webhook_header_-846307319803188573 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/webhooks
// Implementation of StripeOutgoingWebhook for OutgoingWebhookType
fn add_webhook_header(header: &mut Vec<(... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 26,
"total_crates": null
} |
fn_clm_router_get_stripe_event_type_-846307319803188573 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/webhooks
fn get_stripe_event_type(event_type: api_models::enums::EventType) -> &'static str {
match event_type {... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 0,
"total_crates": null
} |
fn_clm_router_switch_7003199750199650938 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/errors
// Implementation of CustomersErrorResponse for ErrorSwitch<StripeErrorCode>
fn switch(&self) -> StripeErrorC... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 3082,
"total_crates": null
} |
fn_clm_router_from_7003199750199650938 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/errors
// Implementation of StripeErrorCode for From<serde_qs::Error>
fn from(item: serde_qs::Error) -> Self {
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2610,
"total_crates": null
} |
fn_clm_router_fmt_7003199750199650938 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/errors
// Implementation of StripeErrorCode for ::core::fmt::Display
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) ... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 38,
"total_crates": null
} |
fn_clm_router_status_code_7003199750199650938 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/errors
// Implementation of StripeErrorCode for actix_web::ResponseError
fn status_code(&self) -> reqwest::StatusCod... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 34,
"total_crates": null
} |
fn_clm_router_error_response_7003199750199650938 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/errors
// Implementation of StripeErrorCode for actix_web::ResponseError
fn error_response(&self) -> actix_web::Http... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 30,
"total_crates": null
} |
fn_clm_router_customer_update_-4414728657837261820 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/customers
pub async fn customer_update(
state: web::Data<routes::AppState>,
qs_config: web::Data<serde_qs::C... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 34,
"total_crates": null
} |
fn_clm_router_customer_create_-4414728657837261820 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/customers
pub async fn customer_create(
state: web::Data<routes::AppState>,
qs_config: web::Data<serde_qs::C... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 30,
"total_crates": null
} |
fn_clm_router_list_customer_payment_method_api_-4414728657837261820 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/customers
pub async fn list_customer_payment_method_api(
state: web::Data<routes::AppState>,
req: HttpReques... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 28,
"total_crates": null
} |
fn_clm_router_customer_retrieve_-4414728657837261820 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/customers
pub async fn customer_retrieve(
state: web::Data<routes::AppState>,
req: HttpRequest,
path: we... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 26,
"total_crates": null
} |
fn_clm_router_customer_delete_-4414728657837261820 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/customers
pub async fn customer_delete(
state: web::Data<routes::AppState>,
req: HttpRequest,
path: web:... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 26,
"total_crates": null
} |
fn_clm_router_setup_intents_update_3055797208915248571 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/setup_intents
pub async fn setup_intents_update(
state: web::Data<routes::AppState>,
qs_config: web::Data<se... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 40,
"total_crates": null
} |
fn_clm_router_setup_intents_confirm_3055797208915248571 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/setup_intents
pub async fn setup_intents_confirm(
state: web::Data<routes::AppState>,
qs_config: web::Data<s... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 40,
"total_crates": null
} |
fn_clm_router_setup_intents_retrieve_3055797208915248571 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/setup_intents
pub async fn setup_intents_retrieve(
state: web::Data<routes::AppState>,
req: HttpRequest,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 34,
"total_crates": null
} |
fn_clm_router_setup_intents_create_3055797208915248571 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/setup_intents
pub async fn setup_intents_create(
state: web::Data<routes::AppState>,
qs_config: web::Data<se... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 32,
"total_crates": null
} |
fn_clm_router_server_653111764937113120 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/app
// Inherent implementation for Mandates
pub fn server(config: routes::AppState) -> Scope {
web::scope("/... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 220,
"total_crates": null
} |
fn_clm_router_from_7532662773634923420 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/customers/types
// Implementation of CardDetails for From<api_types::CardDetailFromLocker>
fn from(item: api_types::... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2600,
"total_crates": null
} |
fn_clm_router_new_-7658488023416701556 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/payment_intents/types
// Inherent implementation for Charges
pub fn new() -> Self {
Self {
objec... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 14465,
"total_crates": null
} |
fn_clm_router_try_from_-7658488023416701556 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/payment_intents/types
// Implementation of payments::PaymentListConstraints for TryFrom<StripePaymentListConstraints>... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2667,
"total_crates": null
} |
fn_clm_router_from_-7658488023416701556 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/payment_intents/types
// Implementation of StripePaymentIntentListResponse for From<payments::PaymentListResponse>
f... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2610,
"total_crates": null
} |
fn_clm_router_foreign_try_from_-7658488023416701556 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/payment_intents/types
// Implementation of Option<payments::MandateData> for ForeignTryFrom<(Option<MandateData>, Opt... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 462,
"total_crates": null
} |
fn_clm_router_foreign_from_-7658488023416701556 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/payment_intents/types
// Implementation of api_models::enums::AuthenticationType for ForeignFrom<Option<Request3DS>>
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 214,
"total_crates": null
} |
fn_clm_router_try_from_1459353392353505180 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/setup_intents/types
// Implementation of payments::PaymentListConstraints for TryFrom<StripePaymentListConstraints>
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2667,
"total_crates": null
} |
fn_clm_router_from_1459353392353505180 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/setup_intents/types
// Implementation of StripeSetupIntentResponse for From<payments::PaymentsResponse>
fn from(resp... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2638,
"total_crates": null
} |
fn_clm_router_from_timestamp_to_datetime_1459353392353505180 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/setup_intents/types
fn from_timestamp_to_datetime(
time: Option<i64>,
) -> Result<Option<time::PrimitiveDateTime... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 42,
"total_crates": null
} |
fn_clm_router_into_stripe_next_action_1459353392353505180 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/setup_intents/types
pub(crate) fn into_stripe_next_action(
next_action: Option<payments::NextActionData>,
re... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 15,
"total_crates": null
} |
fn_clm_router_default_limit_1459353392353505180 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/setup_intents/types
fn default_limit() -> u32 {
10
}
| {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 0,
"total_crates": null
} |
fn_clm_router_from_-6304703605678882654 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/compatibility/stripe/refunds/types
// Implementation of StripeRefundResponse for From<refunds::RefundResponse>
fn from(res: refunds::Refu... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2616,
"total_crates": null
} |
fn_clm_router_is_update_required_-5953297332549155606 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/payment_methods
// Inherent implementation for NetworkTokenRequestorData
pub fn is_update_required(
&self,
data_sto... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 40,
"total_crates": null
} |
fn_clm_router_get_vaulting_request_url_-5953297332549155606 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/payment_methods
// Implementation of VaultDelete for VaultingInterface
fn get_vaulting_request_url() -> &'static str {
cons... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 11,
"total_crates": null
} |
fn_clm_router_get_vaulting_flow_name_-5953297332549155606 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/payment_methods
// Implementation of VaultDelete for VaultingInterface
fn get_vaulting_flow_name() -> &'static str {
consts... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 11,
"total_crates": null
} |
fn_clm_router_foreign_try_from_3313904630807326268 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/connector_transformers
// Implementation of common_enums::RoutableConnectors for ForeignTryFrom<api_enums::Connector>
fn foreign_tr... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 456,
"total_crates": null
} |
fn_clm_router_try_from_-3468684132368773582 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/transformers
// Implementation of api_models::webhook_events::EventRetrieveResponse for TryFrom<domain::Event>
fn try_from(item: do... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2685,
"total_crates": null
} |
fn_clm_router_from_-3468684132368773582 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/transformers
// Implementation of payments::AddressDetails for From<domain::Address>
fn from(addr: domain::Address) -> Self {
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2616,
"total_crates": null
} |
fn_clm_router_foreign_try_from_-3468684132368773582 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/transformers
// Implementation of api_types::webhook_events::EventListConstraintsInternal for ForeignTryFrom<api_types::webhook_even... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 446,
"total_crates": null
} |
fn_clm_router_foreign_from_-3468684132368773582 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/transformers
// Implementation of payments::AdditionalCardInfo for ForeignFrom<&revenue_recovery_redis_operation::PaymentProcessorTo... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 224,
"total_crates": null
} |
fn_clm_router_foreign_into_-3468684132368773582 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/transformers
// Implementation of F for ForeignInto<T>
fn foreign_into(self) -> T {
T::foreign_from(self)
}
| {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 214,
"total_crates": null
} |
fn_clm_router_new_5057633511689095702 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api
// Inherent implementation for SessionConnectorData
pub fn new(
payment_method_sub_type: api_enums::PaymentMethodType,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 14463,
"total_crates": null
} |
fn_clm_router_from_5057633511689095702 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api
// Implementation of ConnectorRoutingData for From<ConnectorData>
fn from(connector_data: ConnectorData) -> Self {
Self... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2600,
"total_crates": null
} |
fn_clm_router_foreign_try_from_5057633511689095702 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api
// Implementation of RoutableConnectorChoice for ForeignTryFrom<ConnectorData>
fn foreign_try_from(from: ConnectorData) -> Resu... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 430,
"total_crates": null
} |
fn_clm_router_get_connector_by_name_5057633511689095702 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api
// Inherent implementation for TaxCalculateConnectorData
pub fn get_connector_by_name(name: &str) -> CustomResult<Self, errors:... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 188,
"total_crates": null
} |
fn_clm_router_convert_connector_5057633511689095702 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api
// Inherent implementation for TaxCalculateConnectorData
fn convert_connector(
connector_name: enums::TaxConnectors,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 44,
"total_crates": null
} |
fn_clm_router_get_connector_by_name_5928816163238806951 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/pm_auth
// Implementation of PaymentAuthConnectorData for PaymentAuthConnectorDataExt
fn get_connector_by_name(name: &str) -> error... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 180,
"total_crates": null
} |
fn_clm_router_convert_connector_5928816163238806951 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/pm_auth
// Implementation of PaymentAuthConnectorData for PaymentAuthConnectorDataExt
fn convert_connector(
connector_name:... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 40,
"total_crates": null
} |
fn_clm_router_filter_by_constraints_6516686473793249018 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/dispute
// Implementation of Dispute for DisputeDbExt
async fn filter_by_constraints(
conn: &PgPooledConn,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 113,
"total_crates": null
} |
fn_clm_router_get_dispute_status_with_count_6516686473793249018 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/dispute
// Implementation of Dispute for DisputeDbExt
async fn get_dispute_status_with_count(
conn: &PgPooledConn,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 46,
"total_crates": null
} |
fn_clm_router_get_total_amount_9097859931397791850 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/payment_attempt
// Implementation of PaymentAttempt for PaymentAttemptExt
fn get_total_amount(&self) -> MinorUnit {
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 170,
"total_crates": null
} |
fn_clm_router_test_payment_attempt_mandate_field_9097859931397791850 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/payment_attempt
/// Example of unit test
/// Kind of test: state-based testing
async fn test_payment_attempt_mandate_fie... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 158,
"total_crates": null
} |
fn_clm_router_test_find_payment_attempt_9097859931397791850 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/payment_attempt
/// Example of unit test
/// Kind of test: state-based testing
async fn test_find_payment_attempt() {
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 156,
"total_crates": null
} |
fn_clm_router_test_payment_attempt_insert_9097859931397791850 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/payment_attempt
async fn test_payment_attempt_insert() {
let state = create_single_connection_test_transaction_pool... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 146,
"total_crates": null
} |
fn_clm_router_make_new_capture_9097859931397791850 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/payment_attempt
// Implementation of PaymentAttempt for PaymentAttemptExt
fn make_new_capture(
&self,
captu... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 31,
"total_crates": null
} |
fn_clm_router_update_payment_processor_token_error_code_from_process_tracker_8181439378200417214 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/revenue_recovery_redis_operation
// Implementation of None for RedisTokenManager
pub async fn update_payment_processor_toke... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 78,
"total_crates": null
} |
fn_clm_router_update_redis_token_with_comprehensive_card_data_8181439378200417214 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/revenue_recovery_redis_operation
// Implementation of None for RedisTokenManager
pub async fn update_redis_token_with_compr... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 77,
"total_crates": null
} |
fn_clm_router_get_connector_customer_payment_processor_tokens_8181439378200417214 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/revenue_recovery_redis_operation
// Implementation of None for RedisTokenManager
pub async fn get_connector_customer_paymen... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 68,
"total_crates": null
} |
fn_clm_router_update_or_add_connector_customer_payment_processor_tokens_8181439378200417214 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/revenue_recovery_redis_operation
// Implementation of None for RedisTokenManager
pub async fn update_or_add_connector_custo... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 65,
"total_crates": null
} |
fn_clm_router_get_redis_key_data_raw_8181439378200417214 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/revenue_recovery_redis_operation
// Implementation of None for RedisTokenManager
pub async fn get_redis_key_data_raw(
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 63,
"total_crates": null
} |
fn_clm_router_temporary_generic_-511987267632802507 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/payment_method
// Inherent implementation for PaymentTokenData
pub fn temporary_generic(token: String) -> Self {
Se... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 38,
"total_crates": null
} |
fn_clm_router_permanent_card_-511987267632802507 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/payment_method
// Inherent implementation for PaymentTokenData
pub fn permanent_card(
payment_method_id: common_uti... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 26,
"total_crates": null
} |
fn_clm_router_wallet_token_-511987267632802507 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/payment_method
// Inherent implementation for PaymentTokenData
pub fn wallet_token(payment_method_id: String) -> Self {
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 23,
"total_crates": null
} |
fn_clm_router_get_token_data_-511987267632802507 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/payment_method
// Inherent implementation for PaymentMethodListContext
pub(crate) fn get_token_data(&self) -> Option<Paymen... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 23,
"total_crates": null
} |
fn_clm_router_is_permanent_card_-511987267632802507 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/payment_method
// Inherent implementation for PaymentTokenData
pub fn is_permanent_card(&self) -> bool {
matches!(s... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 18,
"total_crates": null
} |
fn_clm_router_filter_by_constraints_6377147393414243021 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/refund
// Implementation of Refund for RefundDbExt
async fn filter_by_constraints(
conn: &PgPooledConn,
mer... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 83,
"total_crates": null
} |
fn_clm_router_filter_by_meta_constraints_6377147393414243021 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/refund
// Implementation of Refund for RefundDbExt
async fn filter_by_meta_constraints(
conn: &PgPooledConn,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 76,
"total_crates": null
} |
fn_clm_router_get_refunds_count_6377147393414243021 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/refund
// Implementation of Refund for RefundDbExt
async fn get_refunds_count(
conn: &PgPooledConn,
merchan... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 72,
"total_crates": null
} |
fn_clm_router_get_refund_status_with_count_6377147393414243021 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/refund
// Implementation of Refund for RefundDbExt
async fn get_refund_status_with_count(
conn: &PgPooledConn,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 46,
"total_crates": null
} |
fn_clm_router_filter_by_constraints_-1848225134979559463 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/payment_link
// Implementation of PaymentLink for PaymentLinkDbExt
async fn filter_by_constraints(
conn: &PgPooledC... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 53,
"total_crates": null
} |
fn_clm_router_default_4925700548039270482 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/revenue_recovery
// Implementation of RecoveryTimestamp for Default
fn default() -> Self {
Self {
initi... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 7703,
"total_crates": null
} |
fn_clm_router_get_network_config_4925700548039270482 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/revenue_recovery
// Inherent implementation for RetryLimitsConfig
pub fn get_network_config(&self, network: Option<CardNetw... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 35,
"total_crates": null
} |
fn_clm_router_get_schedule_time_based_on_retry_type_4925700548039270482 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/revenue_recovery
// Implementation of None for RevenueRecoveryPaymentData
pub async fn get_schedule_time_based_on_retry_typ... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 25,
"total_crates": null
} |
fn_clm_router_foreign_try_from_8296608986570732757 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/ephemeral_key
// Implementation of api_models::ephemeral_key::ClientSecretResponse for ForeignTryFrom<ClientSecretType>
fn ... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 432,
"total_crates": null
} |
fn_clm_router_filter_by_constraints_-5868333969207586278 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/storage/mandate
// Implementation of Mandate for MandateDbExt
async fn filter_by_constraints(
conn: &PgPooledConn,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 63,
"total_crates": null
} |
fn_clm_router_convert_connector_3161772835303060188 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/connector_mapping
// Implementation of None for ConnectorData
pub fn convert_connector(
connector_name: &str,
) -> ... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 796,
"total_crates": null
} |
fn_clm_router_get_connector_by_name_3161772835303060188 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/connector_mapping
// Implementation of None for ConnectorData
pub fn get_connector_by_name(
_connectors: &Connectors,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 190,
"total_crates": null
} |
fn_clm_router_get_payout_connector_by_name_3161772835303060188 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/connector_mapping
// Implementation of None for ConnectorData
pub fn get_payout_connector_by_name(
_connectors: &Connec... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 45,
"total_crates": null
} |
fn_clm_router_get_external_vault_connector_by_name_3161772835303060188 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/connector_mapping
// Implementation of None for ConnectorData
pub fn get_external_vault_connector_by_name(
_connectors:... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 45,
"total_crates": null
} |
fn_clm_router_validate_4973420165449926019 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/payment_methods
// Implementation of PaymentMethodIntentConfirm for PaymentMethodCreateExt
fn validate(&self) -> RouterResult<(... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 223,
"total_crates": null
} |
fn_clm_router_foreign_from_-5497046619853540737 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/refunds
// Implementation of RefundStatus for ForeignFrom<storage_enums::RefundStatus>
fn foreign_from(status: storage_enums::R... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 212,
"total_crates": null
} |
fn_clm_router_get_connector_by_name_1888903689007091221 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/fraud_check
// Inherent implementation for FraudCheckConnectorData
pub fn get_connector_by_name(name: &str) -> CustomResult<Sel... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 188,
"total_crates": null
} |
fn_clm_router_convert_connector_1888903689007091221 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/fraud_check
// Inherent implementation for FraudCheckConnectorData
fn convert_connector(
connector_name: enums::FrmConn... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 48,
"total_crates": null
} |
fn_clm_router_get_payment_intent_id_-6291202507307243748 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/payments
// Implementation of PaymentIdType for PaymentIdTypeExt
fn get_payment_intent_id(
&self,
) -> errors::Cust... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 66,
"total_crates": null
} |
fn_clm_router_card_-6291202507307243748 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/payments
fn card() -> Card {
Card {
card_number: "1234432112344321".to_string().try_into().unwrap(),
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 29,
"total_crates": null
} |
fn_clm_router_validate_and_get_mandate_type_-6291202507307243748 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/payments
// Implementation of MandateValidationFields for MandateValidationFieldsExt
fn validate_and_get_mandate_type(
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 15,
"total_crates": null
} |
fn_clm_router_payments_request_-6291202507307243748 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/payments
fn payments_request() -> PaymentsRequest {
PaymentsRequest {
amount: Some(Amount::from(common_util... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 13,
"total_crates": null
} |
fn_clm_router_test_connector_id_type_-6291202507307243748 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/payments
fn test_connector_id_type() {
let sample_1 = PaymentIdType::PaymentIntentId(
common_utils::id_type... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 8,
"total_crates": null
} |
fn_clm_router_foreign_try_from_2643980981202016043 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/files
// Implementation of FileUploadProvider for ForeignTryFrom<&types::Connector>
fn foreign_try_from(item: &types::Connector... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 432,
"total_crates": null
} |
fn_clm_router_get_payment_authorize_data_-2388628864099399410 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/verify_connector
// Inherent implementation for VerifyConnectorData
fn get_payment_authorize_data(&self) -> types::PaymentsAuth... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 221,
"total_crates": null
} |
fn_clm_router_verify_-2388628864099399410 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/verify_connector
async fn verify(
state: &SessionState,
connector_data: VerifyConnectorData,
) -> errors::R... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 47,
"total_crates": null
} |
fn_clm_router_get_router_data_-2388628864099399410 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/verify_connector
// Inherent implementation for VerifyConnectorData
fn get_router_data<F, R1, R2>(
&self,
state... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 38,
"total_crates": null
} |
fn_clm_router_get_access_token_-2388628864099399410 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/verify_connector
async fn get_access_token(
_state: &SessionState,
_connector_data: VerifyConnectorData,
) ... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 33,
"total_crates": null
} |
fn_clm_router_handle_payment_error_response_-2388628864099399410 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/verify_connector
async fn handle_payment_error_response<F, ResourceCommonData, Req, Resp>(
// connector: &(dyn api::Con... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 8,
"total_crates": null
} |
fn_clm_router_from_db_payment_link_2104118499589004105 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/payment_link
// Implementation of RetrievePaymentLinkResponse for PaymentLinkResponseExt
async fn from_db_payment_link(payment_... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 19,
"total_crates": null
} |
fn_clm_router_foreign_from_-8060588312794801528 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/customers
// Implementation of CustomerResponse for ForeignFrom<customer::Customer>
fn foreign_from(cust: domain::Customer) -> ... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 214,
"total_crates": null
} |
fn_clm_router_get_api_event_type_-8060588312794801528 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/customers
// Implementation of CustomerResponse for common_utils::events::ApiEventMetric
fn get_api_event_type(&self) -> Option... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 28,
"total_crates": null
} |
fn_clm_router_try_from_2536832215170875581 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/authentication
// Implementation of AuthenticationResponse for TryFrom<storage::Authentication>
fn try_from(authentication: sto... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2671,
"total_crates": null
} |
fn_clm_router_get_connector_by_name_2536832215170875581 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/authentication
// Inherent implementation for AuthenticationConnectorData
pub fn get_connector_by_name(name: &str) -> CustomRes... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 188,
"total_crates": null
} |
fn_clm_router_convert_connector_2536832215170875581 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/authentication
// Inherent implementation for AuthenticationConnectorData
fn convert_connector(
connector_name: enums::... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 80,
"total_crates": null
} |
fn_clm_router_from_1210704699228309202 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/mandates
// Implementation of MandateCardDetails for From<api::payment_methods::CardDetailFromLocker>
fn from(card_details_from... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2616,
"total_crates": null
} |
fn_clm_router_from_db_mandate_1210704699228309202 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/types/api/mandates
// Implementation of MandateResponse for MandateResponseExt
async fn from_db_mandate(
state: &SessionState,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 20,
"total_crates": null
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.