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/test_utils/tests/connectors/selenium.rs
// Module: test_utils
// Public functions: 5
// Public structs: 7
#![allow(
clippy::expect_used,
clippy::panic,
clippy::unwrap_in_result,
clippy::missing_panics_doc,
clippy::unwrap_used
)]
use std::{
collections::{HashMap, HashSet},
en... | crates/test_utils/tests/connectors/selenium.rs | test_utils | full_file | null | null | null | 7,314 | null | null | null | null | null | null | null |
// Struct: Proxy
// File: crates/hyperswitch_interfaces/src/types.rs
// Module: hyperswitch_interfaces
// Implementations: 1
// Traits: Default
pub struct Proxy | crates/hyperswitch_interfaces/src/types.rs | hyperswitch_interfaces | struct_definition | Proxy | 1 | [
"Default"
] | 40 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Function: list_metadata_by_merchant_id
// File: crates/diesel_models/src/query/routing_algorithm.rs
// Module: diesel_models
pub fn list_metadata_by_merchant_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
limit: i64,
offset: i64,
) -> StorageResult<Vec<... | crates/diesel_models/src/query/routing_algorithm.rs | diesel_models | function_signature | null | null | null | 87 | list_metadata_by_merchant_id | null | null | null | null | null | null |
// Struct: RefundsData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RefundsData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | RefundsData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Trait: PayoutIndividualDetailsExt
// File: crates/router/src/types.rs
// Module: router
pub trait PayoutIndividualDetailsExt | crates/router/src/types.rs | router | trait_definition | null | null | null | 30 | null | null | PayoutIndividualDetailsExt | null | null | null | null |
// Struct: CardTestingGuardData
// File: crates/hyperswitch_domain_models/src/card_testing_guard_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct CardTestingGuardData | crates/hyperswitch_domain_models/src/card_testing_guard_data.rs | hyperswitch_domain_models | struct_definition | CardTestingGuardData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Itaubank
// File: crates/hyperswitch_connectors/src/connectors/itaubank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Itaubank | crates/hyperswitch_connectors/src/connectors/itaubank.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Itaubank | api::RefundSync for | 0 | 0 | null | null |
// Module Structure
// File: crates/analytics/src/api_event/metrics.rs
// Module: analytics
// Public submodules:
pub mod latency;
| crates/analytics/src/api_event/metrics.rs | analytics | module_structure | null | null | null | 31 | null | null | null | null | null | 1 | 0 |
// Function: to_num
// File: crates/euclid_macros/src/inner/enum_nums.rs
// Module: euclid_macros
pub fn to_num(&self) -> usize | crates/euclid_macros/src/inner/enum_nums.rs | euclid_macros | function_signature | null | null | null | 38 | to_num | null | null | null | null | null | null |
// Implementation: impl DummySignal
// File: crates/common_utils/src/signals.rs
// Module: common_utils
// Methods: 2 total (2 public)
impl DummySignal | crates/common_utils/src/signals.rs | common_utils | impl_block | null | null | null | 37 | null | DummySignal | null | 2 | 2 | null | null |
// Function: profile_create
// File: crates/openapi/src/routes/profile.rs
// Module: openapi
pub fn profile_create() | crates/openapi/src/routes/profile.rs | openapi | function_signature | null | null | null | 28 | profile_create | null | null | null | null | null | null |
// Struct: CheckoutApplePayData
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutApplePayData | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutApplePayData | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/smithy-core/src/types.rs
// Module: smithy-core
// Public functions: 1
// Public structs: 5
// crates/smithy-core/types.rs
use std::collections::HashMap;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct SmithyModel {
pub namespace: String,
pub s... | crates/smithy-core/src/types.rs | smithy-core | full_file | null | null | null | 2,751 | null | null | null | null | null | null | null |
// Function: list_user_authentication_methods_for_email_domain
// File: crates/diesel_models/src/query/user_authentication_method.rs
// Module: diesel_models
pub fn list_user_authentication_methods_for_email_domain(
conn: &PgPooledConn,
email_domain: &str,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/user_authentication_method.rs | diesel_models | function_signature | null | null | null | 65 | list_user_authentication_methods_for_email_domain | null | null | null | null | null | null |
// Function: get_customer_details_from_request
// File: crates/router/src/core/payouts/helpers.rs
// Module: router
pub fn get_customer_details_from_request(
request: &payouts::PayoutCreateRequest,
) -> CustomerDetails | crates/router/src/core/payouts/helpers.rs | router | function_signature | null | null | null | 52 | get_customer_details_from_request | null | null | null | null | null | null |
// Struct: NovalnetPSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetPSyncResponse | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetPSyncResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: WellsfargoRsyncResponse
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WellsfargoRsyncResponse | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | WellsfargoRsyncResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: link_routing_config_under_profile
// File: crates/router/src/core/routing.rs
// Module: router
pub fn link_routing_config_under_profile(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id: common_utils::id_type::ProfileId,
algorithm_id: common_utils::id_type::Routin... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 96 | link_routing_config_under_profile | null | null | null | null | null | null |
message: format!("limit should be in between 1 and {PAYMENTS_LIST_MAX_LIMIT_V1}"),
})
},
)?;
Ok(())
}
#[cfg(feature = "olap")]
pub(super) fn validate_payment_list_request_for_joins(
limit: u32,
) -> CustomResult<(), errors::ApiErrorResponse> {
use common_utils::consts... | crates/router/src/core/payments/helpers.rs#chunk3 | router | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Function: payments_session_core
// File: crates/router/src/core/payments/session_operation.rs
// Module: router
pub fn payments_session_core<F, Res, Req, Op, FData, D>(
state: SessionState,
req_state: ReqState,
merchant_context: domain::MerchantContext,
profile: domain::Profile,
operation: Op,
... | crates/router/src/core/payments/session_operation.rs | router | function_signature | null | null | null | 289 | payments_session_core | null | null | null | null | null | null |
// Implementation: impl AuthenticationUpdateInternal
// File: crates/diesel_models/src/authentication.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl AuthenticationUpdateInternal | crates/diesel_models/src/authentication.rs | diesel_models | impl_block | null | null | null | 39 | null | AuthenticationUpdateInternal | null | 1 | 1 | null | null |
// Struct: ThreeDSRequestDeviceData
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDSRequestDeviceData | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | struct_definition | ThreeDSRequestDeviceData | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/phonepe.rs
// Module: router
use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData};
use masking::Secret;
use router::types::{self, api, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
s... | crates/router/tests/connectors/phonepe.rs | router | full_file | null | null | null | 2,932 | null | null | null | null | null | null | null |
// Function: update_gateway_score_with_open_router
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn update_gateway_score_with_open_router(
state: &SessionState,
payment_connector: api_routing::RoutableConnectorChoice,
profile_id: &common_utils::id_type::ProfileId,
merchant_i... | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 115 | update_gateway_score_with_open_router | null | null | null | null | null | null |
// Struct: Message
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Message | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | Message | 0 | [] | 43 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/fiserv.rs
// Module: hyperswitch_connectors
// Public functions: 2
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use base64::Engine;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request... | crates/hyperswitch_connectors/src/connectors/fiserv.rs | hyperswitch_connectors | full_file | null | null | null | 7,782 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Mifinity
// File: crates/hyperswitch_connectors/src/connectors/mifinity.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Mifinity | crates/hyperswitch_connectors/src/connectors/mifinity.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Mifinity | api::RefundExecute for | 0 | 0 | null | null |
// File: crates/api_models/src/user/theme.rs
// Module: api_models
// Public structs: 8
use actix_multipart::form::{bytes::Bytes, text::Text, MultipartForm};
use common_enums::EntityType;
use common_utils::{
id_type,
types::user::{EmailThemeConfig, ThemeLineage},
};
use masking::Secret;
use serde::{Deserialize... | crates/api_models/src/user/theme.rs | api_models | full_file | null | null | null | 924 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Novalnet
// File: crates/hyperswitch_connectors/src/connectors/novalnet.rs
// Module: hyperswitch_connectors
// Methods: 2 total (0 public)
impl ConnectorValidation for for Novalnet | crates/hyperswitch_connectors/src/connectors/novalnet.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Novalnet | ConnectorValidation for | 2 | 0 | null | null |
// Struct: PayoutAttemptResponse
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct PayoutAttemptResponse | crates/api_models/src/payouts.rs | api_models | struct_definition | PayoutAttemptResponse | 0 | [] | 39 | null | null | null | null | null | null | null |
// Function: is_pre_network_tokenization_enabled
// File: crates/router/src/core/payments.rs
// Module: router
pub fn is_pre_network_tokenization_enabled(
state: &SessionState,
business_profile: &domain::Profile,
customer_acceptance: Option<Secret<serde_json::Value>>,
connector_name: enums::Connector,
... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 76 | is_pre_network_tokenization_enabled | null | null | null | null | null | null |
// Function: from_top_level_error
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
pub fn from_top_level_error(msg: String) -> Self | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 49 | from_top_level_error | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Shift4
// File: crates/hyperswitch_connectors/src/connectors/shift4.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Shift4 | crates/hyperswitch_connectors/src/connectors/shift4.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Shift4 | ConnectorCommon for | 5 | 0 | null | null |
// Function: get_merchant_account
// File: crates/hyperswitch_domain_models/src/merchant_context.rs
// Module: hyperswitch_domain_models
pub fn get_merchant_account(&self) -> &MerchantAccount | crates/hyperswitch_domain_models/src/merchant_context.rs | hyperswitch_domain_models | function_signature | null | null | null | 45 | get_merchant_account | null | null | null | null | null | null |
// Struct: DecideGatewayResponse
// File: crates/api_models/src/open_router.rs
// Module: api_models
// Implementations: 0
pub struct DecideGatewayResponse | crates/api_models/src/open_router.rs | api_models | struct_definition | DecideGatewayResponse | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: NetworkTokenData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct NetworkTokenData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | NetworkTokenData | 0 | [] | 43 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/netcetera.rs
// Module: router
use router::types::{self, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
struct NetceteraTest;
impl ConnectorActions for NetceteraTest {}
impl utils::Connector for NetceteraTest... | crates/router/tests/connectors/netcetera.rs | router | full_file | null | null | null | 2,482 | null | null | null | null | null | null | null |
// Function: is_jwt_flow
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_jwt_flow(&self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 36 | is_jwt_flow | null | null | null | null | null | null |
// Struct: AmazonpayAuthType
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AmazonpayAuthType | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | AmazonpayAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Wellsfargopayout
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Wellsfargopayout | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs | hyperswitch_connectors | impl_block | null | null | null | 69 | null | Wellsfargopayout | api::RefundSync for | 0 | 0 | null | null |
// Trait: PaymentRedirectFlow
// File: crates/router/src/core/payments.rs
// Module: router
pub trait PaymentRedirectFlow: Sync | crates/router/src/core/payments.rs | router | trait_definition | null | null | null | 30 | null | null | PaymentRedirectFlow | null | null | null | null |
// Struct: ExternalVaultConnectorMetadata
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ExternalVaultConnectorMetadata | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | struct_definition | ExternalVaultConnectorMetadata | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: RefundMetadataUpdateRequest
// File: crates/api_models/src/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundMetadataUpdateRequest | crates/api_models/src/refunds.rs | api_models | struct_definition | RefundMetadataUpdateRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: get_error_response
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
pub fn get_error_response(
operation_result: NexixpayPaymentStatus,
status_code: u16,
) -> ErrorResponse | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 64 | get_error_response | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 42
use common_utils::{
ext_traits::Encode,
types::{MinorUnit, StringMajorUnit, StringMinorUnitForConnector},
};
use error_stack::ResultExt;
use hypers... | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,186 | null | null | null | null | null | null | null |
// File: crates/router/src/routes/files.rs
// Module: router
// Public functions: 3
use actix_multipart::Multipart;
use actix_web::{web, HttpRequest, HttpResponse};
use api_models::files as file_types;
use router_env::{instrument, tracing, Flow};
use crate::core::api_locking;
pub mod transformers;
use super::app::Ap... | crates/router/src/routes/files.rs | router | full_file | null | null | null | 1,197 | null | null | null | null | null | null | null |
// Function: get_co_badged_card_data
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
pub fn get_co_badged_card_data(&self) -> Option<&payment_methods::CoBadgedCardData> | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 57 | get_co_badged_card_data | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/celero.rs
// Module: hyperswitch_connectors
// Public functions: 1
// 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, ... | crates/hyperswitch_connectors/src/connectors/celero.rs | hyperswitch_connectors | full_file | null | null | null | 5,928 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Affirm
// File: crates/hyperswitch_connectors/src/connectors/affirm.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Affirm | crates/hyperswitch_connectors/src/connectors/affirm.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Affirm | api::MandateSetup for | 0 | 0 | null | null |
// File: crates/router/src/types/storage/blocklist_lookup.rs
// Module: router
pub use diesel_models::blocklist_lookup::{BlocklistLookup, BlocklistLookupNew};
| crates/router/src/types/storage/blocklist_lookup.rs | router | full_file | null | null | null | 36 | null | null | null | null | null | null | null |
// Implementation: impl PayoutLink
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl PayoutLink | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 37 | null | PayoutLink | null | 1 | 1 | null | null |
// Function: get_connector_by_name
// File: crates/router/src/types/api/fraud_check.rs
// Module: router
pub fn get_connector_by_name(name: &str) -> CustomResult<Self, errors::ApiErrorResponse> | crates/router/src/types/api/fraud_check.rs | router | function_signature | null | null | null | 47 | get_connector_by_name | null | null | null | null | null | null |
// File: crates/external_services/src/no_encryption/implementers.rs
// Module: external_services
//! Trait implementations for No encryption client
use common_utils::errors::CustomResult;
use error_stack::ResultExt;
use hyperswitch_interfaces::{
encryption_interface::{EncryptionError, EncryptionManagementInterfac... | crates/external_services/src/no_encryption/implementers.rs | external_services | full_file | null | null | null | 273 | null | null | null | null | null | null | null |
// Struct: FeatureMatrixConnectorData
// File: crates/router/src/types/api/feature_matrix.rs
// Module: router
// Implementations: 1
pub struct FeatureMatrixConnectorData | crates/router/src/types/api/feature_matrix.rs | router | struct_definition | FeatureMatrixConnectorData | 1 | [] | 39 | null | null | null | null | null | null | null |
// Struct: PaymeVoidRequest
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymeVoidRequest | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | PaymeVoidRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for CtpMastercard
// File: crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs
// Module: hyperswitch_connectors
// Methods: 2 total (0 public)
impl ConnectorCommon for for CtpMastercard | crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | CtpMastercard | ConnectorCommon for | 2 | 0 | null | null |
// Struct: PayseraData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PayseraData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | PayseraData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl super::payment_intents::metrics::PaymentIntentMetricAnalytics for for SqlxClient
// File: crates/analytics/src/sqlx.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::payment_intents::metrics::PaymentIntentMetricAnalytics for for SqlxClient | crates/analytics/src/sqlx.rs | analytics | impl_block | null | null | null | 66 | null | SqlxClient | super::payment_intents::metrics::PaymentIntentMetricAnalytics for | 0 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Fiuu
// File: crates/hyperswitch_connectors/src/connectors/fiuu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Fiuu | crates/hyperswitch_connectors/src/connectors/fiuu.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Fiuu | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: PaymentResponse
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentResponse | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | PaymentResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: RedirectPaymentMethod
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RedirectPaymentMethod | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | struct_definition | RedirectPaymentMethod | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: IfStatement
// File: crates/euclid/src/frontend/ast.rs
// Module: euclid
// Implementations: 0
pub struct IfStatement | crates/euclid/src/frontend/ast.rs | euclid | struct_definition | IfStatement | 0 | [] | 36 | null | null | null | null | null | null | null |
// Function: get_topic
// File: crates/router/src/services/kafka.rs
// Module: router
pub fn get_topic(&self, event: EventType) -> &str | crates/router/src/services/kafka.rs | router | function_signature | null | null | null | 36 | get_topic | null | null | null | null | null | null |
// Struct: DatatransPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DatatransPaymentsRequest | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | struct_definition | DatatransPaymentsRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: ArchipelCardHolder
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ArchipelCardHolder | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs | hyperswitch_connectors | struct_definition | ArchipelCardHolder | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/api_models/src/payments.rs
// Module: api_models
// Public functions: 70
// Public structs: 311
#[cfg(feature = "v1")]
use std::fmt;
use std::{
collections::{HashMap, HashSet},
num::NonZeroI64,
};
pub mod additional_info;
pub mod trait_impls;
use cards::CardNumber;
#[cfg(feature = "v2")]
use co... | crates/api_models/src/payments.rs#chunk0 | api_models | chunk | null | null | null | 8,110 | null | null | null | null | null | null | null |
// Implementation: impl Hipay
// File: crates/hyperswitch_connectors/src/connectors/hipay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Hipay | crates/hyperswitch_connectors/src/connectors/hipay.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Hipay | null | 1 | 1 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Amazonpay
// File: crates/hyperswitch_connectors/src/connectors/amazonpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Amazonpay | crates/hyperswitch_connectors/src/connectors/amazonpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Amazonpay | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: CustomerPaymentMethod
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct CustomerPaymentMethod | crates/api_models/src/payment_methods.rs | api_models | struct_definition | CustomerPaymentMethod | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl std::fmt::Display for for InvalidCrmConfig
// File: crates/external_services/src/crm.rs
// Module: external_services
// Methods: 1 total (0 public)
impl std::fmt::Display for for InvalidCrmConfig | crates/external_services/src/crm.rs | external_services | impl_block | null | null | null | 56 | null | InvalidCrmConfig | std::fmt::Display for | 1 | 0 | null | null |
// Implementation: impl RefundInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 14 total (0 public)
impl RefundInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 48 | null | KafkaStore | RefundInterface for | 14 | 0 | null | null |
// Struct: GivexGiftCardAdditionalData
// File: crates/api_models/src/payments/additional_info.rs
// Module: api_models
// Implementations: 0
pub struct GivexGiftCardAdditionalData | crates/api_models/src/payments/additional_info.rs | api_models | struct_definition | GivexGiftCardAdditionalData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: RsyncApplicationInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RsyncApplicationInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | RsyncApplicationInformation | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: generate_payment_method_response
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn generate_payment_method_response(
payment_method: &domain::PaymentMethod,
single_use_token: &Option<payment_method_data::SingleUsePaymentMethodToken>,
) -> errors::RouterResult... | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 75 | generate_payment_method_response | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Finix
// File: crates/hyperswitch_connectors/src/connectors/finix.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Finix | crates/hyperswitch_connectors/src/connectors/finix.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Finix | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Function: accept_dispute
// File: crates/router/src/core/disputes.rs
// Module: router
pub fn accept_dispute(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id: Option<common_utils::id_type::ProfileId>,
req: disputes::DisputeId,
) -> RouterResponse<dispute_models::DisputeRes... | crates/router/src/core/disputes.rs | router | function_signature | null | null | null | 82 | accept_dispute | null | null | null | null | null | null |
// File: crates/router/src/compatibility/stripe/customers/types.rs
// Module: router
// Public structs: 9
use std::{convert::From, default::Default};
#[cfg(feature = "v1")]
use api_models::payment_methods as api_types;
use api_models::payments;
#[cfg(feature = "v1")]
use common_utils::{crypto::Encryptable, date_time}... | crates/router/src/compatibility/stripe/customers/types.rs | router | full_file | null | null | null | 2,002 | null | null | null | null | null | null | null |
// File: crates/currency_conversion/src/types.rs
// Module: currency_conversion
// Public functions: 5
// Public structs: 2
use std::collections::HashMap;
use common_enums::Currency;
use rust_decimal::Decimal;
use rusty_money::iso;
use crate::error::CurrencyConversionError;
/// Cached currency store of base currenc... | crates/currency_conversion/src/types.rs | currency_conversion | full_file | null | null | null | 2,247 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/utils.rs
// Module: diesel_models
use diesel;
use crate::{schema, schema_v2};
/// This trait will return a single column as primary key even in case of composite primary key.
///
/// In case of composite key, it will return the column that is used as local unique.
pub(super) t... | crates/diesel_models/src/query/utils.rs | diesel_models | full_file | null | null | null | 1,302 | null | null | null | null | null | null | null |
// Function: generate_permissions_inner
// File: crates/router_derive/src/macros/generate_permissions.rs
// Module: router_derive
pub fn generate_permissions_inner(input: TokenStream) -> TokenStream | crates/router_derive/src/macros/generate_permissions.rs | router_derive | function_signature | null | null | null | 42 | generate_permissions_inner | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Struct: CeleroVoidResponse
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CeleroVoidResponse | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | struct_definition | CeleroVoidResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: PaymentValue
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentValue | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | struct_definition | PaymentValue | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: tokenize_card_using_pm_api
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn tokenize_card_using_pm_api() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 35 | tokenize_card_using_pm_api | null | null | null | null | null | null |
// Implementation: impl RefundSync for for Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RefundSync for for Riskified | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Riskified | RefundSync for | 0 | 0 | null | null |
// Implementation: impl api::RefundSync for for Rapyd
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Rapyd | crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Rapyd | api::RefundSync for | 0 | 0 | null | null |
// Struct: DrainerSettings
// File: crates/scheduler/src/settings.rs
// Module: scheduler
// Implementations: 2
// Traits: Default
pub struct DrainerSettings | crates/scheduler/src/settings.rs | scheduler | struct_definition | DrainerSettings | 2 | [
"Default"
] | 39 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Paystack
// File: crates/hyperswitch_connectors/src/connectors/paystack.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Paystack | crates/hyperswitch_connectors/src/connectors/paystack.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Paystack | api::Payment for | 0 | 0 | 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::Payment for for Sift
// File: crates/hyperswitch_connectors/src/connectors/sift.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Sift | crates/hyperswitch_connectors/src/connectors/sift.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Sift | api::Payment for | 0 | 0 | null | null |
// Implementation: impl Capturable for for PaymentsRejectData
// File: crates/router/src/types.rs
// Module: router
// Methods: 0 total (0 public)
impl Capturable for for PaymentsRejectData | crates/router/src/types.rs | router | impl_block | null | null | null | 44 | null | PaymentsRejectData | Capturable for | 0 | 0 | null | null |
// Implementation: impl super::auth_events::metrics::AuthEventMetricAnalytics for for SqlxClient
// File: crates/analytics/src/sqlx.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::auth_events::metrics::AuthEventMetricAnalytics for for SqlxClient | crates/analytics/src/sqlx.rs | analytics | impl_block | null | null | null | 64 | null | SqlxClient | super::auth_events::metrics::AuthEventMetricAnalytics for | 0 | 0 | null | null |
// Implementation: impl Deref for for EnablePartialAuthorizationBool
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Methods: 1 total (0 public)
impl Deref for for EnablePartialAuthorizationBool | crates/common_types/src/primitive_wrappers.rs | common_types | impl_block | null | null | null | 51 | null | EnablePartialAuthorizationBool | Deref for | 1 | 0 | null | null |
// Function: get_payment_link_response_from_id
// File: crates/router/src/core/payments.rs
// Module: router
pub fn get_payment_link_response_from_id(
state: &SessionState,
payment_link_id: &str,
) -> CustomResult<api_models::payments::PaymentLinkResponse, errors::ApiErrorResponse> | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 69 | get_payment_link_response_from_id | null | null | null | null | null | null |
// Struct: ChargebeeRouterData
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeRouterData<T> | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/nexinets.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
use common_enums::enums;
use common_utils::{
errors::C... | crates/hyperswitch_connectors/src/connectors/nexinets.rs | hyperswitch_connectors | full_file | null | null | null | 6,949 | null | null | null | null | null | null | null |
// Struct: PreProcessing
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PreProcessing | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | PreProcessing | 0 | [] | 43 | null | null | null | null | null | null | null |
// File: crates/router/src/routes/process_tracker/revenue_recovery.rs
// Module: router
// Public functions: 2
use actix_web::{web, HttpRequest, HttpResponse};
use api_models::process_tracker::revenue_recovery as revenue_recovery_api;
use router_env::Flow;
use crate::{
core::{api_locking, revenue_recovery},
r... | crates/router/src/routes/process_tracker/revenue_recovery.rs | router | full_file | null | null | null | 445 | null | null | null | null | null | null | null |
// File: crates/api_models/src/ephemeral_key.rs
// Module: api_models
// Public structs: 4
use common_utils::id_type;
#[cfg(feature = "v2")]
use masking::Secret;
use serde;
use utoipa::ToSchema;
#[cfg(feature = "v1")]
/// Information required to create an ephemeral key.
#[derive(Debug, Clone, serde::Serialize, serde:... | crates/api_models/src/ephemeral_key.rs | api_models | full_file | null | null | null | 896 | 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.