text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Function: send_verification_mail
// File: crates/router/src/core/user.rs
// Module: router
pub fn send_verification_mail(
state: SessionState,
req: user_api::SendVerifyEmailRequest,
auth_id: Option<String>,
theme_id: Option<String>,
) -> UserResponse<()> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 64 | send_verification_mail | null | null | null | null | null | null |
// Struct: DlocalPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DlocalPaymentsRequest | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs | hyperswitch_connectors | struct_definition | DlocalPaymentsRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: PaymentGateway
// File: crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentGateway | crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs | hyperswitch_connectors | struct_definition | PaymentGateway | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: AdyenTransferRequest
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdyenTransferRequest | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | struct_definition | AdyenTransferRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: ProcessorResponse
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProcessorResponse | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | ProcessorResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Billwerk
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Billwerk | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Billwerk | api::PaymentSession for | 0 | 0 | null | null |
// Function: update_connector_customer_in_customers
// File: crates/router/src/core/payments/customers.rs
// Module: router
pub fn update_connector_customer_in_customers(
merchant_connector_account: &domain::MerchantConnectorAccountTypeDetails,
customer: Option<&domain::Customer>,
connector_customer_id: Op... | crates/router/src/core/payments/customers.rs | router | function_signature | null | null | null | 77 | update_connector_customer_in_customers | null | null | null | null | null | null |
// Struct: MandateAmountData
// File: crates/hyperswitch_domain_models/src/mandates.rs
// Module: hyperswitch_domain_models
// Implementations: 1
pub struct MandateAmountData | crates/hyperswitch_domain_models/src/mandates.rs | hyperswitch_domain_models | struct_definition | MandateAmountData | 1 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Digitalvirgo
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Digitalvirgo | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Digitalvirgo | api::PaymentVoid for | 0 | 0 | null | null |
// Function: payouts_cancel_core
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn payouts_cancel_core(
state: SessionState,
merchant_context: domain::MerchantContext,
req: payouts::PayoutActionRequest,
) -> RouterResponse<payouts::PayoutCreateResponse> | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 68 | payouts_cancel_core | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Billwerk
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Billwerk | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Billwerk | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: retrieve_decision_engine_active_rules
// File: crates/router/src/core/routing.rs
// Module: router
pub fn retrieve_decision_engine_active_rules(
state: &SessionState,
transaction_type: &enums::TransactionType,
profile_id: common_utils::id_type::ProfileId,
hs_records: Vec<routing_types::Rou... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 87 | retrieve_decision_engine_active_rules | null | null | null | null | null | null |
// Implementation: impl Issuer
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Issuer | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Issuer | null | 1 | 1 | null | null |
// Struct: PaymentAttemptFeatureMetadata
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentAttemptFeatureMetadata | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | struct_definition | PaymentAttemptFeatureMetadata | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: CreateTenantUserRequest
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct CreateTenantUserRequest | crates/api_models/src/user.rs | api_models | struct_definition | CreateTenantUserRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: ConfigApiClient
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 1
// Traits: DecisionEngineApiHandler
pub struct ConfigApiClient | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | ConfigApiClient | 1 | [
"DecisionEngineApiHandler"
] | 44 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/payme.rs
// Module: router
use std::str::FromStr;
use common_utils::{pii::Email, types::MinorUnit};
use diesel_models::types::OrderDetailsWithAmount;
use hyperswitch_domain_models::address::{Address, AddressDetails};
use masking::Secret;
use router::types::{self, domain, storag... | crates/router/tests/connectors/payme.rs | router | full_file | null | null | null | 4,175 | null | null | null | null | null | null | null |
// Struct: WellsfargoZeroMandateRequest
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WellsfargoZeroMandateRequest | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | WellsfargoZeroMandateRequest | 0 | [] | 59 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Paystack
// File: crates/hyperswitch_connectors/src/connectors/paystack.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Paystack | crates/hyperswitch_connectors/src/connectors/paystack.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paystack | api::Refund for | 0 | 0 | null | null |
// Function: insert_entry_into_blocklist
// File: crates/router/src/core/blocklist/utils.rs
// Module: router
pub fn insert_entry_into_blocklist(
state: &SessionState,
merchant_id: &common_utils::id_type::MerchantId,
to_block: api_blocklist::AddToBlocklistRequest,
) -> RouterResult<api_blocklist::AddToBloc... | crates/router/src/core/blocklist/utils.rs | router | function_signature | null | null | null | 84 | insert_entry_into_blocklist | null | null | null | null | null | null |
// Function: table
// File: crates/diesel_models/src/kv.rs
// Module: diesel_models
pub fn table<'a>(&self) -> &'a str | crates/diesel_models/src/kv.rs | diesel_models | function_signature | null | null | null | 35 | table | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Tokenio
// File: crates/hyperswitch_connectors/src/connectors/tokenio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Tokenio | crates/hyperswitch_connectors/src/connectors/tokenio.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Tokenio | ConnectorValidation for | 0 | 0 | null | null |
// Struct: Amount
// File: crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Amount | crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs | hyperswitch_connectors | struct_definition | Amount | 0 | [] | 43 | null | null | null | null | null | null | null |
// File: connector-template/mod.rs
// Module: connector-template
// Public functions: 1
pub mod transformers;
use error_stack::{report, ResultExt};
use masking::{ExposeInterface, Mask};
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
types::{AmountConvertor, StringMinorUnit, StringMinorUn... | connector-template/mod.rs | connector-template | full_file | null | null | null | 5,165 | null | null | null | null | null | null | null |
// Function: retrieve_revenue_recovery_process_tracker
// File: crates/router/src/core/revenue_recovery.rs
// Module: router
pub fn retrieve_revenue_recovery_process_tracker(
state: SessionState,
id: id_type::GlobalPaymentId,
) -> RouterResponse<revenue_recovery::RevenueRecoveryResponse> | crates/router/src/core/revenue_recovery.rs | router | function_signature | null | null | null | 66 | retrieve_revenue_recovery_process_tracker | null | null | null | null | null | null |
// Function: currency_match
// File: crates/currency_conversion/src/types.rs
// Module: currency_conversion
pub fn currency_match(currency: Currency) -> &'static iso::Currency | crates/currency_conversion/src/types.rs | currency_conversion | function_signature | null | null | null | 37 | currency_match | null | null | null | null | null | null |
// File: crates/router/tests/connectors/placetopay.rs
// Module: router
use masking::Secret;
use router::types::{self, domain, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
struct PlacetopayTest;
impl ConnectorActions for PlacetopayTest {}
impl ut... | crates/router/tests/connectors/placetopay.rs | router | full_file | null | null | null | 2,953 | null | null | null | null | null | null | null |
// Function: get_hashicorp_client
// File: crates/external_services/src/hashicorp_vault/core.rs
// Module: external_services
// Documentation: Asynchronously retrieves a HashiCorp Vault client based on the provided configuration. # Parameters - `config`: A reference to a `HashiCorpVaultConfig` containing the configu... | crates/external_services/src/hashicorp_vault/core.rs | external_services | function_signature | null | null | null | 110 | get_hashicorp_client | null | null | null | null | null | null |
// Struct: ChatRequest
// File: crates/api_models/src/chat.rs
// Module: api_models
// Implementations: 0
pub struct ChatRequest | crates/api_models/src/chat.rs | api_models | struct_definition | ChatRequest | 0 | [] | 33 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Worldpayxml
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Worldpayxml | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Worldpayxml | api::Refund for | 0 | 0 | null | null |
// Implementation: impl Placetopay
// File: crates/hyperswitch_connectors/src/connectors/placetopay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Placetopay | crates/hyperswitch_connectors/src/connectors/placetopay.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Placetopay | null | 1 | 1 | null | null |
// Implementation: impl PaymentIntentMetricsAccumulator
// File: crates/analytics/src/payment_intents/accumulator.rs
// Module: analytics
// Methods: 1 total (1 public)
impl PaymentIntentMetricsAccumulator | crates/analytics/src/payment_intents/accumulator.rs | analytics | impl_block | null | null | null | 47 | null | PaymentIntentMetricsAccumulator | null | 1 | 1 | null | null |
// Function: get_compatible_connector
// File: crates/hyperswitch_domain_models/src/merchant_account.rs
// Module: hyperswitch_domain_models
pub fn get_compatible_connector(&self) -> Option<api_models::enums::Connector> | crates/hyperswitch_domain_models/src/merchant_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 51 | get_compatible_connector | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Razorpay
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Razorpay | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Razorpay | ConnectorCommon for | 6 | 0 | null | null |
// Struct: SignifydPaymentsCheckoutRequest
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SignifydPaymentsCheckoutRequest | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs | hyperswitch_connectors | struct_definition | SignifydPaymentsCheckoutRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl ValidateStatusForOperation for for PaymentsCapture
// File: crates/router/src/core/payments/operations/payment_capture_v2.rs
// Module: router
// Methods: 1 total (0 public)
impl ValidateStatusForOperation for for PaymentsCapture | crates/router/src/core/payments/operations/payment_capture_v2.rs | router | impl_block | null | null | null | 54 | null | PaymentsCapture | ValidateStatusForOperation for | 1 | 0 | null | null |
// Function: update_by_theme_id
// File: crates/diesel_models/src/query/user/theme.rs
// Module: diesel_models
pub fn update_by_theme_id(
conn: &PgPooledConn,
theme_id: String,
update: ThemeUpdate,
) -> StorageResult<Self> | crates/diesel_models/src/query/user/theme.rs | diesel_models | function_signature | null | null | null | 62 | update_by_theme_id | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Deutschebank
// File: crates/hyperswitch_connectors/src/connectors/deutschebank.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Deutschebank | crates/hyperswitch_connectors/src/connectors/deutschebank.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Deutschebank | ConnectorSpecifications for | 3 | 0 | null | null |
// Implementation: impl ConnectorSpecifications for for Datatrans
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Datatrans | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Datatrans | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: DeviceRenderingOptionsSupported
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeviceRenderingOptionsSupported | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | struct_definition | DeviceRenderingOptionsSupported | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: PaypalFulfillResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalFulfillResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalFulfillResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: RuleThreeDsDecisionRule
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct RuleThreeDsDecisionRule | crates/api_models/src/routing.rs | api_models | struct_definition | RuleThreeDsDecisionRule | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: is_overcapture_supported_by_connector
// File: crates/common_enums/src/connector_enums.rs
// Module: common_enums
pub fn is_overcapture_supported_by_connector(self) -> bool | crates/common_enums/src/connector_enums.rs | common_enums | function_signature | null | null | null | 43 | is_overcapture_supported_by_connector | null | null | null | null | null | null |
// Implementation: impl Hash for for PaymentIntentMetricsBucketIdentifier
// File: crates/api_models/src/analytics/payment_intents.rs
// Module: api_models
// Methods: 1 total (0 public)
impl Hash for for PaymentIntentMetricsBucketIdentifier | crates/api_models/src/analytics/payment_intents.rs | api_models | impl_block | null | null | null | 52 | null | PaymentIntentMetricsBucketIdentifier | Hash for | 1 | 0 | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Struct: Args
// File: crates/test_utils/src/newman_runner.rs
// Module: test_utils
// Implementations: 1
pub struct Args | crates/test_utils/src/newman_runner.rs | test_utils | struct_definition | Args | 1 | [] | 33 | null | null | null | null | null | null | null |
// Function: into_inner
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
pub fn into_inner(self) -> FredRedisValue | crates/redis_interface/src/types.rs | redis_interface | function_signature | null | null | null | 33 | into_inner | null | null | null | null | null | null |
/// - with message version = 2.1.0 and deviceChannel = 02 (BRW).
/// - with message version = 2.2.0 and deviceChannel = 02 (BRW) and browserJavascriptEnabled = true.
browser_screen_width: Option<u32>,
/// Time difference between UTC time and the Cardholder browser local time, in minutes. The field is l... | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs#chunk2 | hyperswitch_connectors | chunk | null | null | null | 4,125 | null | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
capture: None,
items: None,
recurring_model: if item.router_data.request.is_mandate_payment() {
Some(MandateType::Unscheduled)
} else {
None
},
recurring_id: item
.router_data
.request... | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 3,166 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Public functions: 24
// Public structs: 42
use std::{
collections::{HashMap, HashSet},
str::FromStr,
};
use api_models::{
open_router as or_types,
routing::{
self as api_routing, ComparisonType, ConnectorSelection, ... | crates/router/src/core/payments/routing/utils.rs#chunk0 | router | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Struct: RoutingConfigRequest
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct RoutingConfigRequest | crates/api_models/src/routing.rs | api_models | struct_definition | RoutingConfigRequest | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl CurrencyFactors
// File: crates/currency_conversion/src/types.rs
// Module: currency_conversion
// Methods: 1 total (1 public)
impl CurrencyFactors | crates/currency_conversion/src/types.rs | currency_conversion | impl_block | null | null | null | 37 | null | CurrencyFactors | null | 1 | 1 | null | null |
// Struct: GetDisputeMetricRequest
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct GetDisputeMetricRequest | crates/api_models/src/analytics.rs | api_models | struct_definition | GetDisputeMetricRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: RefundMetricsBucketResponse
// File: crates/api_models/src/analytics/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundMetricsBucketResponse | crates/api_models/src/analytics/refunds.rs | api_models | struct_definition | RefundMetricsBucketResponse | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: FxExchangeRatesCacheEntry
// File: crates/router/src/utils/currency.rs
// Module: router
// Implementations: 2
// Traits: ApiEventMetric
pub struct FxExchangeRatesCacheEntry | crates/router/src/utils/currency.rs | router | struct_definition | FxExchangeRatesCacheEntry | 2 | [
"ApiEventMetric"
] | 48 | null | null | null | null | null | null | null |
// Struct: TsysTransactionDetails
// File: crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TsysTransactionDetails | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs | hyperswitch_connectors | struct_definition | TsysTransactionDetails | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: GpaymentsConnectorMetaData
// File: crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GpaymentsConnectorMetaData | crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs | hyperswitch_connectors | struct_definition | GpaymentsConnectorMetaData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: SantanderPix
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SantanderPix | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | SantanderPix | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: find_optional_by_merchant_id_merchant_reference_id
// File: crates/diesel_models/src/query/customers.rs
// Module: diesel_models
pub fn find_optional_by_merchant_id_merchant_reference_id(
conn: &PgPooledConn,
customer_id: &id_type::CustomerId,
merchant_id: &id_type::MerchantId,
... | crates/diesel_models/src/query/customers.rs | diesel_models | function_signature | null | null | null | 84 | find_optional_by_merchant_id_merchant_reference_id | null | null | null | null | null | null |
// Implementation: impl FromStr for for AciRefundStatus
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl FromStr for for AciRefundStatus | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | AciRefundStatus | FromStr for | 1 | 0 | null | null |
// Struct: CheckTokenStatus
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct CheckTokenStatus | crates/router/src/types/payment_methods.rs | router | struct_definition | CheckTokenStatus | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 43 | null | Paypal | null | 1 | 1 | null | null |
// Struct: SurchargeDecisionConfigReq
// File: crates/api_models/src/surcharge_decision_configs.rs
// Module: api_models
// Implementations: 1
// Traits: events::ApiEventMetric
pub struct SurchargeDecisionConfigReq | crates/api_models/src/surcharge_decision_configs.rs | api_models | struct_definition | SurchargeDecisionConfigReq | 1 | [
"events::ApiEventMetric"
] | 52 | null | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric
for for RefundsGenericRequestWithResourceId
// File: crates/router/src/routes/refunds.rs
// Module: router
// Methods: 1 total (0 public)
impl common_utils::events::ApiEventMetric
for for RefundsGenericRequestWithResourceId | crates/router/src/routes/refunds.rs | router | impl_block | null | null | null | 68 | null | RefundsGenericRequestWithResourceId | common_utils::events::ApiEventMetric
for | 1 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Loonio
// File: crates/hyperswitch_connectors/src/connectors/loonio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Loonio | crates/hyperswitch_connectors/src/connectors/loonio.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Loonio | api::PaymentAuthorize for | 0 | 0 | null | null |
// File: crates/router/src/workflows/dispute_list.rs
// Module: router
// Public functions: 3
// Public structs: 1
use std::ops::Deref;
use common_utils::ext_traits::{StringExt, ValueExt};
use diesel_models::process_tracker::business_status;
use error_stack::ResultExt;
use router_env::{logger, tracing::Instrument};
u... | crates/router/src/workflows/dispute_list.rs | router | full_file | null | null | null | 1,578 | null | null | null | null | null | null | null |
// Implementation: impl api::ExternalVault for for Vgs
// File: crates/hyperswitch_connectors/src/connectors/vgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ExternalVault for for Vgs | crates/hyperswitch_connectors/src/connectors/vgs.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Vgs | api::ExternalVault for | 0 | 0 | null | null |
// Implementation: impl AuthNFlowType
// File: crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// Module: hyperswitch_domain_models
// Methods: 7 total (7 public)
impl AuthNFlowType | crates/hyperswitch_domain_models/src/router_request_types/authentication.rs | hyperswitch_domain_models | impl_block | null | null | null | 49 | null | AuthNFlowType | null | 7 | 7 | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | function_signature | null | null | null | 40 | new | null | null | null | null | null | null |
// Function: get_vault_operation_for_pre_network_tokenization
// File: crates/router/src/core/payments.rs
// Module: router
pub fn get_vault_operation_for_pre_network_tokenization(
state: &SessionState,
customer_id: id_type::CustomerId,
card_data: &hyperswitch_domain_models::payment_method_data::Card,
) ->... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 80 | get_vault_operation_for_pre_network_tokenization | null | null | null | null | null | null |
// Trait: ForeignIDRef
// File: crates/hyperswitch_domain_models/src/lib.rs
// Module: hyperswitch_domain_models
pub trait ForeignIDRef | crates/hyperswitch_domain_models/src/lib.rs | hyperswitch_domain_models | trait_definition | null | null | null | 34 | null | null | ForeignIDRef | null | null | null | null |
// File: crates/router/src/types/api/authentication_v2.rs
// Module: router
pub use hyperswitch_domain_models::router_request_types::authentication::MessageCategory;
pub use hyperswitch_interfaces::api::authentication_v2::ExternalAuthenticationV2;
| crates/router/src/types/api/authentication_v2.rs | router | full_file | null | null | null | 51 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Nordea
// File: crates/hyperswitch_connectors/src/connectors/nordea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Nordea | crates/hyperswitch_connectors/src/connectors/nordea.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Nordea | ConnectorValidation for | 0 | 0 | null | null |
// Function: generate_new
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn generate_new() -> Self | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 29 | generate_new | null | null | null | null | null | null |
// File: crates/router/src/routes/subscription.rs
// Module: router
// Public functions: 2
//! Analysis for usage of Subscription in Payment flows
//!
//! Functions that are used to perform the api level configuration and retrieval
//! of various types under Subscriptions.
use actix_web::{web, HttpRequest, HttpRespon... | crates/router/src/routes/subscription.rs | router | full_file | null | null | null | 823 | null | null | null | null | null | null | null |
// Implementation: impl AuthInfo for for AuthenticationData
// File: crates/router/src/services/authentication.rs
// Module: router
// Methods: 1 total (0 public)
impl AuthInfo for for AuthenticationData | crates/router/src/services/authentication.rs | router | impl_block | null | null | null | 43 | null | AuthenticationData | AuthInfo for | 1 | 0 | null | null |
// Struct: GocardlessPayment
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GocardlessPayment | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | GocardlessPayment | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: MerchantConnectorCreate
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 2
pub struct MerchantConnectorCreate | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantConnectorCreate | 2 | [] | 35 | null | null | null | null | null | null | null |
// Struct: ProcessTrackerDeprecated
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct ProcessTrackerDeprecated | crates/router/src/routes/app.rs | router | struct_definition | ProcessTrackerDeprecated | 1 | [] | 34 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Forte
// File: crates/hyperswitch_connectors/src/connectors/forte.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Forte | crates/hyperswitch_connectors/src/connectors/forte.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Forte | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Function: render_payout_link
// File: crates/router/src/routes/payout_link.rs
// Module: router
pub fn render_payout_link(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
path: web::Path<(
common_utils::id_type::MerchantId,
common_utils::id_type::PayoutId,
) | crates/router/src/routes/payout_link.rs | router | function_signature | null | null | null | 81 | render_payout_link | null | null | null | null | null | null |
// Function: payments_connector_session
// File: crates/openapi/src/routes/payments.rs
// Module: openapi
pub fn payments_connector_session() | crates/openapi/src/routes/payments.rs | openapi | function_signature | null | null | null | 31 | payments_connector_session | null | null | null | null | null | null |
// Struct: InjectorRequest
// File: crates/injector/src/types.rs
// Module: injector
// Implementations: 1
pub struct InjectorRequest | crates/injector/src/types.rs | injector | struct_definition | InjectorRequest | 1 | [] | 33 | null | null | null | null | null | null | null |
// Struct: OrderFulfillment
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OrderFulfillment | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | OrderFulfillment | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: ValidateResult
// File: crates/router/src/core/payments/operations.rs
// Module: router
// Implementations: 0
pub struct ValidateResult | crates/router/src/core/payments/operations.rs | router | struct_definition | ValidateResult | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: DatatransSuccessResponse
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DatatransSuccessResponse | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | struct_definition | DatatransSuccessResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: authentication_create_core
// File: crates/router/src/core/unified_authentication_service.rs
// Module: router
pub fn authentication_create_core(
state: SessionState,
merchant_context: domain::MerchantContext,
req: AuthenticationCreateRequest,
) -> RouterResponse<AuthenticationResponse> | crates/router/src/core/unified_authentication_service.rs | router | function_signature | null | null | null | 61 | authentication_create_core | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Implementation: impl Aci
// File: crates/hyperswitch_connectors/src/connectors/aci.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Aci | crates/hyperswitch_connectors/src/connectors/aci.rs | hyperswitch_connectors | impl_block | null | null | null | 45 | null | Aci | null | 1 | 1 | null | null |
// Struct: CardDetails
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardDetails | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | struct_definition | CardDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: BankRedirectConfig
// File: crates/payment_methods/src/configs/settings.rs
// Module: payment_methods
// Implementations: 0
pub struct BankRedirectConfig | crates/payment_methods/src/configs/settings.rs | payment_methods | struct_definition | BankRedirectConfig | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: ConsultaOperacionesReturn
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ConsultaOperacionesReturn | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | ConsultaOperacionesReturn | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Plaid
// File: crates/hyperswitch_connectors/src/connectors/plaid.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Plaid | crates/hyperswitch_connectors/src/connectors/plaid.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Plaid | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: DecisionEngineGatewayWiseExtraScore
// File: crates/api_models/src/open_router.rs
// Module: api_models
// Implementations: 1
pub struct DecisionEngineGatewayWiseExtraScore | crates/api_models/src/open_router.rs | api_models | struct_definition | DecisionEngineGatewayWiseExtraScore | 1 | [] | 44 | null | null | null | null | null | null | null |
// Struct: TokenRetryInfo
// File: crates/router/src/types/storage/revenue_recovery_redis_operation.rs
// Module: router
// Implementations: 0
pub struct TokenRetryInfo | crates/router/src/types/storage/revenue_recovery_redis_operation.rs | router | struct_definition | TokenRetryInfo | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: SchedulerHealthCheckResponse
// File: crates/api_models/src/health_check.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct SchedulerHealthCheckResponse | crates/api_models/src/health_check.rs | api_models | struct_definition | SchedulerHealthCheckResponse | 1 | [
"common_utils::events::ApiEventMetric"
] | 51 | null | null | null | null | null | null | null |
// Function: get_groups_and_resources_for_role_from_token
// File: crates/router/src/routes/user_role.rs
// Module: router
pub fn get_groups_and_resources_for_role_from_token(
state: web::Data<AppState>,
req: HttpRequest,
) -> HttpResponse | crates/router/src/routes/user_role.rs | router | function_signature | null | null | null | 56 | get_groups_and_resources_for_role_from_token | null | null | null | null | null | null |
// Implementation: impl super::KafkaMessage for for KafkaRefundEvent
// File: crates/router/src/services/kafka/refund_event.rs
// Module: router
// Methods: 2 total (0 public)
impl super::KafkaMessage for for KafkaRefundEvent | crates/router/src/services/kafka/refund_event.rs | router | impl_block | null | null | null | 57 | null | KafkaRefundEvent | super::KafkaMessage for | 2 | 0 | null | null |
Success,
#[serde(alias = "TransactionFailure")]
TransactionFailure,
}
#[derive(
Clone,
Copy,
Debug,
Default,
Eq,
Hash,
PartialEq,
strum::Display,
strum::EnumString,
strum::EnumIter,
serde::Serialize,
serde::Deserialize,
ToSchema,
)]
#[router_derive::diese... | crates/common_enums/src/enums.rs#chunk2 | common_enums | chunk | null | null | null | 8,188 | null | null | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.