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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Request, RequestBuilder, RequestCont... | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs | hyperswitch_connectors | full_file | null | null | null | 4,404 | null | null | null | null | null | null | null |
// Implementation: impl Storage
// File: crates/router_env/src/logger/storage.rs
// Module: router_env
// Methods: 2 total (2 public)
impl Storage | crates/router_env/src/logger/storage.rs | router_env | impl_block | null | null | null | 35 | null | Storage | null | 2 | 2 | null | null |
// Struct: SCA
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SCA | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | SCA | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: from_storage
// File: crates/router/src/services/kafka/fraud_check.rs
// Module: router
pub fn from_storage(check: &'a FraudCheck) -> Self | crates/router/src/services/kafka/fraud_check.rs | router | function_signature | null | null | null | 38 | from_storage | null | null | null | null | null | null |
// Struct: ChargebackCase
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebackCase | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | ChargebackCase | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: BankRedirectRequest
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankRedirectRequest | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | BankRedirectRequest | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: connector_agnostic_mit_toggle
// File: crates/router/src/core/admin.rs
// Module: router
pub fn connector_agnostic_mit_toggle(
state: SessionState,
merchant_id: &id_type::MerchantId,
profile_id: &id_type::ProfileId,
connector_agnostic_mit_choice: admin_types::ConnectorAgnosticMitChoice,
) ... | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 97 | connector_agnostic_mit_toggle | null | null | null | null | null | null |
// Function: create_email_client
// File: crates/router/src/routes/app.rs
// Module: router
pub fn create_email_client(
settings: &settings::Settings<RawSecret>,
) -> Box<dyn EmailService> | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 46 | create_email_client | null | null | null | null | null | null |
// Function: find_by_capture_id
// File: crates/diesel_models/src/query/capture.rs
// Module: diesel_models
pub fn find_by_capture_id(conn: &PgPooledConn, capture_id: &str) -> StorageResult<Self> | crates/diesel_models/src/query/capture.rs | diesel_models | function_signature | null | null | null | 52 | find_by_capture_id | null | null | null | null | null | null |
// Function: get_id
// File: crates/hyperswitch_domain_models/src/customer.rs
// Module: hyperswitch_domain_models
pub fn get_id(&self) -> &id_type::GlobalCustomerId | crates/hyperswitch_domain_models/src/customer.rs | hyperswitch_domain_models | function_signature | null | null | null | 42 | get_id | null | null | null | null | null | null |
// Struct: UnifiedAuthenticationServicePreAuthenticateRequest
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct UnifiedAuthenticationServicePreAuthenticateRequest | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | UnifiedAuthenticationServicePreAuthenticateRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Function: get_gsm_decision
// File: crates/router/src/core/payouts/retry.rs
// Module: router
pub fn get_gsm_decision(
option_gsm: Option<hyperswitch_domain_models::gsm::GatewayStatusMap>,
) -> common_enums::GsmDecision | crates/router/src/core/payouts/retry.rs | router | function_signature | null | null | null | 63 | get_gsm_decision | null | null | null | null | null | null |
// Implementation: impl UnifiedTranslationsNew
// File: crates/diesel_models/src/query/unified_translations.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl UnifiedTranslationsNew | crates/diesel_models/src/query/unified_translations.rs | diesel_models | impl_block | null | null | null | 43 | null | UnifiedTranslationsNew | null | 1 | 0 | null | null |
// Function: get_application_builder
// File: crates/router/src/lib.rs
// Module: router
pub fn get_application_builder(
request_body_limit: usize,
cors: settings::CorsSettings,
) -> actix_web::App<
impl ServiceFactory<
ServiceRequest,
Config = (),
Response = actix_web::dev::Service... | crates/router/src/lib.rs | router | function_signature | null | null | null | 97 | get_application_builder | null | null | null | null | null | null |
// Struct: NexixpayRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexixpayRefundRequest | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | NexixpayRefundRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: ThreeDSRequestorPriorTransactionAuthenticationInformation
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDSRequestorPriorTransactionAuthenticationInformation | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | struct_definition | ThreeDSRequestorPriorTransactionAuthenticationInformation | 0 | [] | 61 | null | null | null | null | null | null | null |
// Struct: NuveiPayoutCardData
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiPayoutCardData | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiPayoutCardData | 0 | [] | 57 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Xendit
// File: crates/hyperswitch_connectors/src/connectors/xendit.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Xendit | crates/hyperswitch_connectors/src/connectors/xendit.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Xendit | api::Refund for | 0 | 0 | null | null |
// Function: get_module_name
// File: crates/test_utils/src/newman_runner.rs
// Module: test_utils
// Documentation: Getter for the `module_name` field
pub fn get_module_name(&self) -> Option<Module> | crates/test_utils/src/newman_runner.rs | test_utils | function_signature | null | null | null | 50 | get_module_name | null | null | null | null | null | null |
// Struct: Recon
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct Recon | crates/router/src/routes/app.rs | router | struct_definition | Recon | 1 | [] | 30 | null | null | null | null | null | null | null |
// Function: get_acs_trans_id
// File: crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// Module: hyperswitch_domain_models
pub fn get_acs_trans_id(&self) -> Option<String> | crates/hyperswitch_domain_models/src/router_request_types/authentication.rs | hyperswitch_domain_models | function_signature | null | null | null | 48 | get_acs_trans_id | null | null | null | null | null | null |
// Struct: Key
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Key | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | Key | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Opayo
// File: crates/hyperswitch_connectors/src/connectors/opayo.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Opayo | crates/hyperswitch_connectors/src/connectors/opayo.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Opayo | ConnectorValidation for | 1 | 0 | null | null |
// Struct: AdyenAccountHolder
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdyenAccountHolder | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | struct_definition | AdyenAccountHolder | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: convert_to_mandate_update
// File: crates/diesel_models/src/mandate.rs
// Module: diesel_models
pub fn convert_to_mandate_update(
self,
storage_scheme: MerchantStorageScheme,
) -> MandateUpdateInternal | crates/diesel_models/src/mandate.rs | diesel_models | function_signature | null | null | null | 56 | convert_to_mandate_update | null | null | null | null | null | null |
// File: crates/api_models/src/refunds.rs
// Module: api_models
// Public functions: 2
// Public structs: 19
use std::collections::HashMap;
pub use common_utils::types::MinorUnit;
use common_utils::{pii, types::TimeRange};
use serde::{Deserialize, Serialize};
use time::PrimitiveDateTime;
use utoipa::ToSchema;
use su... | crates/api_models/src/refunds.rs | api_models | full_file | null | null | null | 5,329 | null | null | null | null | null | null | null |
// Implementation: impl EmailClient for for AwsSes
// File: crates/external_services/src/email/ses.rs
// Module: external_services
// Methods: 2 total (0 public)
impl EmailClient for for AwsSes | crates/external_services/src/email/ses.rs | external_services | impl_block | null | null | null | 49 | null | AwsSes | EmailClient for | 2 | 0 | null | null |
// Struct: SiftPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/sift/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SiftPaymentsRequest | crates/hyperswitch_connectors/src/connectors/sift/transformers.rs | hyperswitch_connectors | struct_definition | SiftPaymentsRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: generate_feature_matrix
// File: crates/router/src/routes/feature_matrix.rs
// Module: router
pub fn generate_feature_matrix(
state: app::SessionState,
req: payment_types::FeatureMatrixRequest,
) -> RouterResponse<feature_matrix::FeatureMatrixListResponse> | crates/router/src/routes/feature_matrix.rs | router | function_signature | null | null | null | 61 | generate_feature_matrix | null | null | null | null | null | null |
// Struct: SubscriptionCreate
// File: crates/hyperswitch_domain_models/src/router_flow_types/subscriptions.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SubscriptionCreate | crates/hyperswitch_domain_models/src/router_flow_types/subscriptions.rs | hyperswitch_domain_models | struct_definition | SubscriptionCreate | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: XenditPaymentResponse
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct XenditPaymentResponse | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | XenditPaymentResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: TransferReversals
// File: crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TransferReversals | crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs | hyperswitch_connectors | struct_definition | TransferReversals | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: get_response_payload
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn get_response_payload(input: JsValue) -> JsResult | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 41 | get_response_payload | null | null | null | null | null | null |
// Struct: ApiKeyUpdateInternal
// File: crates/diesel_models/src/api_keys.rs
// Module: diesel_models
// Implementations: 0
pub struct ApiKeyUpdateInternal | crates/diesel_models/src/api_keys.rs | diesel_models | struct_definition | ApiKeyUpdateInternal | 0 | [] | 39 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/mollie.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Request, RequestBuilder, RequestCon... | crates/hyperswitch_connectors/src/connectors/mollie.rs | hyperswitch_connectors | full_file | null | null | null | 6,135 | null | null | null | null | null | null | null |
// Trait: EntityId
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
pub trait EntityId | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | trait_definition | null | null | null | 34 | null | null | EntityId | null | null | null | null |
// Struct: PaymentInformationResponse
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentInformationResponse | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | PaymentInformationResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Public functions: 20
// Public structs: 71
#[cfg(feature = "v2")]
use std::str::FromStr;
use api_models::{
mandates,
payment_methods::{self},
payments::{additional_info as payment_additional_types,... | crates/hyperswitch_domain_models/src/payment_method_data.rs#chunk0 | hyperswitch_domain_models | chunk | null | null | null | 8,188 | null | null | null | null | null | null | null |
// Function: get_tokenize_connector_id
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
pub fn get_tokenize_connector_id(
&self,
) -> Result<id_type::MerchantConnectorAccountId, error_stack::Report<errors::ValidationError>> | crates/api_models/src/payment_methods.rs | api_models | function_signature | null | null | null | 57 | get_tokenize_connector_id | null | null | null | null | null | null |
// Struct: ClientRiskInformation
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ClientRiskInformation | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | ClientRiskInformation | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: AuthorizedotnetVoidResponse
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizedotnetVoidResponse | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | AuthorizedotnetVoidResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Celero
// File: crates/hyperswitch_connectors/src/connectors/celero.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Celero | crates/hyperswitch_connectors/src/connectors/celero.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Celero | ConnectorSpecifications for | 3 | 0 | null | null |
// Implementation: impl api::PaymentToken for for Celero
// File: crates/hyperswitch_connectors/src/connectors/celero.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Celero | crates/hyperswitch_connectors/src/connectors/celero.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Celero | api::PaymentToken for | 0 | 0 | null | null |
// Function: toggle_extended_card_info
// File: crates/router/src/routes/profiles.rs
// Module: router
pub fn toggle_extended_card_info(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<(
common_utils::id_type::MerchantId,
common_utils::id_type::ProfileId,
) | crates/router/src/routes/profiles.rs | router | function_signature | null | null | null | 75 | toggle_extended_card_info | null | null | null | null | null | null |
// Struct: WisePayoutQuoteResponse
// File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WisePayoutQuoteResponse | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs | hyperswitch_connectors | struct_definition | WisePayoutQuoteResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: get_sankey
// File: crates/analytics/src/auth_events/core.rs
// Module: analytics
pub fn get_sankey(
pool: &AnalyticsProvider,
auth: &AuthInfo,
req: TimeRange,
) -> AnalyticsResult<Vec<SankeyRow>> | crates/analytics/src/auth_events/core.rs | analytics | function_signature | null | null | null | 60 | get_sankey | null | null | null | null | null | null |
// Implementation: impl Webhooks
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Webhooks | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 35 | null | Webhooks | null | 1 | 1 | null | null |
// Function: get_profile_id_list
// File: crates/hyperswitch_domain_models/src/payments/payment_intent.rs
// Module: hyperswitch_domain_models
pub fn get_profile_id_list(&self) -> Option<Vec<id_type::ProfileId>> | crates/hyperswitch_domain_models/src/payments/payment_intent.rs | hyperswitch_domain_models | function_signature | null | null | null | 52 | get_profile_id_list | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/dummyconnector.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Function: routing_retrieve_linked_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn routing_retrieve_linked_config(
state: web::Data<AppState>,
req: HttpRequest,
query: web::Query<routing_types::RoutingRetrieveLinkQuery>,
transaction_type: Option<enums::TransactionType>,
)... | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 78 | routing_retrieve_linked_config | null | null | null | null | null | null |
// Implementation: impl Permission
// File: crates/router_derive/src/macros/generate_permissions.rs
// Module: router_derive
// Methods: 3 total (3 public)
impl Permission | crates/router_derive/src/macros/generate_permissions.rs | router_derive | impl_block | null | null | null | 40 | null | Permission | null | 3 | 3 | null | null |
// Function: create_and_insert_business_profile
// File: crates/router/src/core/admin.rs
// Module: router
pub fn create_and_insert_business_profile(
state: &SessionState,
request: api::ProfileCreate,
merchant_account: domain::MerchantAccount,
key_store: &domain::MerchantKeyStore,
) -> RouterResult<dom... | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 76 | create_and_insert_business_profile | null | null | null | null | null | null |
);
let wallet_flow = match apple_pay_metadata {
Some(domain::ApplePayFlow::Simplified(payment_processing_details)) => Some(
DecideWalletFlow::ApplePayDecrypt(payment_processing_details),
),
Some(domain::ApplePayFlow::Manual) | None => None,
};... | crates/router/src/core/payments.rs#chunk5 | router | chunk | null | null | null | 8,187 | null | null | null | null | null | null | null |
// Implementation: impl fmt::Debug for for SecretBytesMut
// File: crates/masking/src/bytes.rs
// Module: masking
// Methods: 1 total (0 public)
impl fmt::Debug for for SecretBytesMut | crates/masking/src/bytes.rs | masking | impl_block | null | null | null | 48 | null | SecretBytesMut | fmt::Debug for | 1 | 0 | null | null |
// Struct: PayoutListResponse
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct PayoutListResponse | crates/api_models/src/payouts.rs | api_models | struct_definition | PayoutListResponse | 0 | [] | 39 | null | null | null | null | null | null | null |
// File: crates/pm_auth/src/core/errors.rs
// Module: pm_auth
#[derive(Debug, thiserror::Error, PartialEq)]
pub enum ConnectorError {
#[error("Failed to obtain authentication type")]
FailedToObtainAuthType,
#[error("Missing required field: {field_name}")]
MissingRequiredField { field_name: &'static str... | crates/pm_auth/src/core/errors.rs | pm_auth | full_file | null | null | null | 264 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/webhooks.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/webhooks.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// File: crates/router/src/connector.rs
// Module: router
pub mod utils;
#[cfg(feature = "dummy_connector")]
pub use hyperswitch_connectors::connectors::DummyConnector;
pub use hyperswitch_connectors::connectors::{
aci, aci::Aci, adyen, adyen::Adyen, adyenplatform, adyenplatform::Adyenplatform, affirm,
affirm... | crates/router/src/connector.rs | router | full_file | null | null | null | 1,480 | null | 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: ZenErrorBody
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ZenErrorBody | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | ZenErrorBody | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl super::frm::metrics::FrmMetricAnalytics for for SqlxClient
// File: crates/analytics/src/sqlx.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::frm::metrics::FrmMetricAnalytics for for SqlxClient | crates/analytics/src/sqlx.rs | analytics | impl_block | null | null | null | 62 | null | SqlxClient | super::frm::metrics::FrmMetricAnalytics for | 0 | 0 | null | null |
// Implementation: impl api::RefundSync for for Xendit
// File: crates/hyperswitch_connectors/src/connectors/xendit.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Xendit | crates/hyperswitch_connectors/src/connectors/xendit.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Xendit | api::RefundSync for | 0 | 0 | null | null |
// File: crates/router/src/lib.rs
// Module: router
// Public functions: 4
#[cfg(all(feature = "stripe", feature = "v1"))]
pub mod compatibility;
pub mod configs;
pub mod connection;
pub mod connector;
pub mod consts;
pub mod core;
pub mod cors;
pub mod db;
pub mod env;
pub mod locale;
pub(crate) mod macros;
pub mod ... | crates/router/src/lib.rs | router | full_file | null | null | null | 3,558 | null | null | null | null | null | null | null |
AddDepositRecordToSchemeChannel,
UpdateUtilizedAmountFailAfterSuccessResponse,
PidResponseInvalidFormat,
PspNameNotFound,
LangIsMissing,
FailureCallbackUrlInvalid,
SuccessRedirectUrlInvalid,
FailureRedirectUrlInvalid,
LangValueInvalid,
OnlineDepositSessionTimeout,
AccessPayme... | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 655 | null | null | null | null | null | null | null |
// File: crates/masking/tests/basic.rs
// Module: masking
// Public structs: 5
#![allow(dead_code, clippy::unwrap_used, clippy::panic_in_result_fn)]
use masking::Secret;
#[cfg(feature = "serde")]
use masking::SerializableSecret;
#[cfg(feature = "alloc")]
use masking::ZeroizableSecret;
#[cfg(feature = "serde")]
use se... | crates/masking/tests/basic.rs | masking | full_file | null | null | null | 1,049 | null | null | null | null | null | null | null |
// Struct: GetSubscriptionPlanPricesData
// File: crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GetSubscriptionPlanPricesData | crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs | hyperswitch_domain_models | struct_definition | GetSubscriptionPlanPricesData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Authorizedotnet
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Authorizedotnet | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Authorizedotnet | api::Refund for | 0 | 0 | null | null |
// Struct: RoutableConnectorChoice
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 3
// Traits: std::fmt::Display, PartialEq, Eq
pub struct RoutableConnectorChoice | crates/api_models/src/routing.rs | api_models | struct_definition | RoutableConnectorChoice | 3 | [
"std::fmt::Display",
"PartialEq",
"Eq"
] | 51 | null | null | null | null | null | null | null |
// Implementation: impl FileUpload for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl FileUpload for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Stripe | FileUpload for | 1 | 0 | null | null |
// Function: payments_confirm
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_confirm(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsRequest>,
path: web::Path<common_utils::id_type::PaymentId>,
) -> impl Resp... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 82 | payments_confirm | null | null | null | null | null | null |
// Struct: PazeAddress
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PazeAddress | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | struct_definition | PazeAddress | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: Zsl
// File: crates/hyperswitch_connectors/src/connectors/zsl.rs
// Module: hyperswitch_connectors
// Implementations: 16
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refund, ap... | crates/hyperswitch_connectors/src/connectors/zsl.rs | hyperswitch_connectors | struct_definition | Zsl | 16 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"ConnectorCommon",
"ConnectorValidat... | 122 | null | null | null | null | null | null | null |
// Implementation: impl CreateSubscriptionResponse
// File: crates/api_models/src/subscription.rs
// Module: api_models
// Methods: 1 total (1 public)
impl CreateSubscriptionResponse | crates/api_models/src/subscription.rs | api_models | impl_block | null | null | null | 39 | null | CreateSubscriptionResponse | null | 1 | 1 | null | null |
// Struct: TrustpaymentsPaymentResponseData
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 2
pub struct TrustpaymentsPaymentResponseData | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | struct_definition | TrustpaymentsPaymentResponseData | 2 | [] | 52 | null | null | null | null | null | null | null |
// Struct: DecisionEngineSRSubLevelInputConfig
// File: crates/api_models/src/open_router.rs
// Module: api_models
// Implementations: 1
pub struct DecisionEngineSRSubLevelInputConfig | crates/api_models/src/open_router.rs | api_models | struct_definition | DecisionEngineSRSubLevelInputConfig | 1 | [] | 44 | null | null | null | null | null | null | null |
// Function: update
// File: crates/diesel_models/src/query/dynamic_routing_stats.rs
// Module: diesel_models
pub fn update(
conn: &PgPooledConn,
attempt_id: String,
merchant_id: &common_utils::id_type::MerchantId,
dynamic_routing_stat: DynamicRoutingStatsUpdate,
) -> StorageResult<... | crates/diesel_models/src/query/dynamic_routing_stats.rs | diesel_models | function_signature | null | null | null | 76 | update | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Fiservemea
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Fiservemea | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | impl_block | null | null | null | 68 | null | Fiservemea | api::RefundExecute for | 0 | 0 | null | null |
// Struct: ShippingAddress
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ShippingAddress | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | ShippingAddress | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Bitpay
// File: crates/hyperswitch_connectors/src/connectors/bitpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Bitpay | crates/hyperswitch_connectors/src/connectors/bitpay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Bitpay | api::RefundSync for | 0 | 0 | null | null |
// Struct: CardExpiryDate
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardExpiryDate | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs | hyperswitch_connectors | struct_definition | CardExpiryDate | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: update_v1_and_v2_user_roles_in_db
// File: crates/router/src/utils/user_role.rs
// Module: router
pub fn update_v1_and_v2_user_roles_in_db(
state: &SessionState,
user_id: &str,
tenant_id: &id_type::TenantId,
org_id: &id_type::OrganizationId,
merchant_id: Option<&id_type::MerchantId>,
... | crates/router/src/utils/user_role.rs | router | function_signature | null | null | null | 133 | update_v1_and_v2_user_roles_in_db | null | null | null | null | null | null |
// Function: find_by_merchant_id_payout_id
// File: crates/diesel_models/src/query/payouts.rs
// Module: diesel_models
pub fn find_by_merchant_id_payout_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
payout_id: &common_utils::id_type::PayoutId,
) -> StorageResult<... | crates/diesel_models/src/query/payouts.rs | diesel_models | function_signature | null | null | null | 88 | find_by_merchant_id_payout_id | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Nmi
// File: crates/hyperswitch_connectors/src/connectors/nmi.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Nmi | crates/hyperswitch_connectors/src/connectors/nmi.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Nmi | api::Payment for | 0 | 0 | null | null |
// Struct: RedirectResponse
// File: crates/diesel_models/src/types.rs
// Module: diesel_models
// Implementations: 1
// Traits: masking::SerializableSecret
pub struct RedirectResponse | crates/diesel_models/src/types.rs | diesel_models | struct_definition | RedirectResponse | 1 | [
"masking::SerializableSecret"
] | 42 | null | null | null | null | null | null | null |
// Function: list_initial_attempts_by_merchant_id_constraints
// File: crates/diesel_models/src/query/events.rs
// Module: diesel_models
pub fn list_initial_attempts_by_merchant_id_constraints(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
created_after: time::PrimitiveD... | crates/diesel_models/src/query/events.rs | diesel_models | function_signature | null | null | null | 126 | list_initial_attempts_by_merchant_id_constraints | null | null | null | null | null | null |
// File: crates/diesel_models/src/relay.rs
// Module: diesel_models
// Public structs: 3
use common_utils::pii;
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use time::PrimitiveDateTime;
use crate::{enums as storage_enums, schema::relay};
#[derive(
Clone,
Debug,
Eq,
Iden... | crates/diesel_models/src/relay.rs | diesel_models | full_file | null | null | null | 654 | null | null | null | null | null | null | null |
// Function: change_password
// File: crates/router/src/routes/user.rs
// Module: router
pub fn change_password(
state: web::Data<AppState>,
http_req: HttpRequest,
json_payload: web::Json<user_api::ChangePasswordRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 59 | change_password | null | null | null | null | null | null |
// Struct: AddCardResponse
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
// Implementations: 0
pub struct AddCardResponse | crates/router/src/core/payment_methods/transformers.rs | router | struct_definition | AddCardResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: Profile
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Profile | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | Profile | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: default_payouts_list_limit
// File: crates/common_utils/src/consts.rs
// Module: common_utils
// Documentation: Default limit for payouts list API
pub fn default_payouts_list_limit() -> u32 | crates/common_utils/src/consts.rs | common_utils | function_signature | null | null | null | 50 | default_payouts_list_limit | null | null | null | null | null | null |
// Struct: ErrorDetails
// File: crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorDetails | crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs | hyperswitch_connectors | struct_definition | ErrorDetails | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/common_types/src/consts.rs
// Module: common_types
//! Constants that are used in the domain level.
/// API version
#[cfg(feature = "v1")]
pub const API_VERSION: common_enums::ApiVersion = common_enums::ApiVersion::V1;
/// API version
#[cfg(feature = "v2")]
pub const API_VERSION: common_enums::ApiVer... | crates/common_types/src/consts.rs | common_types | full_file | null | null | null | 378 | null | null | null | null | null | null | null |
// Function: generate_authorization_signature
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
pub fn generate_authorization_signature(
&self,
auth: &riskified::RiskifiedAuthType,
payload: &str,
) -> CustomResult<String, ConnectorError> | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | function_signature | null | null | null | 73 | generate_authorization_signature | null | null | null | null | null | null |
// File: crates/router/src/routes/health.rs
// Module: router
// Public functions: 2
use actix_web::{web, HttpRequest};
use api_models::health_check::RouterHealthCheckResponse;
use router_env::{instrument, logger, tracing, Flow};
use super::app;
use crate::{
core::{api_locking, health_check::HealthCheckInterface}... | crates/router/src/routes/health.rs | router | full_file | null | null | null | 1,252 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Blackhawknetwork
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Blackhawknetwork | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Blackhawknetwork | api::Payment for | 0 | 0 | null | null |
// Implementation: impl TokenioErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs
// Module: hyperswitch_connectors
// Methods: 3 total (3 public)
impl TokenioErrorResponse | crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 50 | null | TokenioErrorResponse | null | 3 | 3 | null | null |
// Implementation: impl ConnectorSpecifications for for Getnet
// File: crates/hyperswitch_connectors/src/connectors/getnet.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Getnet | crates/hyperswitch_connectors/src/connectors/getnet.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Getnet | ConnectorSpecifications for | 3 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 8
use common_enums::enums;
use common_utils::types::StringMinorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, Route... | crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 1,720 | 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.