id stringlengths 11 116 | type stringclasses 1
value | granularity stringclasses 4
values | content stringlengths 16 477k | metadata dict |
|---|---|---|---|---|
fn_clm_hyperswitch_domain_models_fmt_4408191244781062600 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/subscription
// Implementation of SubscriptionStatus for std::fmt::Display
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::R... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_from_9065478082691158868 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/address
// Implementation of api_models::payments::PhoneDetails for From<PhoneDetails>
fn from(phone: PhoneDetails) -> Self {
Se... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_unify_address_details_9065478082691158868 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/address
// Inherent implementation for AddressDetails
/// Unify the address details, giving priority to `self` when details are present ... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 85,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_unify_address_9065478082691158868 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/address
// Inherent implementation for Address
/// Unify the address, giving priority to `self` when details are present in both
pub f... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 64,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_get_optional_full_name_9065478082691158868 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/address
// Inherent implementation for AddressDetails
pub fn get_optional_full_name(&self) -> Option<Secret<String>> {
match (se... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 62,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_foreign_try_from_-4955474073845608074 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/bulk_tokenization
// Implementation of payments_api::CustomerDetails for ForeignTryFrom<CustomerDetails>
fn foreign_try_from(customer: C... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_foreign_from_-4955474073845608074 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/bulk_tokenization
// Implementation of PhoneDetails for ForeignFrom<payments_api::PhoneDetails>
fn foreign_from(req: payments_api::Phone... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_from_5722769522255865883 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/type_encryption
// Implementation of EncryptedJsonType<T> for From<T>
fn from(value: T) -> Self {
Self(value)
}
| {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2602,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_into_inner_5722769522255865883 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/type_encryption
// Inherent implementation for EncryptedJsonType<T>
pub fn into_inner(self) -> T {
self.0
}
| {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2061,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_crypto_operation_5722769522255865883 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/type_encryption
pub async fn crypto_operation<T: Clone + Send, S: masking::Strategy<T>>(
state: &KeyManagerState,
table_name: &s... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 217,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_async_lift_5722769522255865883 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/type_encryption
// Implementation of V for AsyncLift<U>
async fn async_lift<Func, F, E, W>(self, func: Func) -> Self::OtherWrapper<W, E>... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_inner_5722769522255865883 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/type_encryption
// Inherent implementation for EncryptedJsonType<T>
pub fn inner(&self) -> &T {
&self.0
}
| {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_new_-311629645661053282 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_data
// Inherent implementation for ConnectorResponseData
pub fn new(
additional_payment_method_data: Option<AdditionalPa... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_default_-311629645661053282 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_data
// Implementation of ErrorResponse for Default
fn default() -> Self {
Self {
code: "HE_00".to_string(),
... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 7709,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_try_from_-311629645661053282 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_data
// Implementation of common_payment_types::ApplePayPredecryptData for TryFrom<ApplePayPredecryptDataInternal>
fn try_from(da... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2669,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_from_-311629645661053282 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_data
// Implementation of common_payment_types::ApplePayCryptogramData for From<ApplePayCryptogramDataInternal>
fn from(payment_d... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_get_masked_keys_-311629645661053282 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_data
// Implementation of None for ConnectorAuthType
pub fn get_masked_keys(&self) -> Self {
match self {
Sel... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 92,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_try_from_-6472051039913614710 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/business_profile
// Implementation of ExternalVaultDetails for TryFrom<(Option<bool>, Option<ExternalVaultConnectorDetails>)>
fn try_fro... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2663,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_from_-6472051039913614710 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/business_profile
// Implementation of ProfileUpdateInternal for From<ProfileUpdate>
fn from(profile_update: ProfileUpdate) -> Self {
... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2608,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_get_id_-6472051039913614710 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/business_profile
// Inherent implementation for Profile
pub fn get_id(&self) -> &common_utils::id_type::ProfileId {
&self.id
... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2472,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_convert_-6472051039913614710 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/business_profile
// Implementation of Profile for Conversion
async fn convert(self) -> CustomResult<Self::DstType, ValidationError> {
... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 368,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_convert_back_-6472051039913614710 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/business_profile
// Implementation of Profile for Conversion
async fn convert_back(
state: &keymanager::KeyManagerState,
... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 140,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_new_-2900786723891564735 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/invoice
// Inherent implementation for InvoiceUpdate
pub fn new(
payment_method_id: Option<String>,
status: Option<commo... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_from_-2900786723891564735 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/invoice
// Implementation of InvoiceUpdate for From<InvoiceUpdateRequest>
fn from(request: InvoiceUpdateRequest) -> Self {
let n... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_convert_-2900786723891564735 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/invoice
// Implementation of InvoiceUpdate for super::behaviour::Conversion
async fn convert(self) -> CustomResult<Self::DstType, Valida... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 362,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_convert_back_-2900786723891564735 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/invoice
// Implementation of InvoiceUpdate for super::behaviour::Conversion
async fn convert_back(
_state: &KeyManagerState,
... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_update_payment_and_status_-2900786723891564735 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/invoice
// Inherent implementation for InvoiceUpdateRequest
/// Create a combined payment and status update request
pub fn update_paym... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_from_-4052532423884865691 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/customer
// Implementation of query::CustomerListConstraints for From<CustomerListConstraints>
fn from(value: CustomerListConstraints) -... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2604,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_get_id_-4052532423884865691 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/customer
// Implementation of None for Customer
pub fn get_id(&self) -> &id_type::GlobalCustomerId {
&self.id
}
| {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2472,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_convert_-4052532423884865691 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/customer
// Implementation of Customer for behaviour::Conversion
async fn convert(self) -> CustomResult<Self::DstType, ValidationError> ... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 370,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_convert_back_-4052532423884865691 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/customer
// Implementation of Customer for behaviour::Conversion
async fn convert_back(
state: &KeyManagerState,
item: S... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 150,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_get_connector_customer_id_-4052532423884865691 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/customer
// Implementation of None for Customer
pub fn get_connector_customer_id(
&self,
merchant_connector_account: &Me... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 64,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_new_-5204431252008778834 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_response_types
// Inherent implementation for ConnectorCustomerResponseData
pub fn new(
connector_customer_id: String,
... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_default_-5204431252008778834 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_response_types
// Implementation of VaultResponseData for Default
fn default() -> Self {
Self::ExternalVaultInsertRespons... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 7707,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_from_-5204431252008778834 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_response_types
// Implementation of RedirectForm for From<diesel_models::payment_attempt::RedirectForm>
fn from(redirect_form: di... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2602,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_get_connector_transaction_id_-5204431252008778834 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_response_types
// Inherent implementation for PaymentsResponseData
pub fn get_connector_transaction_id(
&self,
) -> R... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 1273,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_add_-5204431252008778834 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_response_types
// Implementation of SupportedPaymentMethods for SupportedPaymentMethodsExt
fn add(
&mut self,
pay... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 699,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_try_from_-8958099229487661895 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/gsm
// Implementation of GatewayStatusMap for TryFrom<diesel_models::gsm::GatewayStatusMap>
fn try_from(item: diesel_models::gsm::Gatewa... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2669,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_from_-6884595852533252866 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/revenue_recovery
// Implementation of RecoveryPaymentAttempt for From<&payments::payment_attempt::PaymentAttempt>
fn from(payment_attemp... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2624,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_get_attempt_triggered_by_-6884595852533252866 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/revenue_recovery
// Inherent implementation for RecoveryPaymentAttempt
pub fn get_attempt_triggered_by(&self) -> Option<common_enums::Tr... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 29,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_try_from_-5854450698482158634 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payment_method_data
// Implementation of Card for TryFrom<(
cards::CardNumber,
Option<&CardToken>,
Option<payment... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2689,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_from_-5854450698482158634 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payment_method_data
// Implementation of Card for From<(
payment_methods::CardDetail,
Option<&CardToken>,
Option<... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2624,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_get_payment_method_type_-5854450698482158634 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payment_method_data
// Implementation of MobilePaymentData for GetPaymentMethodType
fn get_payment_method_type(&self) -> api_enums::Paym... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 119,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_get_additional_payout_method_data_-5854450698482158634 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payment_method_data
// Implementation of None for PaymentMethodsData
pub fn get_additional_payout_method_data(
&self,
) -> O... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_get_issuer_country_alpha2_-5854450698482158634 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payment_method_data
// Inherent implementation for CardDetailsPaymentMethod
pub fn get_issuer_country_alpha2(self) -> Option<common_enum... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 33,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_convert_-5279669172407207645 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/merchant_key_store
// Implementation of MerchantKeyStore for super::behaviour::Conversion
async fn convert(self) -> CustomResult<Self::D... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 364,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_convert_back_-5279669172407207645 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/merchant_key_store
// Implementation of MerchantKeyStore for super::behaviour::Conversion
async fn convert_back(
state: &KeyMana... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 122,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_construct_new_-5279669172407207645 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/merchant_key_store
// Implementation of MerchantKeyStore for super::behaviour::Conversion
async fn construct_new(self) -> CustomResult<S... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 18,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_from_7275414759979710700 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/routing
// Implementation of PaymentRoutingInfoSerde for From<PaymentRoutingInfo>
fn from(value: PaymentRoutingInfo) -> Self {
S... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2604,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_from_-4364040930842039770 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/mandates
// Implementation of diesel_models::PaymentsMandateReferenceRecord for From<PaymentsMandateReferenceRecord>
fn from(value: Paym... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_get_metadata_-4364040930842039770 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/mandates
// Inherent implementation for MandateAmountData
pub fn get_metadata(&self) -> Option<pii::SecretSerdeValue> {
self.met... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 113,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_get_mandate_details_value_-4364040930842039770 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/mandates
// Implementation of None for CommonMandateReference
pub fn get_mandate_details_value(&self) -> CustomResult<serde_json::Value,... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_deref_-4364040930842039770 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/mandates
// Implementation of PaymentsTokenReference for std::ops::Deref
fn deref(&self) -> &Self::Target {
&self.0
}
| {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_insert_payment_token_reference_record_-4364040930842039770 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/mandates
// Implementation of None for CommonMandateReference
/// Insert a new payment token reference for the given connector_id
pub ... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 33,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_convert_-6749550008526123562 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/behaviour
// Implementation of T for ReverseConversion<U>
async fn convert(
self,
state: &KeyManagerState,
key: ... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 364,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_fmt_-3058639404335295690 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/api
// Implementation of GenericLinksData for Display
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_get_json_body_-3058639404335295690 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/api
// Inherent implementation for ApplicationResponse<R>
pub fn get_json_body(
self,
) -> common_utils::errors::CustomResul... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_get_api_event_type_-3058639404335295690 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/api
// Implementation of ApplicationResponse<T> for ApiEventMetric
fn get_api_event_type(&self) -> Option<ApiEventsType> {
match... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_new_3459423804188263305 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/relay
// Inherent implementation for Relay
pub fn new(
relay_request: &api_models::relay::RelayRequest,
merchant_id: &id... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 14483,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_from_3459423804188263305 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/relay
// Implementation of RelayUpdateInternal for From<RelayUpdate>
fn from(value: RelayUpdate) -> Self {
match value {
... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2604,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_convert_3459423804188263305 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/relay
// Implementation of Relay for super::behaviour::Conversion
async fn convert(self) -> CustomResult<Self::DstType, ValidationError>... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 374,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_convert_back_3459423804188263305 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/relay
// Implementation of Relay for super::behaviour::Conversion
async fn convert_back(
_state: &keymanager::KeyManagerState,
... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 116,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_construct_new_3459423804188263305 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/relay
// Implementation of Relay for super::behaviour::Conversion
async fn construct_new(self) -> CustomResult<Self::NewDstType, Validat... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_try_from_2375544413912889798 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/vault
// Implementation of PaymentMethodVaultingData for TryFrom<payment_methods::PaymentMethodCreateData>
fn try_from(item: payment_met... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2663,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_get_payment_methods_data_2375544413912889798 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/vault
// Inherent implementation for PaymentMethodVaultingData
pub fn get_payment_methods_data(&self) -> payment_method_data::PaymentMet... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 50,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_get_card_2375544413912889798 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/vault
// Inherent implementation for PaymentMethodVaultingData
pub fn get_card(&self) -> Option<&payment_methods::CardDetail> {
... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_get_vaulting_data_key_2375544413912889798 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/vault
// Implementation of PaymentMethodVaultingData for VaultingDataInterface
fn get_vaulting_data_key(&self) -> String {
match... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_new_-6528771128637277340 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payments/payment_attempt
// Inherent implementation for NetAmount
pub fn new(
order_amount: MinorUnit,
shipping_cost: Op... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_from_-6528771128637277340 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payments/payment_attempt
// Implementation of PaymentAttemptFeatureMetadata for From<DieselPaymentAttemptFeatureMetadata>
fn from(item: ... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2602,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_get_id_-6528771128637277340 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payments/payment_attempt
// Inherent implementation for PaymentAttempt
pub fn get_id(&self) -> &id_type::GlobalAttemptId {
&self... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2472,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_convert_-6528771128637277340 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payments/payment_attempt
// Implementation of PaymentAttempt for behaviour::Conversion
async fn convert(self) -> CustomResult<Self::DstT... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_get_total_amount_-6528771128637277340 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payments/payment_attempt
// Inherent implementation for PaymentAttempt
pub fn get_total_amount(&self) -> MinorUnit {
self.net_am... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 182,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_try_from_-5311962585219680349 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payments/payment_intent
// Implementation of PaymentIntentFetchConstraints for TryFrom<(T, Option<Vec<id_type::ProfileId>>)>
fn try_from... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2677,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_from_-5311962585219680349 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payments/payment_intent
// Implementation of PaymentIntentFetchConstraints for From<api_models::payments::PaymentListFilterConstraints>
... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2614,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_convert_-5311962585219680349 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payments/payment_intent
// Implementation of PaymentIntent for behaviour::Conversion
async fn convert(self) -> CustomResult<Self::DstTyp... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 374,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_convert_back_-5311962585219680349 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payments/payment_intent
// Implementation of PaymentIntent for behaviour::Conversion
async fn convert_back(
state: &KeyManagerSt... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 138,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_get_profile_id_-5311962585219680349 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payments/payment_intent
// Inherent implementation for PaymentIntentFetchConstraints
pub fn get_profile_id(&self) -> Option<id_type::Pro... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 29,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_new_-7430770733329085758 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_request_types/subscriptions
// Inherent implementation for GetSubscriptionPlansRequest
pub fn new(limit: Option<u32>, offset: Opt... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_default_-7430770733329085758 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_request_types/subscriptions
// Implementation of GetSubscriptionPlansRequest for Default
fn default() -> Self {
Self {
... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_get_api_event_type_-992298350805862928 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_request_types/fraud_check
// Implementation of FrmFulfillmentRequest for ApiEventMetric
fn get_api_event_type(&self) -> Option<Ap... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_try_from_3758175834811391613 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_request_types/authentication
// Implementation of PreAuthenticationData for TryFrom<&diesel_models::authentication::Authentication... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2681,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_get_acs_url_3758175834811391613 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_request_types/authentication
// Inherent implementation for AuthNFlowType
pub fn get_acs_url(&self) -> Option<String> {
i... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_get_challenge_request_3758175834811391613 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_request_types/authentication
// Inherent implementation for AuthNFlowType
pub fn get_challenge_request(&self) -> Option<String> {... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_get_challenge_request_key_3758175834811391613 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_request_types/authentication
// Inherent implementation for AuthNFlowType
pub fn get_challenge_request_key(&self) -> Option<Strin... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_get_acs_reference_number_3758175834811391613 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_request_types/authentication
// Inherent implementation for AuthNFlowType
pub fn get_acs_reference_number(&self) -> Option<String... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_from_-7346100938449076941 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_response_types/subscriptions
// Implementation of api_models::subscription::SubscriptionLineItem for From<SubscriptionLineItem>
f... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_get_api_event_type_-4153914120491836440 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_response_types/fraud_check
// Implementation of FraudCheckResponseData for common_utils::events::ApiEventMetric
fn get_api_event_... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_new_-889951594098861552 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_flow_types/webhooks
// Inherent implementation for ConnectorNetworkTxnId
pub fn new(txn_id: masking::Secret<String>) -> Self {
... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_get_id_-889951594098861552 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/router_flow_types/webhooks
// Inherent implementation for ConnectorNetworkTxnId
pub fn get_id(&self) -> &masking::Secret<String> {
... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2472,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_switch_4637932160390391761 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/errors/api_error_response
// Implementation of ApiErrorResponse for ErrorSwitch<api_models::errors::types::ApiErrorResponse>
fn switch(&... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 3634,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_from_4637932160390391761 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/errors/api_error_response
// Implementation of router_data::ErrorResponse for From<ApiErrorResponse>
fn from(error: ApiErrorResponse) ->... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2604,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_fmt_4637932160390391761 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/errors/api_error_response
// Implementation of ApiErrorResponse for ::core::fmt::Display
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) ... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_status_code_4637932160390391761 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/errors/api_error_response
// Implementation of ApiErrorResponse for actix_web::ResponseError
fn status_code(&self) -> StatusCode {
... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_error_response_4637932160390391761 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/errors/api_error_response
// Implementation of ApiErrorResponse for actix_web::ResponseError
fn error_response(&self) -> actix_web::Http... | {
"crate": "hyperswitch_domain_models",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 24,
"total_crates": null
} |
fn_clm_hyperswitch_domain_models_from_-6190723112988813948 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payouts/payouts
// Implementation of PayoutsUpdateInternal for From<PayoutsUpdate>
fn from(payout_update: PayoutsUpdate) -> Self {
... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_domain_models_from_7350851342904321019 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_domain_models
// Purpose: Business logic data models bridging API and database layers
// Module: crates/hyperswitch_domain_models/src/payouts/payout_attempt
// Implementation of PayoutAttemptUpdateInternal for From<PayoutAttemptUpdate>
fn from(payout_update: PayoutAttem... | {
"crate": "hyperswitch_domain_models",
"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_hyperswitch_connectors_get_external_account_account_holder_type_2800353374662512016 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_connectors
// Purpose: Payment provider integrations (Stripe, PayPal, etc.)
// Module: crates/hyperswitch_connectors/src/types
// Implementation of api_models::payouts::PayoutIndividualDetails for PayoutIndividualDetailsExt
fn get_external_account_account_holder_type(&s... | {
"crate": "hyperswitch_connectors",
"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_hyperswitch_connectors_get_flow_type_4209139860788675543 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_connectors
// Purpose: Payment provider integrations (Stripe, PayPal, etc.)
// Module: crates/hyperswitch_connectors/src/default_implementations
// Implementation of connectors::DummyConnector<T> for ConnectorRedirectResponse
fn get_flow_type(
&self,
_qu... | {
"crate": "hyperswitch_connectors",
"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_hyperswitch_connectors_try_from_2063945602217666669 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_connectors
// Purpose: Payment provider integrations (Stripe, PayPal, etc.)
// Module: crates/hyperswitch_connectors/src/utils
// Implementation of GooglePayWalletData for TryFrom<payment_method_data::GooglePayWalletData>
fn try_from(data: payment_method_data::GooglePay... | {
"crate": "hyperswitch_connectors",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2661,
"total_crates": null
} |
fn_clm_hyperswitch_connectors_get_connector_transaction_id_2063945602217666669 | clm | function | // Repository: hyperswitch
// Crate: hyperswitch_connectors
// Purpose: Payment provider integrations (Stripe, PayPal, etc.)
// Module: crates/hyperswitch_connectors/src/utils
// Implementation of PaymentsSyncData for PaymentsSyncRequestData
fn get_connector_transaction_id(&self) -> CustomResult<String, errors::Connec... | {
"crate": "hyperswitch_connectors",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 1265,
"total_crates": null
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.