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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Implementation: impl ConnectorRedirectResponse for for Zen
// File: crates/hyperswitch_connectors/src/connectors/zen.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorRedirectResponse for for Zen | crates/hyperswitch_connectors/src/connectors/zen.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Zen | ConnectorRedirectResponse for | 1 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/deutschebank.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::{sync::LazyLock, time::SystemTime};
use actix_web::http::header::Date;
use base64::Engine;
use common_enums::enums;
use common_utils::{
... | crates/hyperswitch_connectors/src/connectors/deutschebank.rs | hyperswitch_connectors | full_file | null | null | null | 8,179 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/api/authentication_v2.rs
// Module: hyperswitch_interfaces
use hyperswitch_domain_models::{
router_data_v2::ExternalAuthenticationFlowData,
router_flow_types::authentication::{
Authentication, PostAuthentication, PreAuthentication, PreAuthenticationVersionCall... | crates/hyperswitch_interfaces/src/api/authentication_v2.rs | hyperswitch_interfaces | full_file | null | null | null | 356 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Airwallex
// File: crates/hyperswitch_connectors/src/connectors/airwallex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Airwallex | crates/hyperswitch_connectors/src/connectors/airwallex.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Airwallex | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl api::RefundSync for for Hipay
// File: crates/hyperswitch_connectors/src/connectors/hipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Hipay | crates/hyperswitch_connectors/src/connectors/hipay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Hipay | api::RefundSync for | 0 | 0 | null | null |
// Function: set_cookie_response
// File: crates/router/src/services/authentication/cookies.rs
// Module: router
pub fn set_cookie_response<R>(response: R, token: Secret<String>) -> UserResponse<R> | crates/router/src/services/authentication/cookies.rs | router | function_signature | null | null | null | 45 | set_cookie_response | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Bamboraapac
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Bamboraapac | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Bamboraapac | api::PaymentSync for | 0 | 0 | null | null |
// File: crates/analytics/src/metrics/request.rs
// Module: analytics
// Public functions: 1
#[inline]
pub async fn record_operation_time<F, R, T>(
future: F,
metric: &router_env::opentelemetry::metrics::Histogram<f64>,
metric_name: &T,
source: &crate::AnalyticsProvider,
) -> R
where
F: futures::Fu... | crates/analytics/src/metrics/request.rs | analytics | full_file | null | null | null | 195 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Mollie
// File: crates/hyperswitch_connectors/src/connectors/mollie.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Mollie | crates/hyperswitch_connectors/src/connectors/mollie.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Mollie | api::PaymentVoid for | 0 | 0 | null | null |
// Function: payments_complete_authorize_redirect_with_creds_identifier
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_complete_authorize_redirect_with_creds_identifier(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: Option<web::Form<serde_json:... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 112 | payments_complete_authorize_redirect_with_creds_identifier | null | null | null | null | null | null |
// File: crates/router/src/types/storage/routing_algorithm.rs
// Module: router
pub use diesel_models::routing_algorithm::{
RoutingAlgorithm, RoutingAlgorithmMetadata, RoutingProfileMetadata,
};
| crates/router/src/types/storage/routing_algorithm.rs | router | full_file | null | null | null | 39 | null | null | null | null | null | null | null |
// Function: payment_methods_session_retrieve
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn payment_methods_session_retrieve(
state: SessionState,
merchant_context: domain::MerchantContext,
payment_method_session_id: id_type::GlobalPaymentMethodSessionId,
) -> RouterResponse<p... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 76 | payment_methods_session_retrieve | null | null | null | null | null | null |
// Function: validate
// File: crates/scheduler/src/settings.rs
// Module: scheduler
pub fn validate(&self) -> Result<(), ApplicationError> | crates/scheduler/src/settings.rs | scheduler | function_signature | null | null | null | 32 | validate | null | null | null | null | null | null |
// Implementation: impl super::payments::filters::PaymentFilterAnalytics for for SqlxClient
// File: crates/analytics/src/sqlx.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::payments::filters::PaymentFilterAnalytics for for SqlxClient | crates/analytics/src/sqlx.rs | analytics | impl_block | null | null | null | 60 | null | SqlxClient | super::payments::filters::PaymentFilterAnalytics for | 0 | 0 | null | null |
// Struct: SamsungPayFluidDataValue
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SamsungPayFluidDataValue | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | SamsungPayFluidDataValue | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: AccessTokenAuthenticationRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AccessTokenAuthenticationRequestData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | AccessTokenAuthenticationRequestData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: PayuErrorData
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayuErrorData | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | struct_definition | PayuErrorData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: WebhookPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WebhookPaymentInformation | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | WebhookPaymentInformation | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: Status
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Status | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | Status | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Wellsfargopayout
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Wellsfargopayout | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Wellsfargopayout | api::PaymentSync for | 0 | 0 | null | null |
// Implementation: impl api::RefundExecute for for Prophetpay
// File: crates/hyperswitch_connectors/src/connectors/prophetpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Prophetpay | crates/hyperswitch_connectors/src/connectors/prophetpay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Prophetpay | api::RefundExecute for | 0 | 0 | null | null |
// Struct: AciPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AciPaymentsRequest | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | AciPaymentsRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: save_payment_method
// File: crates/router/src/core/payments/tokenization.rs
// Module: router
pub fn save_payment_method<FData>(
state: &SessionState,
connector_name: String,
save_payment_method_data: SavePaymentMethodData<FData>,
customer_id: Option<id_type::CustomerId>,
merchant_con... | crates/router/src/core/payments/tokenization.rs | router | function_signature | null | null | null | 219 | save_payment_method | null | null | null | null | null | null |
// Function: get_auth_event_metrics_info
// File: crates/analytics/src/utils.rs
// Module: analytics
pub fn get_auth_event_metrics_info() -> Vec<NameDescription> | crates/analytics/src/utils.rs | analytics | function_signature | null | null | null | 38 | get_auth_event_metrics_info | null | null | null | null | null | null |
// Trait: SeriesBucket
// File: crates/analytics/src/query.rs
// Module: analytics
pub trait SeriesBucket | crates/analytics/src/query.rs | analytics | trait_definition | null | null | null | 25 | null | null | SeriesBucket | null | null | null | null |
// Struct: AuthorizedotnetPaymentProfileRequest
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizedotnetPaymentProfileRequest | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | AuthorizedotnetPaymentProfileRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// File: crates/euclid/benches/backends.rs
// Module: euclid
#![allow(unused, clippy::expect_used)]
use common_utils::types::MinorUnit;
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use euclid::{
backend::{inputs, EuclidBackend, InterpreterBackend, VirInterpreterBackend},
enums,
... | crates/euclid/benches/backends.rs | euclid | full_file | null | null | null | 685 | null | null | null | null | null | null | null |
// Function: validate
// File: crates/router/src/configs/validations.rs
// Module: router
pub fn validate(&self) -> Result<(), ApplicationError> | crates/router/src/configs/validations.rs | router | function_signature | null | null | null | 35 | validate | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Worldline
// File: crates/hyperswitch_connectors/src/connectors/worldline.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Worldline | crates/hyperswitch_connectors/src/connectors/worldline.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Worldline | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: PaymentsCaptureData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentsCaptureData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | PaymentsCaptureData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: proxy
// File: crates/router/src/routes/proxy.rs
// Module: router
pub fn proxy(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
payload: web::Json<api_models::proxy::ProxyRequest>,
) -> impl Responder | crates/router/src/routes/proxy.rs | router | function_signature | null | null | null | 65 | proxy | null | null | null | null | null | null |
// Struct: AuthenticationDetails
// File: crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AuthenticationDetails | crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs | hyperswitch_domain_models | struct_definition | AuthenticationDetails | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: PaymeVoidResponse
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymeVoidResponse | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | PaymeVoidResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod payouts;
// Public exports:
pub use payouts::*;
| crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers.rs | hyperswitch_connectors | module_structure | null | null | null | 51 | null | null | null | null | null | 1 | 1 |
// Function: send_request_to_key_service_for_user
// File: crates/router/src/core/encryption.rs
// Module: router
pub fn send_request_to_key_service_for_user(
state: &SessionState,
keys: Vec<UserKeyStore>,
) -> errors::CustomResult<usize, errors::ApiErrorResponse> | crates/router/src/core/encryption.rs | router | function_signature | null | null | null | 65 | send_request_to_key_service_for_user | null | null | null | null | null | null |
// File: crates/common_utils/src/errors.rs
// Module: common_utils
// Public structs: 1
//! Errors and error specific types for universal use
use crate::types::MinorUnit;
/// Custom Result
/// A custom datatype that wraps the error variant <E> into a report, allowing
/// error_stack::Report<E> specific extendability... | crates/common_utils/src/errors.rs | common_utils | full_file | null | null | null | 1,853 | null | null | null | null | null | null | null |
// Struct: AirwallexOrderData
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AirwallexOrderData | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AirwallexOrderData | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: CashtocodePaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CashtocodePaymentsRequest | crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs | hyperswitch_connectors | struct_definition | CashtocodePaymentsRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl DerefMut for for Memoization
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (0 public)
impl DerefMut for for Memoization | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 52 | null | Memoization | DerefMut for | 1 | 0 | null | null |
// Implementation: impl api::PayoutFulfill for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutFulfill for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Paypal | api::PayoutFulfill for | 0 | 0 | null | null |
// File: crates/hyperswitch_domain_models/src/payments/payment_intent.rs
// Module: hyperswitch_domain_models
// Public functions: 4
// Public structs: 6
use common_types::primitive_wrappers;
#[cfg(feature = "v1")]
use common_utils::consts::PAYMENTS_LIST_MAX_LIMIT_V2;
#[cfg(feature = "v2")]
use common_utils::errors::P... | crates/hyperswitch_domain_models/src/payments/payment_intent.rs#chunk0 | hyperswitch_domain_models | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// File: crates/router/src/types/storage/blocklist_fingerprint.rs
// Module: router
pub use diesel_models::blocklist_fingerprint::{BlocklistFingerprint, BlocklistFingerprintNew};
| crates/router/src/types/storage/blocklist_fingerprint.rs | router | full_file | null | null | null | 40 | null | null | null | null | null | null | null |
// Struct: PaymentIntentUpdateMems
// File: crates/diesel_models/src/kv.rs
// Module: diesel_models
// Implementations: 0
pub struct PaymentIntentUpdateMems | crates/diesel_models/src/kv.rs | diesel_models | struct_definition | PaymentIntentUpdateMems | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: profile_retrieve
// File: crates/openapi/src/routes/profile.rs
// Module: openapi
pub fn profile_retrieve() | crates/openapi/src/routes/profile.rs | openapi | function_signature | null | null | null | 30 | profile_retrieve | null | null | null | null | null | null |
// Function: get_token
// File: crates/router/src/types/domain/user/decision_manager.rs
// Module: router
pub fn get_token(&self, state: &SessionState) -> UserResult<Secret<String>> | crates/router/src/types/domain/user/decision_manager.rs | router | function_signature | null | null | null | 45 | get_token | null | null | null | null | null | null |
// Struct: ConnectorPTMapping
// File: crates/scheduler/src/consumer/types/process_data.rs
// Module: scheduler
// Implementations: 1
// Traits: Default
pub struct ConnectorPTMapping | crates/scheduler/src/consumer/types/process_data.rs | scheduler | struct_definition | ConnectorPTMapping | 1 | [
"Default"
] | 43 | null | null | null | null | null | null | null |
// Struct: AdyenParamsWithThreeBaseUrls
// File: crates/hyperswitch_domain_models/src/connector_endpoints.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AdyenParamsWithThreeBaseUrls | crates/hyperswitch_domain_models/src/connector_endpoints.rs | hyperswitch_domain_models | struct_definition | AdyenParamsWithThreeBaseUrls | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: StripebillingWebhookLineDataPeriod
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripebillingWebhookLineDataPeriod | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | StripebillingWebhookLineDataPeriod | 0 | [] | 56 | null | null | null | null | null | null | null |
// Implementation: impl KafkaMessage for for OutgoingWebhookEvent
// File: crates/router/src/events/outgoing_webhook_logs.rs
// Module: router
// Methods: 2 total (0 public)
impl KafkaMessage for for OutgoingWebhookEvent | crates/router/src/events/outgoing_webhook_logs.rs | router | impl_block | null | null | null | 53 | null | OutgoingWebhookEvent | KafkaMessage for | 2 | 0 | null | null |
// Function: list_orgs_for_user
// File: crates/router/src/routes/user.rs
// Module: router
pub fn list_orgs_for_user(state: web::Data<AppState>, req: HttpRequest) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 45 | list_orgs_for_user | null | null | null | null | null | null |
// Struct: CybersourceVoidRequest
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceVoidRequest | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceVoidRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/masking/src/string.rs
// Module: masking
//! Secret strings
//!
//! There is not alias type by design.
use alloc::{
str::FromStr,
string::{String, ToString},
};
#[cfg(feature = "serde")]
use super::SerializableSecret;
use super::{Secret, Strategy};
use crate::StrongSecret;
#[cfg(feature = "s... | crates/masking/src/string.rs | masking | full_file | null | null | null | 210 | null | null | null | null | null | null | null |
// Function: retrieve_payment_method_from_vault_using_payment_token
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn retrieve_payment_method_from_vault_using_payment_token(
state: &routes::SessionState,
merchant_context: &domain::MerchantContext,
profile: &domain::Profile,
... | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 108 | retrieve_payment_method_from_vault_using_payment_token | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Bamboraapac
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Bamboraapac | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Bamboraapac | ConnectorValidation for | 1 | 0 | null | null |
// Implementation: impl Default for for SqlxClient
// File: crates/analytics/src/sqlx.rs
// Module: analytics
// Methods: 1 total (0 public)
impl Default for for SqlxClient | crates/analytics/src/sqlx.rs | analytics | impl_block | null | null | null | 44 | null | SqlxClient | Default for | 1 | 0 | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Paysafe
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Paysafe | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Paysafe | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Implementation: impl EuclidDirFilter for for ConditionalConfigs
// File: crates/common_types/src/payments.rs
// Module: common_types
// Methods: 0 total (0 public)
impl EuclidDirFilter for for ConditionalConfigs | crates/common_types/src/payments.rs | common_types | impl_block | null | null | null | 49 | null | ConditionalConfigs | EuclidDirFilter for | 0 | 0 | null | null |
// Implementation: impl api::PaymentSession for for Opayo
// File: crates/hyperswitch_connectors/src/connectors/opayo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Opayo | crates/hyperswitch_connectors/src/connectors/opayo.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Opayo | api::PaymentSession for | 0 | 0 | null | null |
// Function: authentication_post_sync_core
// File: crates/router/src/core/unified_authentication_service.rs
// Module: router
pub fn authentication_post_sync_core(
state: SessionState,
merchant_context: domain::MerchantContext,
req: AuthenticationSyncPostUpdateRequest,
) -> RouterResponse<()> | crates/router/src/core/unified_authentication_service.rs | router | function_signature | null | null | null | 62 | authentication_post_sync_core | null | null | null | null | null | null |
// Struct: PaymentsErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentsErrorResponse | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | PaymentsErrorResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: JuspaythreedsserverErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JuspaythreedsserverErrorResponse | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs | hyperswitch_connectors | struct_definition | JuspaythreedsserverErrorResponse | 0 | [] | 62 | null | null | null | null | null | null | null |
// Struct: ProfileSetter
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ProfileSetter | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | struct_definition | ProfileSetter | 0 | [] | 40 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/tokenex.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Request, RequestBuilder, Reques... | crates/hyperswitch_connectors/src/connectors/tokenex.rs | hyperswitch_connectors | full_file | null | null | null | 3,049 | null | null | null | null | null | null | null |
// Struct: SignifydPaymentsRecordReturnRequest
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SignifydPaymentsRecordReturnRequest | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs | hyperswitch_connectors | struct_definition | SignifydPaymentsRecordReturnRequest | 0 | [] | 57 | null | null | null | null | null | null | null |
// Struct: PaymentIntentFilterRow
// File: crates/analytics/src/payment_intents/filters.rs
// Module: analytics
// Implementations: 0
pub struct PaymentIntentFilterRow | crates/analytics/src/payment_intents/filters.rs | analytics | struct_definition | PaymentIntentFilterRow | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: is_internal
// File: crates/router/src/services/authorization/roles.rs
// Module: router
pub fn is_internal(&self) -> bool | crates/router/src/services/authorization/roles.rs | router | function_signature | null | null | null | 33 | is_internal | null | null | null | null | null | null |
// Struct: PaysafeRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeRefundRequest | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeRefundRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Peachpayments
// File: crates/hyperswitch_connectors/src/connectors/peachpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Peachpayments | crates/hyperswitch_connectors/src/connectors/peachpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Peachpayments | api::Refund for | 0 | 0 | null | null |
// Trait: RefundDistribution
// File: crates/analytics/src/refunds/distribution.rs
// Module: analytics
pub trait RefundDistribution<T> | crates/analytics/src/refunds/distribution.rs | analytics | trait_definition | null | null | null | 32 | null | null | RefundDistribution | null | null | null | null |
// Struct: AcquirerData
// File: crates/api_models/src/three_ds_decision_rule.rs
// Module: api_models
// Implementations: 0
pub struct AcquirerData | crates/api_models/src/three_ds_decision_rule.rs | api_models | struct_definition | AcquirerData | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl RoleInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 8 total (0 public)
impl RoleInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 45 | null | KafkaStore | RoleInterface for | 8 | 0 | null | null |
// Function: set_three_d_s_server_trans_i_d
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
pub fn set_three_d_s_server_trans_i_d(mut self, three_d_s_server_trans_i_d: String) -> Self | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 65 | set_three_d_s_server_trans_i_d | null | null | null | null | null | null |
// Function: default_response_headers
// File: crates/router/src/middleware.rs
// Module: router
// Documentation: Middleware for attaching default response headers. Headers with the same key already set in a response will not be overwritten.
pub fn default_response_headers() -> actix_web::middleware::DefaultHeaders | crates/router/src/middleware.rs | router | function_signature | null | null | null | 62 | default_response_headers | null | null | null | null | null | null |
// Function: response_handler
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn response_handler(
state: &SessionState,
merchant_context: &domain::MerchantContext,
payout_data: &PayoutData,
) -> RouterResult<payouts::PayoutCreateResponse> | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 67 | response_handler | null | null | null | null | null | null |
// Implementation: impl PaymentCapture for for Payone
// File: crates/hyperswitch_connectors/src/connectors/payone.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentCapture for for Payone | crates/hyperswitch_connectors/src/connectors/payone.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Payone | PaymentCapture for | 0 | 0 | null | null |
// Struct: FrmFulfillmentSignifydApiResponse
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FrmFulfillmentSignifydApiResponse | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs | hyperswitch_connectors | struct_definition | FrmFulfillmentSignifydApiResponse | 0 | [] | 59 | null | null | null | null | null | null | null |
// Function: create_user_theme
// File: crates/router/src/routes/user/theme.rs
// Module: router
pub fn create_user_theme(
state: web::Data<AppState>,
req: HttpRequest,
payload: web::Json<theme_api::CreateUserThemeRequest>,
) -> HttpResponse | crates/router/src/routes/user/theme.rs | router | function_signature | null | null | null | 61 | create_user_theme | null | null | null | null | null | null |
// Implementation: impl DelReply
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
// Methods: 2 total (2 public)
impl DelReply | crates/redis_interface/src/types.rs | redis_interface | impl_block | null | null | null | 37 | null | DelReply | null | 2 | 2 | null | null |
// Implementation: impl ConnectorSpecifications for for Zen
// File: crates/hyperswitch_connectors/src/connectors/zen.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Zen | crates/hyperswitch_connectors/src/connectors/zen.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Zen | ConnectorSpecifications for | 3 | 0 | null | null |
// File: crates/analytics/src/connector_events/core.rs
// Module: analytics
// Public functions: 1
use api_models::analytics::connector_events::ConnectorEventsRequest;
use common_utils::errors::ReportSwitchExt;
use error_stack::ResultExt;
use super::events::{get_connector_events, ConnectorEventsResult};
use crate::{e... | crates/analytics/src/connector_events/core.rs | analytics | full_file | null | null | null | 248 | null | null | null | null | null | null | null |
// Function: check_user_in_blacklist
// File: crates/router/src/services/authentication/blacklist.rs
// Module: router
pub fn check_user_in_blacklist<A: SessionStateInfo>(
state: &A,
user_id: &str,
token_expiry: u64,
) -> RouterResult<bool> | crates/router/src/services/authentication/blacklist.rs | router | function_signature | null | null | null | 66 | check_user_in_blacklist | null | null | null | null | null | null |
// Struct: BankRedirectionPMData
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankRedirectionPMData | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | BankRedirectionPMData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: CaptureTransactionData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CaptureTransactionData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | CaptureTransactionData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 1 total (0 public)
impl KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 37 | null | KafkaStore | null | 1 | 0 | null | null |
// File: crates/router/src/routes/configs.rs
// Module: router
// Public functions: 4
use actix_web::{web, HttpRequest, Responder};
use router_env::{instrument, tracing, Flow};
use super::app::AppState;
use crate::{
core::{api_locking, configs},
services::{api, authentication as auth},
types::api as api_t... | crates/router/src/routes/configs.rs | router | full_file | null | null | null | 687 | null | null | null | null | null | null | null |
// Function: get_sdk_event_metrics_info
// File: crates/analytics/src/utils.rs
// Module: analytics
pub fn get_sdk_event_metrics_info() -> Vec<NameDescription> | crates/analytics/src/utils.rs | analytics | function_signature | null | null | null | 38 | get_sdk_event_metrics_info | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Nexinets
// File: crates/hyperswitch_connectors/src/connectors/nexinets.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Nexinets | crates/hyperswitch_connectors/src/connectors/nexinets.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Nexinets | ConnectorCommon for | 5 | 0 | null | null |
// Struct: Score
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Score | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | Score | 0 | [] | 46 | null | null | null | null | null | null | null |
// Trait: DynamicRoutingCache
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub trait DynamicRoutingCache | crates/router/src/core/routing/helpers.rs | router | trait_definition | null | null | null | 29 | null | null | DynamicRoutingCache | null | null | null | null |
// Struct: MerchantAccountUpdate
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 2
pub struct MerchantAccountUpdate | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantAccountUpdate | 2 | [] | 35 | null | null | null | null | null | null | null |
// Struct: CommonMandateReference
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
// Implementations: 1
pub struct CommonMandateReference | crates/diesel_models/src/payment_method.rs | diesel_models | struct_definition | CommonMandateReference | 1 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for CurrencyConversionResponse
// File: crates/api_models/src/currency.rs
// Module: api_models
// Methods: 0 total (0 public)
impl ApiEventMetric for for CurrencyConversionResponse | crates/api_models/src/currency.rs | api_models | impl_block | null | null | null | 49 | null | CurrencyConversionResponse | ApiEventMetric for | 0 | 0 | null | null |
// Struct: KafkaAuthentication
// File: crates/router/src/services/kafka/authentication.rs
// Module: router
// Implementations: 2
// Traits: super::KafkaMessage
pub struct KafkaAuthentication<'a> | crates/router/src/services/kafka/authentication.rs | router | struct_definition | KafkaAuthentication | 2 | [
"super::KafkaMessage"
] | 46 | null | null | null | null | null | null | null |
// Struct: CancelResponseData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CancelResponseData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | CancelResponseData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: GigadatPaymentResponse
// File: crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GigadatPaymentResponse | crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs | hyperswitch_connectors | struct_definition | GigadatPaymentResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/braintree.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/braintree.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Struct: BarclaycardErrorInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardErrorInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardErrorInformation | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: WalletRequest
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WalletRequest | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | WalletRequest | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: create_role_v2
// File: crates/router/src/routes/user_role.rs
// Module: router
pub fn create_role_v2(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<role_api::CreateRoleV2Request>,
) -> HttpResponse | crates/router/src/routes/user_role.rs | router | function_signature | null | null | null | 65 | create_role_v2 | null | null | null | null | null | null |
// File: crates/analytics/src/payment_intents/filters.rs
// Module: analytics
// Public functions: 1
// Public structs: 1
use api_models::analytics::{payment_intents::PaymentIntentDimensions, Granularity, TimeRange};
use common_utils::errors::ReportSwitchExt;
use diesel_models::enums::{AuthenticationType, Currency, In... | crates/analytics/src/payment_intents/filters.rs | analytics | full_file | null | null | null | 558 | 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.