id
stringlengths
11
116
type
stringclasses
1 value
granularity
stringclasses
4 values
content
stringlengths
16
477k
metadata
dict
file_analytics_-2937683820280606560
clm
file
// Repository: hyperswitch // Crate: analytics // File: crates/analytics/src/refunds/core.rs // Contains: 0 structs, 1 enums #![allow(dead_code)] use std::collections::{HashMap, HashSet}; use api_models::analytics::{ refunds::{ RefundDimensions, RefundDistributions, RefundMetrics, RefundMetricsBucketIdent...
{ "crate": "analytics", "file": "crates/analytics/src/refunds/core.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 1, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_hyperswitch_interfaces_578915850663119059
clm
file
// Repository: hyperswitch // Crate: hyperswitch_interfaces // File: crates/hyperswitch_interfaces/src/secrets_interface.rs // Contains: 0 structs, 1 enums //! Secrets management interface pub mod secret_handler; pub mod secret_state; use common_utils::errors::CustomResult; use masking::Secret; /// Trait defining ...
{ "crate": "hyperswitch_interfaces", "file": "crates/hyperswitch_interfaces/src/secrets_interface.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 1, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_hyperswitch_interfaces_-5338718119518771107
clm
file
// Repository: hyperswitch // Crate: hyperswitch_interfaces // File: crates/hyperswitch_interfaces/src/connector_integration_interface.rs // Contains: 0 structs, 2 enums use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId}; use common_enums::PaymentAction; use common_utils::{crypto, errors::CustomResult...
{ "crate": "hyperswitch_interfaces", "file": "crates/hyperswitch_interfaces/src/connector_integration_interface.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 2, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_hyperswitch_interfaces_-8711482644167393174
clm
file
// Repository: hyperswitch // Crate: hyperswitch_interfaces // File: crates/hyperswitch_interfaces/src/encryption_interface.rs // Contains: 0 structs, 1 enums //! Encryption related interface and error types #![warn(missing_docs, missing_debug_implementations)] use common_utils::errors::CustomResult; /// Trait defi...
{ "crate": "hyperswitch_interfaces", "file": "crates/hyperswitch_interfaces/src/encryption_interface.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 1, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_hyperswitch_interfaces_-2098936818955319925
clm
file
// Repository: hyperswitch // Crate: hyperswitch_interfaces // File: crates/hyperswitch_interfaces/src/errors.rs // Contains: 0 structs, 2 enums //! Errors interface use common_enums::ApiClientError; use common_utils::errors::ErrorSwitch; use hyperswitch_domain_models::errors::api_error_response::ApiErrorResponse; /...
{ "crate": "hyperswitch_interfaces", "file": "crates/hyperswitch_interfaces/src/errors.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 2, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_hyperswitch_interfaces_-2644142419715152054
clm
file
// Repository: hyperswitch // Crate: hyperswitch_interfaces // File: crates/hyperswitch_interfaces/src/api.rs // Contains: 0 structs, 2 enums //! API interface /// authentication module pub mod authentication; /// authentication_v2 module pub mod authentication_v2; pub mod disputes; pub mod disputes_v2; pub mod files...
{ "crate": "hyperswitch_interfaces", "file": "crates/hyperswitch_interfaces/src/api.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 2, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_hyperswitch_interfaces_4805050480318918437
clm
file
// Repository: hyperswitch // Crate: hyperswitch_interfaces // File: crates/hyperswitch_interfaces/src/api/files.rs // Contains: 0 structs, 1 enums //! Files interface use hyperswitch_domain_models::{ router_flow_types::files::{Retrieve, Upload}, router_request_types::{RetrieveFileRequestData, UploadFileReque...
{ "crate": "hyperswitch_interfaces", "file": "crates/hyperswitch_interfaces/src/api/files.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 1, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_hyperswitch_interfaces_-5822837583681509036
clm
file
// Repository: hyperswitch // Crate: hyperswitch_interfaces // File: crates/hyperswitch_interfaces/src/events/routing_api_logs.rs // Contains: 0 structs, 2 enums //! Routing API logs interface use std::fmt; use api_models::routing::RoutableConnectorChoice; use common_utils::request::Method; use router_env::tracing_a...
{ "crate": "hyperswitch_interfaces", "file": "crates/hyperswitch_interfaces/src/events/routing_api_logs.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 2, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_router_1714718681046704774
clm
file
// Repository: hyperswitch // Crate: router // File: crates/router/src/events.rs // Contains: 0 structs, 3 enums use std::collections::HashMap; use common_utils::types::TenantConfig; use error_stack::ResultExt; use events::{EventsError, Message, MessagingInterface}; use hyperswitch_interfaces::events as events_interf...
{ "crate": "router", "file": "crates/router/src/events.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 3, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_router_-4214724542697324147
clm
file
// Repository: hyperswitch // Crate: router // File: crates/router/src/db.rs // Contains: 0 structs, 1 enums pub mod address; pub mod api_keys; pub mod authentication; pub mod authorization; pub mod blocklist; pub mod blocklist_fingerprint; pub mod blocklist_lookup; pub mod business_profile; pub mod callback_mapper; p...
{ "crate": "router", "file": "crates/router/src/db.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 1, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_router_-8645521796716540257
clm
file
// Repository: hyperswitch // Crate: router // File: crates/router/src/compatibility/stripe/errors.rs // Contains: 0 structs, 2 enums use common_utils::{errors::ErrorSwitch, id_type}; use hyperswitch_domain_models::errors::api_error_response as errors; use crate::core::errors::CustomersErrorResponse; #[derive(Debug,...
{ "crate": "router", "file": "crates/router/src/compatibility/stripe/errors.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 2, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_router_6947740444299058765
clm
file
// Repository: hyperswitch // Crate: router // File: crates/router/src/types/domain/user/decision_manager.rs // Contains: 0 structs, 4 enums use common_enums::TokenPurpose; use common_utils::{id_type, types::user::LineageContext}; use diesel_models::{ enums::{UserRoleVersion, UserStatus}, user_role::UserRole, ...
{ "crate": "router", "file": "crates/router/src/types/domain/user/decision_manager.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 4, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_router_8879184066397108941
clm
file
// Repository: hyperswitch // Crate: router // File: crates/router/src/core/payments/routing.rs // Contains: 0 structs, 2 enums mod transformers; pub mod utils; #[cfg(all(feature = "v1", feature = "dynamic_routing"))] use std::collections::hash_map; #[cfg(all(feature = "v1", feature = "dynamic_routing"))] use std::has...
{ "crate": "router", "file": "crates/router/src/core/payments/routing.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 2, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_router_2235041506038621469
clm
file
// Repository: hyperswitch // Crate: router // File: crates/router/src/core/utils/refunds_validator.rs // Contains: 0 structs, 1 enums use diesel_models::refund as diesel_refund; use error_stack::report; use router_env::{instrument, tracing}; use time::PrimitiveDateTime; use crate::{ core::errors::{self, CustomRe...
{ "crate": "router", "file": "crates/router/src/core/utils/refunds_validator.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 1, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_router_-6957101065590432410
clm
file
// Repository: hyperswitch // Crate: router // File: crates/router/src/core/revenue_recovery/types.rs // Contains: 0 structs, 2 enums use std::{marker::PhantomData, str::FromStr}; use api_models::{ enums as api_enums, payments::{ AmountDetails, PaymentRevenueRecoveryMetadata, PaymentsUpdateIntentReque...
{ "crate": "router", "file": "crates/router/src/core/revenue_recovery/types.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 2, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_router_5543985855221212387
clm
file
// Repository: hyperswitch // Crate: router // File: crates/router/src/core/errors/customers_error_response.rs // Contains: 0 structs, 1 enums use http::StatusCode; #[derive(Debug, thiserror::Error)] pub enum CustomersErrorResponse { #[error("Customer has already been redacted")] CustomerRedacted, #[erro...
{ "crate": "router", "file": "crates/router/src/core/errors/customers_error_response.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 1, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_router_6496136927316273885
clm
file
// Repository: hyperswitch // Crate: router // File: crates/router/src/core/errors/user.rs // Contains: 0 structs, 1 enums use common_utils::errors::CustomResult; use crate::services::ApplicationResponse; pub type UserResult<T> = CustomResult<T, UserErrors>; pub type UserResponse<T> = CustomResult<ApplicationRespons...
{ "crate": "router", "file": "crates/router/src/core/errors/user.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 1, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_router_-1768214410158752403
clm
file
// Repository: hyperswitch // Crate: router // File: crates/router/src/core/errors/chat.rs // Contains: 0 structs, 1 enums #[derive(Debug, thiserror::Error)] pub enum ChatErrors { #[error("User InternalServerError")] InternalServerError, #[error("Missing Config error")] MissingConfigError, #[error(...
{ "crate": "router", "file": "crates/router/src/core/errors/chat.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 1, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_router_8460326169540230515
clm
file
// Repository: hyperswitch // Crate: router // File: crates/router/src/core/errors/user/sample_data.rs // Contains: 0 structs, 1 enums use api_models::errors::types::{ApiError, ApiErrorResponse}; use common_utils::errors::{CustomResult, ErrorSwitch, ErrorSwitchFrom}; use storage_impl::errors::StorageError; pub type S...
{ "crate": "router", "file": "crates/router/src/core/errors/user/sample_data.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 1, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_router_-4365295691809446099
clm
file
// Repository: hyperswitch // Crate: router // File: crates/router/src/core/webhooks/network_tokenization_incoming.rs // Contains: 0 structs, 1 enums use std::str::FromStr; use ::payment_methods::controller::PaymentMethodsController; use api_models::webhooks::WebhookResponseTracker; use async_trait::async_trait; use ...
{ "crate": "router", "file": "crates/router/src/core/webhooks/network_tokenization_incoming.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 1, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_router_-6451571917243214356
clm
file
// Repository: hyperswitch // Crate: router // File: crates/router/src/core/webhooks/outgoing.rs // Contains: 0 structs, 1 enums use std::collections::HashMap; use api_models::{ webhook_events::{OutgoingWebhookRequestContent, OutgoingWebhookResponseContent}, webhooks, }; use common_utils::{ ext_traits::{E...
{ "crate": "router", "file": "crates/router/src/core/webhooks/outgoing.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 1, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_router_6709754090527951233
clm
file
// Repository: hyperswitch // Crate: router // File: crates/router/src/core/webhooks/webhook_events.rs // Contains: 0 structs, 1 enums use std::collections::HashSet; use common_utils::{self, errors::CustomResult, fp_utils}; use error_stack::ResultExt; use masking::PeekInterface; use router_env::{instrument, tracing};...
{ "crate": "router", "file": "crates/router/src/core/webhooks/webhook_events.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 1, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_router_-712853406640956159
clm
file
// Repository: hyperswitch // Crate: router // File: crates/router/src/routes/lock_utils.rs // Contains: 0 structs, 1 enums use router_env::Flow; #[derive(Clone, Debug, strum::Display)] #[strum(serialize_all = "snake_case")] pub enum ApiIdentifier { Payments, Refunds, Webhooks, Organization, Merch...
{ "crate": "router", "file": "crates/router/src/routes/lock_utils.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 1, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
file_router_-5350622188072912632
clm
file
// Repository: hyperswitch // Crate: router // File: crates/router/src/routes/dummy_connector/errors.rs // Contains: 0 structs, 1 enums #[derive(Clone, Debug, serde::Serialize)] #[serde(rename_all = "snake_case")] pub enum ErrorType { ServerNotAvailable, ObjectNotFound, InvalidRequestError, } #[derive(Deb...
{ "crate": "router", "file": "crates/router/src/routes/dummy_connector/errors.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 1, "num_structs": 0, "num_tables": null, "score": null, "total_crates": null }
diesel_file_-8785310203052131258
clm
file
// Repository: hyperswitch // Crate: diesel_models // File: crates/diesel_models/src/schema_v2.rs // Contains: 50 table schemas, 0 diesel enums // @generated automatically by Diesel CLI. diesel::table! { use diesel::sql_types::*; use crate::enums::diesel_exports::*; address (address_id) { #[max_l...
{ "crate": "diesel_models", "file": "crates/diesel_models/src/schema_v2.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 0, "num_structs": null, "num_tables": 50, "score": null, "total_crates": null }
diesel_file_6082001395469778501
clm
file
// Repository: hyperswitch // Crate: diesel_models // File: crates/diesel_models/src/schema.rs // Contains: 49 table schemas, 0 diesel enums // @generated automatically by Diesel CLI. diesel::table! { use diesel::sql_types::*; use crate::enums::diesel_exports::*; address (address_id) { #[max_leng...
{ "crate": "diesel_models", "file": "crates/diesel_models/src/schema.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 0, "num_structs": null, "num_tables": 49, "score": null, "total_crates": null }
diesel_file_5933697906134899615
clm
file
// Repository: hyperswitch // Crate: diesel_models // File: crates/diesel_models/src/enums.rs // Contains: 0 table schemas, 10 diesel enums #[doc(hidden)] pub mod diesel_exports { pub use super::{ DbApiVersion as ApiVersion, DbAttemptStatus as AttemptStatus, DbAuthenticationType as AuthenticationTy...
{ "crate": "diesel_models", "file": "crates/diesel_models/src/enums.rs", "file_size": null, "is_async": null, "is_pub": null, "num_enums": 10, "num_structs": null, "num_tables": 0, "score": null, "total_crates": null }
fn_clm_storage_impl_get_entity_id_vault_id_by_token_id_-3120060625278092666
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/tokenization // Implementation of MockDb for TokenizationInterface async fn get_entity_id_vault_id_by_token_id( &self, _token: &common_utils::id_type:...
{ "crate": "storage_impl", "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 }
fn_clm_storage_impl_insert_tokenization_-3120060625278092666
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/tokenization // Implementation of MockDb for TokenizationInterface async fn insert_tokenization( &self, _tokenization: hyperswitch_domain_models::toke...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 14, "total_crates": null }
fn_clm_storage_impl_update_tokenization_record_-3120060625278092666
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/tokenization // Implementation of MockDb for TokenizationInterface async fn update_tokenization_record( &self, tokenization_record: hyperswitch_domain...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 14, "total_crates": null }
fn_clm_storage_impl_new_4897890901229739837
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/mock_db // Inherent implementation for MockDb pub async fn new(redis: &RedisSettings) -> error_stack::Result<Self, StorageError> { Ok(Self { addre...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 14541, "total_crates": null }
fn_clm_storage_impl_get_resources_4897890901229739837
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/mock_db // Inherent implementation for MockDb pub async fn get_resources<D, R>( &self, state: &KeyManagerState, key_store: &MerchantKeyStore, ...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 57, "total_crates": null }
fn_clm_storage_impl_find_resource_4897890901229739837
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/mock_db // Inherent implementation for MockDb /// Returns an option of the resource if it exists pub async fn find_resource<D, R>( &self, state: &Ke...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 43, "total_crates": null }
fn_clm_storage_impl_update_resource_4897890901229739837
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/mock_db // Inherent implementation for MockDb pub async fn update_resource<D, R>( &self, state: &KeyManagerState, key_store: &MerchantKeyStore...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 41, "total_crates": null }
fn_clm_storage_impl_get_resource_4897890901229739837
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/mock_db // Inherent implementation for MockDb /// Throws errors when the requested resource is not found pub async fn get_resource<D, R>( &self, sta...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 24, "total_crates": null }
fn_clm_storage_impl_to_storage_model_3052669159042791025
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/callback_mapper // Implementation of CallbackMapper for DataModelExt fn to_storage_model(self) -> Self::StorageModel { DieselCallbackMapper { id: ...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 59, "total_crates": null }
fn_clm_storage_impl_from_storage_model_3052669159042791025
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/callback_mapper // Implementation of CallbackMapper for DataModelExt fn from_storage_model(storage_model: Self::StorageModel) -> Self { Self { id:...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 17, "total_crates": null }
fn_clm_storage_impl_insert_reverse_lookup_4819465489939682817
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/lookup // Implementation of KVRouterStore<T> for ReverseLookupInterface async fn insert_reverse_lookup( &self, new: DieselReverseLookupNew, st...
{ "crate": "storage_impl", "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_storage_impl_get_lookup_by_lookup_id_4819465489939682817
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/lookup // Implementation of KVRouterStore<T> for ReverseLookupInterface async fn get_lookup_by_lookup_id( &self, id: &str, storage_scheme: sto...
{ "crate": "storage_impl", "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_storage_impl_find_merchant_account_by_merchant_id_-1943693745474189190
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/merchant_account // Implementation of MockDb for MerchantAccountInterface async fn find_merchant_account_by_merchant_id( &self, state: &KeyManagerStat...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 164, "total_crates": null }
fn_clm_storage_impl_update_merchant_-1943693745474189190
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/merchant_account // Implementation of MockDb for MerchantAccountInterface async fn update_merchant( &self, state: &KeyManagerState, merchant_a...
{ "crate": "storage_impl", "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_storage_impl_list_multiple_merchant_accounts_-1943693745474189190
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/merchant_account // Implementation of MockDb for MerchantAccountInterface async fn list_multiple_merchant_accounts( &self, state: &KeyManagerState, ...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 60, "total_crates": null }
fn_clm_storage_impl_list_merchant_accounts_by_organization_id_-1943693745474189190
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/merchant_account // Implementation of MockDb for MerchantAccountInterface async fn list_merchant_accounts_by_organization_id( &self, state: &KeyManage...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 59, "total_crates": null }
fn_clm_storage_impl_update_specific_fields_in_merchant_-1943693745474189190
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/merchant_account // Implementation of MockDb for MerchantAccountInterface async fn update_specific_fields_in_merchant( &self, state: &KeyManagerState,...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 56, "total_crates": null }
fn_clm_storage_impl_get_card_info_-870014499016733926
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/cards_info // Implementation of MockDb for CardsInfoInterface async fn get_card_info(&self, card_iin: &str) -> CustomResult<Option<CardInfo>, StorageError> { ...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 49, "total_crates": null }
fn_clm_storage_impl_add_card_info_-870014499016733926
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/cards_info // Implementation of MockDb for CardsInfoInterface async fn add_card_info(&self, _data: CardInfo) -> CustomResult<CardInfo, StorageError> { Err(Sto...
{ "crate": "storage_impl", "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 }
fn_clm_storage_impl_update_card_info_-870014499016733926
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/cards_info // Implementation of MockDb for CardsInfoInterface async fn update_card_info( &self, _card_iin: String, _data: UpdateCardInfo, ...
{ "crate": "storage_impl", "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 }
fn_clm_storage_impl_find_payment_method_6646467183933345871
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/payment_method // Implementation of MockDb for PaymentMethodInterface async fn find_payment_method( &self, state: &KeyManagerState, key_store:...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 110, "total_crates": null }
fn_clm_storage_impl_update_payment_method_6646467183933345871
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/payment_method // Implementation of MockDb for PaymentMethodInterface async fn update_payment_method( &self, state: &KeyManagerState, key_stor...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 104, "total_crates": null }
fn_clm_storage_impl_delete_payment_method_by_merchant_id_payment_method_id_6646467183933345871
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/payment_method // Implementation of MockDb for PaymentMethodInterface async fn delete_payment_method_by_merchant_id_payment_method_id( &self, state: &...
{ "crate": "storage_impl", "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_storage_impl_insert_payment_method_6646467183933345871
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/payment_method // Implementation of MockDb for PaymentMethodInterface async fn insert_payment_method( &self, _state: &KeyManagerState, _key_st...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 36, "total_crates": null }
fn_clm_storage_impl_delete_payment_method_6646467183933345871
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/payment_method // Implementation of MockDb for PaymentMethodInterface async fn delete_payment_method( &self, state: &KeyManagerState, key_stor...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 32, "total_crates": null }
fn_clm_storage_impl_find_by_merchant_connector_account_merchant_id_merchant_connector_id_-6940246591373181949
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/merchant_connector_account // Implementation of MockDb for MerchantConnectorAccountInterface async fn find_by_merchant_connector_account_merchant_id_merchant_connecto...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 127, "total_crates": null }
fn_clm_storage_impl_find_merchant_connector_account_by_id_-6940246591373181949
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/merchant_connector_account // Implementation of MockDb for MerchantConnectorAccountInterface async fn find_merchant_connector_account_by_id( &self, st...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 99, "total_crates": null }
fn_clm_storage_impl_find_merchant_connector_account_by_merchant_id_and_disabled_list_-6940246591373181949
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/merchant_connector_account // Implementation of MockDb for MerchantConnectorAccountInterface async fn find_merchant_connector_account_by_merchant_id_and_disabled_list...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 75, "total_crates": null }
fn_clm_storage_impl_find_merchant_connector_account_by_profile_id_connector_name_-6940246591373181949
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/merchant_connector_account // Implementation of MockDb for MerchantConnectorAccountInterface async fn find_merchant_connector_account_by_profile_id_connector_name( ...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 62, "total_crates": null }
fn_clm_storage_impl_update_merchant_connector_account_-6940246591373181949
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/merchant_connector_account // Implementation of MockDb for MerchantConnectorAccountInterface async fn update_merchant_connector_account( &self, state:...
{ "crate": "storage_impl", "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_storage_impl_default_696962529222005614
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/config // Implementation of Database for Default fn default() -> Self { Self { username: String::new(), password: Secret::<String>::de...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 7713, "total_crates": null }
fn_clm_storage_impl_from_696962529222005614
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/config // Implementation of bb8::QueueStrategy for From<QueueStrategy> fn from(value: QueueStrategy) -> Self { match value { QueueStrategy::Fifo =...
{ "crate": "storage_impl", "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_storage_impl_get_master_key_696962529222005614
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/config // Implementation of MockDb for MasterKeyInterface fn get_master_key(&self) -> &[u8] { self.master_key() }
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 235, "total_crates": null }
fn_clm_storage_impl_get_password_696962529222005614
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/config // Implementation of Database for DbConnectionParams fn get_password(&self) -> Secret<String> { self.password.clone() }
{ "crate": "storage_impl", "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_storage_impl_get_username_696962529222005614
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/config // Implementation of Database for DbConnectionParams fn get_username(&self) -> &str { &self.username }
{ "crate": "storage_impl", "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_storage_impl_find_config_by_key_-7356834792137130700
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/configs // Implementation of MockDb for ConfigInterface async fn find_config_by_key(&self, key: &str) -> CustomResult<storage::Config, Self::Error> { let conf...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 108, "total_crates": null }
fn_clm_storage_impl_find_config_by_key_unwrap_or_-7356834792137130700
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/configs // Implementation of MockDb for ConfigInterface async fn find_config_by_key_unwrap_or( &self, key: &str, _default_config: Option<Strin...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 70, "total_crates": null }
fn_clm_storage_impl_update_config_by_key_-7356834792137130700
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/configs // Implementation of MockDb for ConfigInterface async fn update_config_by_key( &self, key: &str, config_update: storage::ConfigUpdate,...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 56, "total_crates": null }
fn_clm_storage_impl_insert_config_-7356834792137130700
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/configs // Implementation of MockDb for ConfigInterface async fn insert_config( &self, config: storage::ConfigNew, ) -> CustomResult<storage::Conf...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 41, "total_crates": null }
fn_clm_storage_impl_delete_config_by_key_-7356834792137130700
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/configs // Implementation of MockDb for ConfigInterface async fn delete_config_by_key(&self, key: &str) -> CustomResult<storage::Config, Self::Error> { let mu...
{ "crate": "storage_impl", "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_storage_impl_new_5187721350787147080
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/lib // Implementation of RouterStore<T> for DatabaseStore async fn new( config: Self::Config, tenant_config: &dyn TenantConfig, test_transacti...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 14463, "total_crates": null }
fn_clm_storage_impl_get_redis_conn_5187721350787147080
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/lib // Implementation of RouterStore<T> for RedisConnInterface fn get_redis_conn(&self) -> error_stack::Result<Arc<RedisConnectionPool>, RedisError> { self.ca...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 205, "total_crates": null }
fn_clm_storage_impl_diesel_error_to_data_error_5187721350787147080
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/lib pub(crate) fn diesel_error_to_data_error( diesel_error: diesel_models::errors::DatabaseError, ) -> StorageError { match diesel_error { diesel_mode...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 88, "total_crates": null }
fn_clm_storage_impl_from_config_5187721350787147080
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/lib // Inherent implementation for RouterStore<T> pub async fn from_config( db_conf: T::Config, tenant_config: &dyn TenantConfig, encryption_k...
{ "crate": "storage_impl", "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_storage_impl_find_resources_5187721350787147080
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/lib // Inherent implementation for RouterStore<T> pub async fn find_resources<D, R, M>( &self, state: &KeyManagerState, key_store: &MerchantKe...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 42, "total_crates": null }
fn_clm_storage_impl_find_by_merchant_id_subscription_id_4234542893022485427
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/subscription // Implementation of MockDb for SubscriptionInterface async fn find_by_merchant_id_subscription_id( &self, _state: &KeyManagerState, ...
{ "crate": "storage_impl", "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 }
fn_clm_storage_impl_insert_subscription_entry_4234542893022485427
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/subscription // Implementation of MockDb for SubscriptionInterface async fn insert_subscription_entry( &self, _state: &KeyManagerState, _key_s...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 14, "total_crates": null }
fn_clm_storage_impl_update_subscription_entry_4234542893022485427
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/subscription // Implementation of MockDb for SubscriptionInterface async fn update_subscription_entry( &self, _state: &KeyManagerState, _key_s...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 14, "total_crates": null }
fn_clm_storage_impl_find_business_profile_by_profile_id_2560645966337275080
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/business_profile // Implementation of MockDb for ProfileInterface async fn find_business_profile_by_profile_id( &self, key_manager_state: &KeyManagerS...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 179, "total_crates": null }
fn_clm_storage_impl_update_profile_by_profile_id_2560645966337275080
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/business_profile // Implementation of MockDb for ProfileInterface async fn update_profile_by_profile_id( &self, key_manager_state: &KeyManagerState, ...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 85, "total_crates": null }
fn_clm_storage_impl_list_profile_by_merchant_id_2560645966337275080
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/business_profile // Implementation of MockDb for ProfileInterface async fn list_profile_by_merchant_id( &self, key_manager_state: &KeyManagerState, ...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 62, "total_crates": null }
fn_clm_storage_impl_find_business_profile_by_merchant_id_profile_id_2560645966337275080
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/business_profile // Implementation of MockDb for ProfileInterface async fn find_business_profile_by_merchant_id_profile_id( &self, key_manager_state: ...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 59, "total_crates": null }
fn_clm_storage_impl_find_business_profile_by_profile_name_merchant_id_2560645966337275080
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/business_profile // Implementation of MockDb for ProfileInterface async fn find_business_profile_by_profile_name_merchant_id( &self, key_manager_state...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 45, "total_crates": null }
fn_clm_storage_impl_find_invoice_by_invoice_id_-5821899696627931632
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/invoice // Implementation of MockDb for InvoiceInterface async fn find_invoice_by_invoice_id( &self, _state: &KeyManagerState, _key_store: &Me...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 17, "total_crates": null }
fn_clm_storage_impl_find_invoice_by_subscription_id_connector_invoice_id_-5821899696627931632
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/invoice // Implementation of MockDb for InvoiceInterface async fn find_invoice_by_subscription_id_connector_invoice_id( &self, _state: &KeyManagerStat...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 17, "total_crates": null }
fn_clm_storage_impl_insert_invoice_entry_-5821899696627931632
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/invoice // Implementation of MockDb for InvoiceInterface async fn insert_invoice_entry( &self, _state: &KeyManagerState, _key_store: &Merchant...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 14, "total_crates": null }
fn_clm_storage_impl_update_invoice_entry_-5821899696627931632
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/invoice // Implementation of MockDb for InvoiceInterface async fn update_invoice_entry( &self, _state: &KeyManagerState, _key_store: &Merchant...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 14, "total_crates": null }
fn_clm_storage_impl_get_latest_invoice_for_subscription_-5821899696627931632
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/invoice // Implementation of MockDb for InvoiceInterface async fn get_latest_invoice_for_subscription( &self, _state: &KeyManagerState, _key_s...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 14, "total_crates": null }
fn_clm_storage_impl_from_-1583398927825692867
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/errors // Implementation of HealthCheckDBError for From<diesel::result::Error> fn from(error: diesel::result::Error) -> Self { match error { diese...
{ "crate": "storage_impl", "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_storage_impl_is_db_not_found_-1583398927825692867
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/errors // Inherent implementation for StorageError pub fn is_db_not_found(&self) -> bool { match self { Self::DatabaseError(err) => matches!(err.c...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 186, "total_crates": null }
fn_clm_storage_impl_is_db_unique_violation_-1583398927825692867
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/errors // Inherent implementation for StorageError pub fn is_db_unique_violation(&self) -> bool { match self { Self::DatabaseError(err) => { ...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 51, "total_crates": null }
fn_clm_storage_impl_to_redis_failed_response_-1583398927825692867
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/errors // Implementation of error_stack::Report<RedisError> for RedisErrorExt fn to_redis_failed_response(self, key: &str) -> error_stack::Report<StorageError> { ...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 41, "total_crates": null }
fn_clm_storage_impl_find_customer_by_customer_id_merchant_id_1670047021737222443
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/customers // Implementation of MockDb for domain::CustomerInterface async fn find_customer_by_customer_id_merchant_id( &self, _state: &KeyManagerState...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 59, "total_crates": null }
fn_clm_storage_impl_list_customers_by_merchant_id_with_count_1670047021737222443
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/customers // Implementation of MockDb for domain::CustomerInterface async fn list_customers_by_merchant_id_with_count( &self, state: &KeyManagerState,...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 54, "total_crates": null }
fn_clm_storage_impl_list_customers_by_merchant_id_1670047021737222443
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/customers // Implementation of MockDb for domain::CustomerInterface async fn list_customers_by_merchant_id( &self, state: &KeyManagerState, me...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 51, "total_crates": null }
fn_clm_storage_impl_find_customer_by_global_id_1670047021737222443
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/customers // Implementation of MockDb for domain::CustomerInterface async fn find_customer_by_global_id( &self, _state: &KeyManagerState, _id:...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 50, "total_crates": null }
fn_clm_storage_impl_insert_customer_1670047021737222443
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/customers // Implementation of MockDb for domain::CustomerInterface async fn insert_customer( &self, customer_data: domain::Customer, state: &...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 43, "total_crates": null }
fn_clm_storage_impl_new_-1813437614312904270
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/kv_router_store // Implementation of KVRouterStore<T> for DatabaseStore async fn new( config: Self::Config, tenant_config: &dyn TenantConfig, ...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 14455, "total_crates": null }
fn_clm_storage_impl_get_redis_conn_-1813437614312904270
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/kv_router_store // Implementation of KVRouterStore<T> for RedisConnInterface fn get_redis_conn(&self) -> error_stack::Result<Arc<RedisConnectionPool>, RedisError> { ...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 205, "total_crates": null }
fn_clm_storage_impl_insert_resource_-1813437614312904270
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/kv_router_store // Inherent implementation for KVRouterStore<T> pub async fn insert_resource<D, R, M>( &self, state: &KeyManagerState, key_sto...
{ "crate": "storage_impl", "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_storage_impl_update_resource_-1813437614312904270
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/kv_router_store // Inherent implementation for KVRouterStore<T> pub async fn update_resource<D, R, M>( &self, state: &KeyManagerState, key_sto...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 67, "total_crates": null }
fn_clm_storage_impl_filter_resources_-1813437614312904270
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/kv_router_store // Inherent implementation for KVRouterStore<T> pub async fn filter_resources<D, R, M>( &self, state: &KeyManagerState, key_st...
{ "crate": "storage_impl", "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_storage_impl_get_merchant_key_store_by_merchant_id_4266589853430521646
clm
function
// Repository: hyperswitch // Crate: storage_impl // Purpose: Storage backend implementations for database operations // Module: crates/storage_impl/src/merchant_key_store // Implementation of MockDb for MerchantKeyStoreInterface async fn get_merchant_key_store_by_merchant_id( &self, state: &KeyManager...
{ "crate": "storage_impl", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 243, "total_crates": null }