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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
.headers(types::RefundExecuteType::get_headers(
self, req, connectors,
)?)
.set_body(types::RefundExecuteType::get_request_body(
self, req, connectors,
)?)
.build();
Ok(Some(request))
}
fn handle_response(
... | crates/hyperswitch_connectors/src/connectors/nuvei.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 4,408 | null | null | null | null | null | null | null |
// Struct: Browser
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Browser | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | Browser | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Shift4
// File: crates/hyperswitch_connectors/src/connectors/shift4.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Shift4 | crates/hyperswitch_connectors/src/connectors/shift4.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Shift4 | api::PaymentToken for | 0 | 0 | null | null |
// File: crates/router/src/core/payments/routing/transformers.rs
// Module: router
use std::collections::HashMap;
use api_models::{self, routing as routing_types};
use common_types::payments as common_payments_types;
use diesel_models::enums as storage_enums;
use euclid::{enums as dsl_enums, frontend::ast as dsl_ast}... | crates/router/src/core/payments/routing/transformers.rs | router | full_file | null | null | null | 844 | null | null | null | null | null | null | null |
// Struct: UnifiedTranslationsNew
// File: crates/diesel_models/src/unified_translations.rs
// Module: diesel_models
// Implementations: 0
pub struct UnifiedTranslationsNew | crates/diesel_models/src/unified_translations.rs | diesel_models | struct_definition | UnifiedTranslationsNew | 0 | [] | 39 | null | null | null | null | null | null | null |
// Function: get_shipping
// File: crates/hyperswitch_domain_models/src/payment_address.rs
// Module: hyperswitch_domain_models
pub fn get_shipping(&self) -> Option<&Address> | crates/hyperswitch_domain_models/src/payment_address.rs | hyperswitch_domain_models | function_signature | null | null | null | 41 | get_shipping | null | null | null | null | null | null |
// Struct: UploadFileRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct UploadFileRequestData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | UploadFileRequestData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Trait: ApiModelToDieselModelConvertor
// File: crates/hyperswitch_domain_models/src/lib.rs
// Module: hyperswitch_domain_models
pub trait ApiModelToDieselModelConvertor<F> | crates/hyperswitch_domain_models/src/lib.rs | hyperswitch_domain_models | trait_definition | null | null | null | 46 | null | null | ApiModelToDieselModelConvertor | null | null | null | null |
// Struct: Product
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Product | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs | hyperswitch_connectors | struct_definition | Product | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payments::{PaymentDimensions, PaymentFilters, PaymentMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchE... | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs | analytics | full_file | null | null | null | 937 | null | null | null | null | null | null | null |
// Struct: AffirmCancelResponse
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AffirmCancelResponse | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | struct_definition | AffirmCancelResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Opayo
// File: crates/hyperswitch_connectors/src/connectors/opayo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Opayo | crates/hyperswitch_connectors/src/connectors/opayo.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Opayo | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl ApiEventMetric for for GetFrmMetricRequest
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Methods: 0 total (0 public)
impl ApiEventMetric for for GetFrmMetricRequest | crates/api_models/src/analytics.rs | api_models | impl_block | null | null | null | 53 | null | GetFrmMetricRequest | ApiEventMetric for | 0 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Volt
// File: crates/hyperswitch_connectors/src/connectors/volt.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Volt | crates/hyperswitch_connectors/src/connectors/volt.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Volt | ConnectorCommon for | 6 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Thunes
// File: crates/hyperswitch_connectors/src/connectors/thunes.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Thunes | crates/hyperswitch_connectors/src/connectors/thunes.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Thunes | api::PaymentVoid for | 0 | 0 | null | null |
// Function: get_sso_auth_url
// File: crates/router/src/core/user.rs
// Module: router
pub fn get_sso_auth_url(
state: SessionState,
request: user_api::GetSsoAuthUrlRequest,
) -> UserResponse<()> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 56 | get_sso_auth_url | null | null | null | null | null | null |
// Function: get_resolved_relation
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
pub fn get_resolved_relation(prev_relation: Self, curr_relation: Self) -> Self | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | function_signature | null | null | null | 48 | get_resolved_relation | null | null | null | null | null | null |
// Struct: MobilePayRedirection
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct MobilePayRedirection | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | MobilePayRedirection | 0 | [] | 45 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/zen.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/zen.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Implementation: impl api::RefundExecute for for Bluecode
// File: crates/hyperswitch_connectors/src/connectors/bluecode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Bluecode | crates/hyperswitch_connectors/src/connectors/bluecode.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Bluecode | api::RefundExecute for | 0 | 0 | null | null |
// Struct: GiftCardBalanceCheckRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GiftCardBalanceCheckRequestData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | GiftCardBalanceCheckRequestData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: GlobalPayPaymentMethodsRequest
// File: crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobalPayPaymentMethodsRequest | crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs | hyperswitch_connectors | struct_definition | GlobalPayPaymentMethodsRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: new
// File: crates/api_models/src/errors/types.rs
// Module: api_models
pub fn new(
sub_code: &'static str,
error_identifier: u16,
error_message: impl ToString,
extra: Option<Extra>,
) -> Self | crates/api_models/src/errors/types.rs | api_models | function_signature | null | null | null | 60 | new | null | null | null | null | null | null |
// Implementation: impl MerchantConnectorAccount
// File: crates/diesel_models/src/query/merchant_connector_account.rs
// Module: diesel_models
// Methods: 6 total (0 public)
impl MerchantConnectorAccount | crates/diesel_models/src/query/merchant_connector_account.rs | diesel_models | impl_block | null | null | null | 43 | null | MerchantConnectorAccount | null | 6 | 0 | null | null |
// Struct: ConsumerAuthenticationInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ConsumerAuthenticationInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | ConsumerAuthenticationInformation | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/router/src/core/blocklist/utils.rs
// Module: router
// Public functions: 7
use api_models::blocklist as api_blocklist;
use common_enums::MerchantDecision;
use common_utils::errors::CustomResult;
use diesel_models::configs;
use error_stack::ResultExt;
use masking::StrongSecret;
use super::{errors, tra... | crates/router/src/core/blocklist/utils.rs | router | full_file | null | null | null | 3,545 | null | null | null | null | null | null | null |
// Struct: HyperswitchVaultCustomerCreateRequest
// File: crates/hyperswitch_connectors/src/connectors/hyperswitch_vault/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HyperswitchVaultCustomerCreateRequest | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault/transformers.rs | hyperswitch_connectors | struct_definition | HyperswitchVaultCustomerCreateRequest | 0 | [] | 59 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | function_signature | null | null | null | 43 | new | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/payment_intent.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<PaymentIntent> | crates/diesel_models/src/query/payment_intent.rs | diesel_models | function_signature | null | null | null | 44 | insert | null | null | null | null | null | null |
// Function: new
// File: crates/drainer/src/settings.rs
// Module: drainer
// Documentation: Panics if secret or encryption management client cannot be initiated
pub fn new(conf: Settings<SecuredSecret>) -> Self | crates/drainer/src/settings.rs | drainer | function_signature | null | null | null | 49 | new | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: SingleChargeData
// File: crates/hyperswitch_connectors/src/connectors/boku/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SingleChargeData | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs | hyperswitch_connectors | struct_definition | SingleChargeData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_count_by_merchant_id_status
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
pub fn get_count_by_merchant_id_status(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
status: common_enums::PaymentMethodStatus,
) -> Stora... | crates/diesel_models/src/query/payment_method.rs | diesel_models | function_signature | null | null | null | 83 | get_count_by_merchant_id_status | null | null | null | null | null | null |
// Struct: ProFeatureRequest
// File: crates/router/src/services/email/types.rs
// Module: router
// Implementations: 1
// Traits: EmailData
pub struct ProFeatureRequest | crates/router/src/services/email/types.rs | router | struct_definition | ProFeatureRequest | 1 | [
"EmailData"
] | 41 | null | null | null | null | null | null | null |
}]"#)]
pub order_details: Option<Vec<Secret<OrderDetailsWithAmount>>>,
/// The URL to redirect after the completion of the operation
#[schema(value_type = String, example = "https://hyperswitch.io")]
pub return_url: Option<common_utils::types::Url>,
/// For non-card charges, you can use this v... | crates/api_models/src/payments.rs#chunk7 | api_models | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Xendit
// File: crates/hyperswitch_connectors/src/connectors/xendit.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Xendit | crates/hyperswitch_connectors/src/connectors/xendit.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Xendit | api::PaymentVoid for | 0 | 0 | null | null |
// Function: profile_list
// File: crates/openapi/src/routes/profile.rs
// Module: openapi
pub fn profile_list() | crates/openapi/src/routes/profile.rs | openapi | function_signature | null | null | null | 28 | profile_list | null | null | null | null | null | null |
// File: crates/external_services/src/grpc_client/dynamic_routing.rs
// Module: external_services
// Public functions: 1
// Public structs: 1
/// Module for Contract based routing
pub mod contract_routing_client;
use std::fmt::Debug;
use common_utils::errors::CustomResult;
use router_env::logger;
use serde;
/// Elim... | crates/external_services/src/grpc_client/dynamic_routing.rs | external_services | full_file | null | null | null | 782 | null | null | null | null | null | null | null |
// Struct: OrderFulfilmentResponse
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OrderFulfilmentResponse | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | OrderFulfilmentResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl std::error::Error for for ApiErrorResponse
// File: crates/api_models/src/errors/types.rs
// Module: api_models
// Methods: 0 total (0 public)
impl std::error::Error for for ApiErrorResponse | crates/api_models/src/errors/types.rs | api_models | impl_block | null | null | null | 51 | null | ApiErrorResponse | std::error::Error for | 0 | 0 | null | null |
// Struct: PaymentMetricsAccumulator
// File: crates/analytics/src/payments/accumulator.rs
// Module: analytics
// Implementations: 1
pub struct PaymentMetricsAccumulator | crates/analytics/src/payments/accumulator.rs | analytics | struct_definition | PaymentMetricsAccumulator | 1 | [] | 41 | null | null | null | null | null | null | null |
// File: crates/euclid/src/frontend/dir.rs
// Module: euclid
// Public functions: 8
// Public structs: 5
//! Domain Intermediate Representation
pub mod enums;
pub mod lowering;
pub mod transformers;
use strum::IntoEnumIterator;
// use common_utils::types::MinorUnit;
use crate::{enums as euclid_enums, frontend::ast, ... | crates/euclid/src/frontend/dir.rs#chunk0 | euclid | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Function: routing_create_config
// File: crates/openapi/src/routes/routing.rs
// Module: openapi
pub fn routing_create_config() | crates/openapi/src/routes/routing.rs | openapi | function_signature | null | null | null | 31 | routing_create_config | null | null | null | null | null | null |
// Function: new_token
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn new_token(
user_id: String,
purpose: TokenPurpose,
origin: domain::Origin,
settings: &Settings,
path: Vec<TokenPurpose>,
tenant_id: Option<id_type::TenantId>,
) -> U... | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 77 | new_token | null | null | null | null | null | null |
// Function: get_resources_set
// File: crates/router/src/services/authorization/roles.rs
// Module: router
pub fn get_resources_set(&self) -> HashSet<Resource> | crates/router/src/services/authorization/roles.rs | router | function_signature | null | null | null | 37 | get_resources_set | null | null | null | null | null | null |
// Struct: NuveiMandateMeta
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiMandateMeta | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiMandateMeta | 0 | [] | 57 | null | null | null | null | null | null | null |
// Struct: MerchantConnectorDeleteResponse
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct MerchantConnectorDeleteResponse | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantConnectorDeleteResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl Flexiti
// File: crates/hyperswitch_connectors/src/connectors/flexiti.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl Flexiti | crates/hyperswitch_connectors/src/connectors/flexiti.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Flexiti | null | 1 | 0 | null | null |
// Implementation: impl Default for for RequiredFields
// File: crates/payment_methods/src/configs/payment_connector_required_fields.rs
// Module: payment_methods
// Methods: 1 total (0 public)
impl Default for for RequiredFields | crates/payment_methods/src/configs/payment_connector_required_fields.rs | payment_methods | impl_block | null | null | null | 47 | null | RequiredFields | Default for | 1 | 0 | null | null |
// Struct: GocardlessRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GocardlessRefundRequest | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | GocardlessRefundRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// File: crates/router/src/types.rs
// Module: router
// Public functions: 1
// Public structs: 11
// FIXME: Why were these data types grouped this way?
//
// Folder `types` is strange for Rust ecosystem, nevertheless it might be okay.
// But folder `enum` is even more strange I unlikely okay. Why should not we introd... | crates/router/src/types.rs#chunk0 | router | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Struct: FacilitapayAuthResponse
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FacilitapayAuthResponse | crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs | hyperswitch_connectors | struct_definition | FacilitapayAuthResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
// Module: hyperswitch_connectors
// Public exports:
pub use hyperswitch_domain_models::router_request_types::fraud_check::RefundMethod;
| crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs | hyperswitch_connectors | module_structure | null | null | null | 57 | null | null | null | null | null | 0 | 1 |
// Struct: BamboraVoidRequest
// File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BamboraVoidRequest | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs | hyperswitch_connectors | struct_definition | BamboraVoidRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
} else {
Err(get_error_response(
&item.response.error_information,
&None,
None,
item.http_code,
item.response.id.clone(),
... | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs#chunk2 | hyperswitch_connectors | chunk | null | null | null | 1,249 | null | null | null | null | null | null | null |
// Implementation: impl Paytm
// File: crates/hyperswitch_connectors/src/connectors/paytm.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Paytm | crates/hyperswitch_connectors/src/connectors/paytm.rs | hyperswitch_connectors | impl_block | null | null | null | 45 | null | Paytm | null | 1 | 1 | null | null |
// Implementation: impl super::auth_events::filters::AuthEventFilterAnalytics for for SqlxClient
// File: crates/analytics/src/sqlx.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::auth_events::filters::AuthEventFilterAnalytics for for SqlxClient | crates/analytics/src/sqlx.rs | analytics | impl_block | null | null | null | 64 | null | SqlxClient | super::auth_events::filters::AuthEventFilterAnalytics for | 0 | 0 | null | null |
// Struct: PaymentMethodDeleteResponse
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodDeleteResponse | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodDeleteResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: execute
// File: crates/diesel_models/src/kv.rs
// Module: diesel_models
pub fn execute(self, conn: &PgPooledConn) -> crate::StorageResult<DBResult> | crates/diesel_models/src/kv.rs | diesel_models | function_signature | null | null | null | 45 | execute | null | null | null | null | null | null |
// Function: description
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
pub fn description(&self) -> Option<&String> | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 46 | description | null | null | null | null | null | null |
// Struct: Webhooks
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 2
pub struct Webhooks | crates/router/src/routes/app.rs | router | struct_definition | Webhooks | 2 | [] | 32 | null | null | null | null | null | null | null |
// Struct: RoleName
// File: crates/router/src/types/domain/user.rs
// Module: router
// Implementations: 1
pub struct RoleName | crates/router/src/types/domain/user.rs | router | struct_definition | RoleName | 1 | [] | 33 | null | null | null | null | null | null | null |
// Struct: SellerStatusResponse
// File: crates/router/src/types/api/connector_onboarding/paypal.rs
// Module: router
// Implementations: 1
pub struct SellerStatusResponse | crates/router/src/types/api/connector_onboarding/paypal.rs | router | struct_definition | SellerStatusResponse | 1 | [] | 40 | null | null | null | null | null | null | null |
// Struct: DwollaRefundSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DwollaRefundSyncResponse | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs | hyperswitch_connectors | struct_definition | DwollaRefundSyncResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: SdkSessionUpdate
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SdkSessionUpdate | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | SdkSessionUpdate | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: NoLevel
// File: crates/router/src/types/domain/user.rs
// Module: router
// Implementations: 0
pub struct NoLevel | crates/router/src/types/domain/user.rs | router | struct_definition | NoLevel | 0 | [] | 33 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Bluecode
// File: crates/hyperswitch_connectors/src/connectors/bluecode.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Bluecode | crates/hyperswitch_connectors/src/connectors/bluecode.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Bluecode | ConnectorCommon for | 6 | 0 | null | null |
// Struct: Timeline
// File: crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Timeline | crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs | hyperswitch_connectors | struct_definition | Timeline | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl Default for for EnableOvercaptureBool
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Methods: 1 total (0 public)
impl Default for for EnableOvercaptureBool | crates/common_types/src/primitive_wrappers.rs | common_types | impl_block | null | null | null | 49 | null | EnableOvercaptureBool | Default for | 1 | 0 | null | null |
// Struct: MollieMetadata
// File: crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MollieMetadata | crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs | hyperswitch_connectors | struct_definition | MollieMetadata | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl CardInfoBuilder
// File: crates/router/src/core/cards_info.rs
// Module: router
// Methods: 2 total (0 public)
impl CardInfoBuilder | crates/router/src/core/cards_info.rs | router | impl_block | null | null | null | 38 | null | CardInfoBuilder | null | 2 | 0 | null | null |
// Struct: VoltRefundWebhookBodyReference
// File: crates/hyperswitch_connectors/src/connectors/volt/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VoltRefundWebhookBodyReference | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs | hyperswitch_connectors | struct_definition | VoltRefundWebhookBodyReference | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: refund_data
// File: crates/router/src/routes/dummy_connector/core.rs
// Module: router
pub fn refund_data(
state: SessionState,
req: types::DummyConnectorRefundRetrieveRequest,
) -> types::DummyConnectorResponse<types::DummyConnectorRefundResponse> | crates/router/src/routes/dummy_connector/core.rs | router | function_signature | null | null | null | 63 | refund_data | null | null | null | null | null | null |
// Implementation: impl ConnectorAuthentication for for Netcetera
// File: crates/hyperswitch_connectors/src/connectors/netcetera.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorAuthentication for for Netcetera | crates/hyperswitch_connectors/src/connectors/netcetera.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Netcetera | ConnectorAuthentication for | 0 | 0 | null | null |
| WalletData::ApplePayThirdPartySdk(_)
| WalletData::DanaRedirect {}
| WalletData::GooglePayRedirect(_)
| WalletData::GooglePayThirdPartySdk(_)
| WalletData::MbWayRedirect(_)
|... | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// File: crates/router/src/core/metrics.rs
// Module: router
use router_env::{counter_metric, global_meter};
global_meter!(GLOBAL_METER, "ROUTER_API");
counter_metric!(INCOMING_DISPUTE_WEBHOOK_METRIC, GLOBAL_METER); // No. of incoming dispute webhooks
counter_metric!(
INCOMING_DISPUTE_WEBHOOK_SIGNATURE_FAILURE_M... | crates/router/src/core/metrics.rs | router | full_file | null | null | null | 942 | null | null | null | null | null | null | null |
// Struct: PaysafeConnectorMetadataObject
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeConnectorMetadataObject | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeConnectorMetadataObject | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: Redirects
// File: crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Redirects | crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs | hyperswitch_connectors | struct_definition | Redirects | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl Default for for OvercaptureEnabledBool
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Methods: 1 total (0 public)
impl Default for for OvercaptureEnabledBool | crates/common_types/src/primitive_wrappers.rs | common_types | impl_block | null | null | null | 49 | null | OvercaptureEnabledBool | Default for | 1 | 0 | null | null |
// Struct: PaymentAccountFeatureInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentAccountFeatureInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | PaymentAccountFeatureInformation | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Hyperwallet
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Hyperwallet | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Hyperwallet | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl ConnectorSpecifications for for Digitalvirgo
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Digitalvirgo | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Digitalvirgo | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: new
// File: crates/drainer/src/services.rs
// Module: drainer
// Documentation: This panic indicates a critical failure in setting up external services, and the application cannot proceed without a valid HashiCorp client.
pub fn new(config: &crate::Settings, test_transaction: bool, tenant: &Tenant) -> S... | crates/drainer/src/services.rs | drainer | function_signature | null | null | null | 71 | new | null | null | null | null | null | null |
// File: crates/api_models/src/analytics/frm.rs
// Module: api_models
// Public functions: 1
// Public structs: 6
use std::{
collections::hash_map::DefaultHasher,
hash::{Hash, Hasher},
};
use common_enums::enums::FraudCheckStatus;
#[derive(
Clone,
Copy,
Debug,
Default,
Eq,
PartialEq,
... | crates/api_models/src/analytics/frm.rs | api_models | full_file | null | null | null | 918 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Fiservemea
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Fiservemea | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Fiservemea | api::PaymentSession for | 0 | 0 | null | null |
// Struct: KafkaSettings
// File: crates/router/src/services/kafka.rs
// Module: router
// Implementations: 1
pub struct KafkaSettings | crates/router/src/services/kafka.rs | router | struct_definition | KafkaSettings | 1 | [] | 33 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/bamboraapac.rs | hyperswitch_connectors | module_structure | null | null | null | 41 | null | null | null | null | null | 1 | 0 |
// Struct: AuthorizedotnetSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizedotnetSyncResponse | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | AuthorizedotnetSyncResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl MerchantContext
// File: crates/hyperswitch_domain_models/src/merchant_context.rs
// Module: hyperswitch_domain_models
// Methods: 2 total (2 public)
impl MerchantContext | crates/hyperswitch_domain_models/src/merchant_context.rs | hyperswitch_domain_models | impl_block | null | null | null | 44 | null | MerchantContext | null | 2 | 2 | null | null |
// Struct: DisputeListPTData
// File: crates/router/src/types/api/disputes.rs
// Module: router
// Implementations: 0
pub struct DisputeListPTData | crates/router/src/types/api/disputes.rs | router | struct_definition | DisputeListPTData | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: BarclaycardRouterData
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardRouterData<T> | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardRouterData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Taxjar
// File: crates/hyperswitch_connectors/src/connectors/taxjar.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Taxjar | crates/hyperswitch_connectors/src/connectors/taxjar.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Taxjar | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: customers_update
// File: crates/router/src/routes/customers.rs
// Module: router
pub fn customers_update(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<id_type::CustomerId>,
json_payload: web::Json<customers::CustomerUpdateRequest>,
) -> HttpResponse | crates/router/src/routes/customers.rs | router | function_signature | null | null | null | 70 | customers_update | null | null | null | null | null | null |
// Struct: DeutschebankRouterData
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankRouterData<T> | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: event_serialize
// File: crates/router_env/src/logger/formatter.rs
// Module: router_env
// Documentation: Serialize event into a buffer of bytes using parent span.
pub fn event_serialize<S>(
&self,
span: Option<&SpanRef<'_, S>>,
event: &Event<'_>,
) -> std::io::Result<Vec<u8>... | crates/router_env/src/logger/formatter.rs | router_env | function_signature | null | null | null | 96 | event_serialize | null | null | null | null | null | null |
// Struct: TokenizedWalletValue1
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct TokenizedWalletValue1 | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | TokenizedWalletValue1 | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: BlackhawknetworkPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BlackhawknetworkPaymentsResponse | crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs | hyperswitch_connectors | struct_definition | BlackhawknetworkPaymentsResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: VerifyRecoveryCodeRequest
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct VerifyRecoveryCodeRequest | crates/api_models/src/user.rs | api_models | struct_definition | VerifyRecoveryCodeRequest | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for DisputeId
// File: crates/router/src/events/api_logs.rs
// Module: router
// Methods: 1 total (0 public)
impl ApiEventMetric for for DisputeId | crates/router/src/events/api_logs.rs | router | impl_block | null | null | null | 48 | null | DisputeId | ApiEventMetric for | 1 | 0 | null | null |
// File: crates/analytics/src/auth_events/sankey.rs
// Module: analytics
// Public functions: 1
// Public structs: 1
use common_enums::AuthenticationStatus;
use common_utils::{
errors::ParsingError,
types::{authentication::AuthInfo, TimeRange},
};
use error_stack::ResultExt;
use router_env::logger;
use crate:... | crates/analytics/src/auth_events/sankey.rs | analytics | full_file | null | null | null | 634 | 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.