id
stringlengths
11
116
type
stringclasses
1 value
granularity
stringclasses
4 values
content
stringlengths
16
477k
metadata
dict
fn_clm_cards_try_from_726952742254511174
clm
function
// Repository: hyperswitch // Crate: cards // Module: crates/cards/src/lib // Implementation of CardExpiration for TryFrom<(u8, u16)> fn try_from(items: (u8, u16)) -> errors::CustomResult<Self, errors::ValidationError> { let month = CardExpirationMonth::try_from(items.0)?; let year = CardExpirationYear...
{ "crate": "cards", "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_cards_deserialize_726952742254511174
clm
function
// Repository: hyperswitch // Crate: cards // Module: crates/cards/src/lib // Implementation of CardExpirationYear for Deserialize<'de> fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where D: serde::Deserializer<'de>, { let year = u16::deserialize(deserializer)?; year.try_...
{ "crate": "cards", "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_cards_is_expired_726952742254511174
clm
function
// Repository: hyperswitch // Crate: cards // Module: crates/cards/src/lib // Inherent implementation for CardExpiration pub fn is_expired(&self) -> Result<bool, error_stack::Report<errors::ValidationError>> { let current_datetime_utc = date_time::now(); let expiration_month = time::Month::try_from(*s...
{ "crate": "cards", "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_cards_deref_726952742254511174
clm
function
// Repository: hyperswitch // Crate: cards // Module: crates/cards/src/lib // Implementation of CardExpirationYear for Deref fn deref(&self) -> &Self::Target { &self.0 }
{ "crate": "cards", "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_cards_two_digits_726952742254511174
clm
function
// Repository: hyperswitch // Crate: cards // Module: crates/cards/src/lib // Inherent implementation for CardExpirationYear pub fn two_digits(&self) -> String { let year = self.peek() % 100; year.to_string() }
{ "crate": "cards", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 25, "total_crates": null }
fn_clm_cards_try_from_-9200354715722346235
clm
function
// Repository: hyperswitch // Crate: cards // Module: crates/cards/src/validate // Implementation of NetworkToken for TryFrom<String> fn try_from(value: String) -> Result<Self, Self::Error> { Self::from_str(&value) }
{ "crate": "cards", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 2659, "total_crates": null }
fn_clm_cards_from_str_-9200354715722346235
clm
function
// Repository: hyperswitch // Crate: cards // Module: crates/cards/src/validate // Implementation of NetworkToken for FromStr fn from_str(network_token: &str) -> Result<Self, Self::Err> { // Valid test cards for threedsecureio let valid_test_network_tokens = vec![ "4000100511112003", ...
{ "crate": "cards", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 795, "total_crates": null }
fn_clm_cards_deserialize_-9200354715722346235
clm
function
// Repository: hyperswitch // Crate: cards // Module: crates/cards/src/validate // Implementation of NetworkToken for Deserialize<'de> fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error> { let s = String::deserialize(d)?; Self::from_str(&s).map_err(serde::de::Error::custom) }
{ "crate": "cards", "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_cards_is_cobadged_card_-9200354715722346235
clm
function
// Repository: hyperswitch // Crate: cards // Module: crates/cards/src/validate // Implementation of None for CardNumber pub fn is_cobadged_card(&self) -> Result<bool, error_stack::Report<ValidationError>> { /// Regex to identify card networks static CARD_NETWORK_REGEX: LazyLock<HashMap<&str, Result<Re...
{ "crate": "cards", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 87, "total_crates": null }
fn_clm_cards_get_last4_-9200354715722346235
clm
function
// Repository: hyperswitch // Crate: cards // Module: crates/cards/src/validate // Inherent implementation for NetworkToken pub fn get_last4(&self) -> String { self.0 .peek() .chars() .rev() .take(4) .collect::<String>() .chars() ...
{ "crate": "cards", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 66, "total_crates": null }
fn_clm_currency_conversion_new_-5292738432462609255
clm
function
// Repository: hyperswitch // Crate: currency_conversion // Module: crates/currency_conversion/src/types // Inherent implementation for ExchangeRates pub fn new(base_currency: Currency, conversion: HashMap<Currency, CurrencyFactors>) -> Self { Self { base_currency, conversion, }...
{ "crate": "currency_conversion", "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_currency_conversion_forward_conversion_-5292738432462609255
clm
function
// Repository: hyperswitch // Crate: currency_conversion // Module: crates/currency_conversion/src/types // Inherent implementation for ExchangeRates /// The flow here is from_currency -> base_currency -> to_currency /// from to_currency -> base currency pub fn forward_conversion( &self, amt: Decima...
{ "crate": "currency_conversion", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 36, "total_crates": null }
fn_clm_currency_conversion_backward_conversion_-5292738432462609255
clm
function
// Repository: hyperswitch // Crate: currency_conversion // Module: crates/currency_conversion/src/types // Inherent implementation for ExchangeRates /// from base_currency -> to_currency pub fn backward_conversion( &self, amt: Decimal, to_currency: Currency, ) -> Result<Decimal, Currency...
{ "crate": "currency_conversion", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 36, "total_crates": null }
fn_clm_currency_conversion_currency_match_-5292738432462609255
clm
function
// Repository: hyperswitch // Crate: currency_conversion // Module: crates/currency_conversion/src/types pub fn currency_match(currency: Currency) -> &'static iso::Currency { match currency { Currency::AED => iso::AED, Currency::AFN => iso::AFN, Currency::ALL => iso::ALL, Currency::...
{ "crate": "currency_conversion", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 13, "total_crates": null }
fn_clm_currency_conversion_convert_-1808507504419892639
clm
function
// Repository: hyperswitch // Crate: currency_conversion // Module: crates/currency_conversion/src/conversion pub fn convert( ex_rates: &ExchangeRates, from_currency: Currency, to_currency: Currency, amount: i64, ) -> Result<Decimal, CurrencyConversionError> { let money_minor = Money::from_minor(am...
{ "crate": "currency_conversion", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 382, "total_crates": null }
fn_clm_currency_conversion_currency_to_currency_conversion_-1808507504419892639
clm
function
// Repository: hyperswitch // Crate: currency_conversion // Module: crates/currency_conversion/src/conversion fn currency_to_currency_conversion() { use super::*; let mut conversion: HashMap<Currency, CurrencyFactors> = HashMap::new(); let inr_conversion_rates = CurrencyFactors::new...
{ "crate": "currency_conversion", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 22, "total_crates": null }
fn_clm_currency_conversion_currency_to_base_conversion_-1808507504419892639
clm
function
// Repository: hyperswitch // Crate: currency_conversion // Module: crates/currency_conversion/src/conversion fn currency_to_base_conversion() { use super::*; let mut conversion: HashMap<Currency, CurrencyFactors> = HashMap::new(); let inr_conversion_rates = CurrencyFactors::new(Dec...
{ "crate": "currency_conversion", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 22, "total_crates": null }
fn_clm_currency_conversion_base_to_currency_conversion_-1808507504419892639
clm
function
// Repository: hyperswitch // Crate: currency_conversion // Module: crates/currency_conversion/src/conversion fn base_to_currency_conversion() { use super::*; let mut conversion: HashMap<Currency, CurrencyFactors> = HashMap::new(); let inr_conversion_rates = CurrencyFactors::new(Dec...
{ "crate": "currency_conversion", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 22, "total_crates": null }
fn_clm_diesel_models_from_6206906305210262429
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/dispute // Implementation of DisputeUpdateInternal for From<DisputeUpdate> fn from(merchant_account_update: DisputeUpdate) -> Self { match merchant_acco...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 2606, "total_crates": null }
fn_clm_diesel_models_execute_-6747035942392026091
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/kv // Inherent implementation for DBOperation pub async fn execute(self, conn: &PgPooledConn) -> crate::StorageResult<DBResult> { Ok(match self { ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 244, "total_crates": null }
fn_clm_diesel_models_table_-6747035942392026091
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/kv // Inherent implementation for DBOperation pub fn table<'a>(&self) -> &'a str { match self { Self::Insert { insertable } => match **inser...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 180, "total_crates": null }
fn_clm_diesel_models_to_field_value_pairs_-6747035942392026091
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/kv // Inherent implementation for TypedSql pub fn to_field_value_pairs( &self, request_id: String, global_id: String, ) -> crate::St...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 23, "total_crates": null }
fn_clm_diesel_models_operation_-6747035942392026091
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/kv // Inherent implementation for DBOperation pub fn operation<'a>(&self) -> &'a str { match self { Self::Insert { .. } => "insert", ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 21, "total_crates": null }
fn_clm_diesel_models_from_9169240299650421155
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/role // Implementation of RoleUpdateInternal for From<RoleUpdate> fn from(value: RoleUpdate) -> Self { match value { RoleUpdate::UpdateDetai...
{ "crate": "diesel_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_diesel_models_get_payment_method_type_3552565448639338181
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/types // Implementation of None for FeatureMetadata pub fn get_payment_method_type(&self) -> Option<common_enums::PaymentMethod> { self.payment_revenue_...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 133, "total_crates": null }
fn_clm_diesel_models_get_payment_method_sub_type_3552565448639338181
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/types // Implementation of None for FeatureMetadata pub fn get_payment_method_sub_type(&self) -> Option<common_enums::PaymentMethodType> { self.payment_...
{ "crate": "diesel_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_diesel_models_get_billing_merchant_connector_account_id_3552565448639338181
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/types // Implementation of None for FeatureMetadata pub fn get_billing_merchant_connector_account_id( &self, ) -> Option<id_type::MerchantConnectorA...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 27, "total_crates": null }
fn_clm_diesel_models_from_-3512370202979930317
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/payment_attempt // Implementation of PaymentAttemptUpdateInternal for From<PaymentAttemptUpdate> fn from(payment_attempt_update: PaymentAttemptUpdate) -> Self {...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 2706, "total_crates": null }
fn_clm_diesel_models_apply_changeset_-3512370202979930317
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/payment_attempt // Inherent implementation for PaymentAttemptUpdate pub fn apply_changeset(self, source: PaymentAttempt) -> PaymentAttempt { let Payment...
{ "crate": "diesel_models", "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_diesel_models_populate_derived_fields_-3512370202979930317
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/payment_attempt // Inherent implementation for PaymentAttemptUpdateInternal pub fn populate_derived_fields(self, source: &PaymentAttempt) -> Self { let ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 73, "total_crates": null }
fn_clm_diesel_models_get_connector_mandate_request_reference_id_-3512370202979930317
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/payment_attempt // Inherent implementation for ConnectorMandateReferenceId pub fn get_connector_mandate_request_reference_id(&self) -> Option<String> { ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 44, "total_crates": null }
fn_clm_diesel_models_get_optional_connector_transaction_id_-3512370202979930317
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/payment_attempt // Implementation of PaymentAttempt for ConnectorTransactionIdTrait fn get_optional_connector_transaction_id(&self) -> Option<&String> { ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 42, "total_crates": null }
fn_clm_diesel_models_new_7752205783267115411
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/organization // Inherent implementation for OrganizationNew pub fn new( id: id_type::OrganizationId, organization_type: common_enums::Organizati...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 14467, "total_crates": null }
fn_clm_diesel_models_from_7752205783267115411
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/organization // Implementation of OrganizationUpdateInternal for From<OrganizationUpdate> fn from(value: OrganizationUpdate) -> Self { match value { ...
{ "crate": "diesel_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_diesel_models_get_organization_id_7752205783267115411
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/organization // Implementation of OrganizationNew for OrganizationBridge fn get_organization_id(&self) -> id_type::OrganizationId { self.id.clone() ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 52, "total_crates": null }
fn_clm_diesel_models_get_organization_name_7752205783267115411
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/organization // Implementation of OrganizationNew for OrganizationBridge fn get_organization_name(&self) -> Option<String> { self.organization_name.clon...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 25, "total_crates": null }
fn_clm_diesel_models_get_organization_type_7752205783267115411
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/organization // Inherent implementation for Organization pub fn get_organization_type(&self) -> common_enums::OrganizationType { self.organization_type....
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 20, "total_crates": null }
fn_clm_diesel_models_from_-2466533097134574042
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/merchant_account // Implementation of MerchantAccount for From<MerchantAccountSetter> fn from(item: MerchantAccountSetter) -> Self { Self { ...
{ "crate": "diesel_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_diesel_models_get_id_-2466533097134574042
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/merchant_account // Inherent implementation for MerchantAccount pub fn get_id(&self) -> &common_utils::id_type::MerchantId { &self.id }
{ "crate": "diesel_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_diesel_models_apply_changeset_-2466533097134574042
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/merchant_account // Inherent implementation for MerchantAccountUpdateInternal pub fn apply_changeset(self, source: MerchantAccount) -> MerchantAccount { ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 106, "total_crates": null }
fn_clm_diesel_models_default_-571444643424840521
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/payouts // Implementation of PayoutsUpdateInternal for Default fn default() -> Self { Self { amount: None, destination_currency:...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 7705, "total_crates": null }
fn_clm_diesel_models_from_-571444643424840521
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/payouts // Implementation of PayoutsUpdateInternal for From<PayoutsUpdate> fn from(payout_update: PayoutsUpdate) -> Self { match payout_update { ...
{ "crate": "diesel_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_diesel_models_apply_changeset_-571444643424840521
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/payouts // Inherent implementation for PayoutsUpdate pub fn apply_changeset(self, source: Payouts) -> Payouts { let PayoutsUpdateInternal { ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 90, "total_crates": null }
fn_clm_diesel_models_from_-6368932586777708332
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/fraud_check // Implementation of FraudCheckUpdateInternal for From<FraudCheckUpdate> fn from(fraud_check_update: FraudCheckUpdate) -> Self { match fraud...
{ "crate": "diesel_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_diesel_models_from_-4211779944055406365
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/payment_method // Implementation of CommonMandateReference for From<PaymentsMandateReference> fn from(payment_reference: PaymentsMandateReference) -> Self { ...
{ "crate": "diesel_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_diesel_models_get_id_-4211779944055406365
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/payment_method // Inherent implementation for PaymentMethodNew pub fn get_id(&self) -> &common_utils::id_type::GlobalPaymentMethodId { &self.id }
{ "crate": "diesel_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_diesel_models_to_sql_-4211779944055406365
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/payment_method // Implementation of CommonMandateReference for diesel::serialize::ToSql<diesel::sql_types::Jsonb, diesel::pg::Pg> fn to_sql<'b>( &'b sel...
{ "crate": "diesel_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_diesel_models_apply_changeset_-4211779944055406365
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/payment_method // Inherent implementation for PaymentMethodUpdateInternal pub fn apply_changeset(self, source: PaymentMethod) -> PaymentMethod { let Sel...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 86, "total_crates": null }
fn_clm_diesel_models_from_sql_-4211779944055406365
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/payment_method // Implementation of CommonMandateReference for diesel::deserialize::FromSql<diesel::sql_types::Jsonb, DB> fn from_sql(bytes: DB::RawValue<'_>) -...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 82, "total_crates": null }
fn_clm_diesel_models_get_id_-8437217932253315203
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/merchant_connector_account // Inherent implementation for MerchantConnectorAccount pub fn get_id(&self) -> id_type::MerchantConnectorAccountId { self.id...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 2474, "total_crates": null }
fn_clm_diesel_models_create_merchant_connector_account_-8437217932253315203
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/merchant_connector_account // Inherent implementation for MerchantConnectorAccountUpdateInternal pub fn create_merchant_connector_account( self, ...
{ "crate": "diesel_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_diesel_models_from_5531451374527782126
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/configs // Implementation of Config for From<ConfigNew> fn from(config_new: ConfigNew) -> Self { Self { key: config_new.key, con...
{ "crate": "diesel_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_diesel_models_create_config_5531451374527782126
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/configs // Inherent implementation for ConfigUpdateInternal pub fn create_config(self, source: Config) -> Config { Config { ..source } }
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 21, "total_crates": null }
fn_clm_diesel_models_from_-1446881798389202686
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/lib // Implementation of Option<Vec<T>> for From<OptionalDieselArray<T>> fn from(option_array: OptionalDieselArray<T>) -> Self { option_array ...
{ "crate": "diesel_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_diesel_models_into_inner_-1446881798389202686
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/lib // Inherent implementation for RequiredFromNullableWithDefault<T> /// Extracts the inner value from the wrapper pub fn into_inner(self) -> T { ...
{ "crate": "diesel_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_diesel_models_build_-1446881798389202686
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/lib // Implementation of RequiredFromNullableWithDefault<T> for Queryable<Nullable<ST>, DB> fn build(row: Self::Row) -> diesel::deserialize::Result<Self> { ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 580, "total_crates": null }
fn_clm_diesel_models_metadata_is_advanced_rule_for_payments_6062007529629841469
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/routing_algorithm // Inherent implementation for RoutingProfileMetadata pub fn metadata_is_advanced_rule_for_payments(&self) -> bool { matches!(self.kin...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 18, "total_crates": null }
fn_clm_diesel_models_new_8857827427584694927
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/subscription // Inherent implementation for SubscriptionUpdate pub fn new( connector_subscription_id: Option<String>, payment_method_id: Option<...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 14471, "total_crates": null }
fn_clm_diesel_models_generate_and_set_client_secret_8857827427584694927
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/subscription // Inherent implementation for SubscriptionNew pub fn generate_and_set_client_secret(&mut self) -> Secret<String> { let client_secret = ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 27, "total_crates": null }
fn_clm_diesel_models_create_address_-4483737527286093456
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/address // Inherent implementation for AddressUpdateInternal pub fn create_address(self, source: Address) -> Address { Address { city: self....
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 30, "total_crates": null }
fn_clm_diesel_models_from_1624844874700363150
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/user // Implementation of UserUpdateInternal for From<UserUpdate> fn from(user_update: UserUpdate) -> Self { let last_modified_at = common_utils::date_t...
{ "crate": "diesel_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_diesel_models_from_-6542374894342068961
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/user_role // Implementation of UserRoleUpdateInternal for From<UserRoleUpdate> fn from(value: UserRoleUpdate) -> Self { let last_modified = common_utils...
{ "crate": "diesel_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_diesel_models_eq_-6542374894342068961
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/user_role // Implementation of UserRole for PartialEq fn eq(&self, other: &Self) -> bool { match ( self.get_entity_id_and_type(), ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 1662, "total_crates": null }
fn_clm_diesel_models_hash_-6542374894342068961
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/user_role // Implementation of UserRole for Hash fn hash<H: std::hash::Hasher>(&self, state: &mut H) { self.user_id.hash(state); if let Some((en...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 349, "total_crates": null }
fn_clm_diesel_models_get_entity_id_and_type_-6542374894342068961
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/user_role // Inherent implementation for UserRole pub fn get_entity_id_and_type(&self) -> Option<(String, EntityType)> { match (self.version, self.entit...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 94, "total_crates": null }
fn_clm_diesel_models_from_-3123425703352763371
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/refund // Implementation of RefundUpdateInternal for From<RefundUpdate> fn from(refund_update: RefundUpdate) -> Self { match refund_update { ...
{ "crate": "diesel_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_diesel_models_get_connector_transaction_id_-3123425703352763371
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/refund // Implementation of Refund for ConnectorTransactionIdTrait fn get_connector_transaction_id(&self) -> &String { match self .connector...
{ "crate": "diesel_models", "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 }
fn_clm_diesel_models_apply_changeset_-3123425703352763371
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/refund // Implementation of None for RefundUpdate pub fn apply_changeset(self, source: Refund) -> Refund { let RefundUpdateInternal { connec...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 80, "total_crates": null }
fn_clm_diesel_models_create_refund_-3123425703352763371
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/refund // Inherent implementation for RefundUpdateInternal pub fn create_refund(self, source: Refund) -> Refund { Refund { connector_refund_...
{ "crate": "diesel_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_diesel_models_build_error_update_for_integrity_check_failure_-3123425703352763371
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/refund // Implementation of None for RefundUpdate pub fn build_error_update_for_integrity_check_failure( integrity_check_failed_fields: String, ...
{ "crate": "diesel_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_diesel_models_new_-7204015516939245849
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/process_tracker // Inherent implementation for ProcessTrackerNew pub fn new<T>( process_tracker_id: impl Into<String>, task: impl Into<String>, ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 14489, "total_crates": null }
fn_clm_diesel_models_default_-7204015516939245849
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/process_tracker // Implementation of ProcessTrackerUpdateInternal for Default fn default() -> Self { Self { name: Option::default(), ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 7717, "total_crates": null }
fn_clm_diesel_models_from_-7204015516939245849
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/process_tracker // Implementation of ProcessTrackerUpdateInternal for From<ProcessTrackerUpdate> fn from(process_tracker_update: ProcessTrackerUpdate) -> Self {...
{ "crate": "diesel_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_diesel_models_is_valid_business_status_-7204015516939245849
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/process_tracker // Inherent implementation for ProcessTracker pub fn is_valid_business_status(&self, valid_statuses: &[&str]) -> bool { valid_statuses.i...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 25, "total_crates": null }
fn_clm_diesel_models_test_enum_to_string_-7204015516939245849
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/process_tracker fn test_enum_to_string() { let string_format = "PAYMENTS_SYNC_WORKFLOW".to_string(); let enum_format: ProcessTrackerRunner = ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 4, "total_crates": null }
fn_clm_diesel_models_default_-897459058201057485
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/business_profile // Implementation of CardTestingGuardConfig for Default fn default() -> Self { Self { is_card_ip_blocking_enabled: common_u...
{ "crate": "diesel_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_diesel_models_get_id_-897459058201057485
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/business_profile // Inherent implementation for Profile pub fn get_id(&self) -> &common_utils::id_type::ProfileId { &self.id }
{ "crate": "diesel_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_diesel_models_apply_changeset_-897459058201057485
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/business_profile // Inherent implementation for ProfileUpdateInternal pub fn apply_changeset(self, source: Profile) -> Profile { let Self { ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 156, "total_crates": null }
fn_clm_diesel_models_has_exceeded_monitoring_threshold_-897459058201057485
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/business_profile // Inherent implementation for RevenueRecoveryAlgorithmData pub fn has_exceeded_monitoring_threshold(&self, monitoring_threshold_in_seconds: i6...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 25, "total_crates": null }
fn_clm_diesel_models_new_-1225495206381143573
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/invoice // Inherent implementation for InvoiceUpdate pub fn new( amount: Option<MinorUnit>, currency: Option<String>, payment_method_id:...
{ "crate": "diesel_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_diesel_models_default_-2598529412098725068
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/generic_link // Implementation of GenericLinkNew for Default fn default() -> Self { let now = common_utils::date_time::now(); Self { ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 7723, "total_crates": null }
fn_clm_diesel_models_from_-2598529412098725068
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/generic_link // Implementation of GenericLinkUpdateInternal for From<PayoutLinkUpdate> fn from(generic_link_update: PayoutLinkUpdate) -> Self { match ge...
{ "crate": "diesel_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_diesel_models_get_payment_method_collect_data_-2598529412098725068
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/generic_link // Implementation of None for GenericLinkData pub fn get_payment_method_collect_data(&self) -> Result<&PaymentMethodCollectLinkData, String> { ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 20, "total_crates": null }
fn_clm_diesel_models_get_payout_link_data_-2598529412098725068
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/generic_link // Implementation of None for GenericLinkData pub fn get_payout_link_data(&self) -> Result<&PayoutLinkData, String> { match self { ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 20, "total_crates": null }
fn_clm_diesel_models_from_-4566505850933181187
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/unified_translations // Implementation of UnifiedTranslationsUpdateInternal for From<UnifiedTranslationsUpdate> fn from(value: UnifiedTranslationsUpdate) -> Sel...
{ "crate": "diesel_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_diesel_models_from_-6381279313086276777
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/api_keys // Implementation of HashedApiKey for From<String> fn from(hashed_api_key: String) -> Self { Self(hashed_api_key) }
{ "crate": "diesel_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_diesel_models_into_inner_-6381279313086276777
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/api_keys // Inherent implementation for HashedApiKey pub fn into_inner(self) -> String { self.0 }
{ "crate": "diesel_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_diesel_models_build_-6381279313086276777
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/api_keys // Implementation of super::HashedApiKey for Queryable<Text, DB> fn build(row: Self::Row) -> diesel::deserialize::Result<Self> { Ok(row) ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 572, "total_crates": null }
fn_clm_diesel_models_to_sql_-6381279313086276777
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/api_keys // Implementation of super::HashedApiKey for ToSql<Text, DB> fn to_sql<'b>(&'b self, out: &mut Output<'b, '_, DB>) -> diesel::serialize::Result { ...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 100, "total_crates": null }
fn_clm_diesel_models_from_sql_-6381279313086276777
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/api_keys // Implementation of super::HashedApiKey for FromSql<Text, DB> fn from_sql(bytes: DB::RawValue<'_>) -> diesel::deserialize::Result<Self> { ...
{ "crate": "diesel_models", "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_diesel_models_from_7383406899157291239
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/errors // Implementation of DatabaseError for From<diesel::result::Error> fn from(error: diesel::result::Error) -> Self { match error { dies...
{ "crate": "diesel_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_diesel_models_from_-1851006187774148561
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/customers // Implementation of Customer for From<CustomerNew> fn from(customer_new: CustomerNew) -> Self { Self { merchant_id: customer_new....
{ "crate": "diesel_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_diesel_models_apply_changeset_-1851006187774148561
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/customers // Inherent implementation for CustomerUpdateInternal pub fn apply_changeset(self, source: Customer) -> Customer { let Self { name...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 82, "total_crates": null }
fn_clm_diesel_models_update_storage_scheme_-1851006187774148561
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/customers // Inherent implementation for CustomerNew pub fn update_storage_scheme(&mut self, storage_scheme: common_enums::MerchantStorageScheme) { self...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": true, "num_enums": null, "num_structs": null, "num_tables": null, "score": 20, "total_crates": null }
fn_clm_diesel_models_from_5645427331483182881
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/gsm // Implementation of GatewayStatusMapperUpdateInternal for From<GatewayStatusMappingUpdate> fn from(value: GatewayStatusMappingUpdate) -> Self { let...
{ "crate": "diesel_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_diesel_models_get_api_event_type_5645427331483182881
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/gsm // Implementation of GatewayStatusMap for ApiEventMetric fn get_api_event_type(&self) -> Option<ApiEventsType> { Some(ApiEventsType::Gsm) }
{ "crate": "diesel_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_diesel_models_default_913975415099675741
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/payout_attempt // Implementation of PayoutAttemptUpdateInternal for Default fn default() -> Self { Self { payout_token: None, co...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 7705, "total_crates": null }
fn_clm_diesel_models_from_913975415099675741
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/payout_attempt // Implementation of PayoutAttemptUpdateInternal for From<PayoutAttemptUpdate> fn from(payout_update: PayoutAttemptUpdate) -> Self { matc...
{ "crate": "diesel_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_diesel_models_apply_changeset_913975415099675741
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/payout_attempt // Inherent implementation for PayoutAttemptUpdate pub fn apply_changeset(self, source: PayoutAttempt) -> PayoutAttempt { let PayoutAttem...
{ "crate": "diesel_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_diesel_models_default_-7696312247864174804
clm
function
// Repository: hyperswitch // Crate: diesel_models // Purpose: Database schema types directly mapping to PostgreSQL tables // Module: crates/diesel_models/src/authentication // Implementation of AuthenticationUpdateInternal for Default fn default() -> Self { Self { connector_authentication_id: Defa...
{ "crate": "diesel_models", "file": null, "file_size": null, "is_async": false, "is_pub": false, "num_enums": null, "num_structs": null, "num_tables": null, "score": 7783, "total_crates": null }