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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Struct: CybersourceRsyncResponse
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceRsyncResponse | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceRsyncResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: OrganizationResponse
// File: crates/api_models/src/organization.rs
// Module: api_models
// Implementations: 0
pub struct OrganizationResponse | crates/api_models/src/organization.rs | api_models | struct_definition | OrganizationResponse | 0 | [] | 34 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/bankofamerica.rs
// Module: router
use masking::Secret;
use router::types::{self, domain, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
struct BankofamericaTest;
impl ConnectorActions for BankofamericaTest {... | crates/router/tests/connectors/bankofamerica.rs | router | full_file | null | null | null | 2,978 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Worldline
// File: crates/hyperswitch_connectors/src/connectors/worldline.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Worldline | crates/hyperswitch_connectors/src/connectors/worldline.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Worldline | api::RefundSync for | 0 | 0 | null | null |
// Function: get_metadata_as_secret
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_metadata_as_secret(
&self,
) -> CustomResult<Option<pii::SecretSerdeValue>, errors::ParsingError> | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 54 | get_metadata_as_secret | null | null | null | null | null | null |
// Struct: GpayEcryptedTokenizationData
// File: crates/common_types/src/payments.rs
// Module: common_types
// Implementations: 0
// Documentation: This struct represents the encrypted Gpay payment data
pub struct GpayEcryptedTokenizationData | crates/common_types/src/payments.rs | common_types | struct_definition | GpayEcryptedTokenizationData | 0 | [] | 57 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/paybox.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, CallConnectorAction, PaymentAction... | crates/hyperswitch_connectors/src/connectors/paybox.rs | hyperswitch_connectors | full_file | null | null | null | 5,834 | null | null | null | null | null | null | null |
// Struct: MandateRequest
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MandateRequest | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | MandateRequest | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl VaultingDataInterface for for PaymentMethodVaultingData
// File: crates/hyperswitch_domain_models/src/vault.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl VaultingDataInterface for for PaymentMethodVaultingData | crates/hyperswitch_domain_models/src/vault.rs | hyperswitch_domain_models | impl_block | null | null | null | 61 | null | PaymentMethodVaultingData | VaultingDataInterface for | 1 | 0 | null | null |
// Function: get_theme_lineage_from_user_token
// File: crates/router/src/utils/user/theme.rs
// Module: router
pub fn get_theme_lineage_from_user_token(
user_from_token: &UserFromToken,
state: &SessionState,
request_entity_type: &EntityType,
) -> UserResult<ThemeLineage> | crates/router/src/utils/user/theme.rs | router | function_signature | null | null | null | 71 | get_theme_lineage_from_user_token | null | null | null | null | null | null |
// Struct: RedsysAuthType
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RedsysAuthType | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | RedsysAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: parse_routing_algorithm
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn parse_routing_algorithm(&self) -> CustomResult<(), errors::ParsingError> | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 40 | parse_routing_algorithm | null | null | null | null | null | null |
// Struct: PaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentsResponse | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | PaymentsResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: update_merchant
// File: crates/router/src/routes/recon.rs
// Module: router
pub fn update_merchant(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::MerchantId>,
json_payload: web::Json<recon_api::ReconUpdateMerchantRequest>,
) -> HttpResponse | crates/router/src/routes/recon.rs | router | function_signature | null | null | null | 80 | update_merchant | null | null | null | null | null | null |
// Struct: RsyncApplicationInformation
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RsyncApplicationInformation | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | RsyncApplicationInformation | 0 | [] | 51 | 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 |
// Struct: OrderInformationWithBill
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OrderInformationWithBill | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | OrderInformationWithBill | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: AuthEventFiltersResponse
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct AuthEventFiltersResponse | crates/api_models/src/analytics.rs | api_models | struct_definition | AuthEventFiltersResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: RevenueRecoveryAttempt
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
// Implementations: 1
pub struct RevenueRecoveryAttempt | crates/router/src/core/webhooks/recovery_incoming.rs | router | struct_definition | RevenueRecoveryAttempt | 1 | [] | 41 | null | null | null | null | null | null | null |
// Function: get_id
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn get_id(&self) -> &id_type::GlobalPaymentId | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 44 | get_id | null | null | null | null | null | null |
// Struct: PaymentAttempts
// File: crates/api_models/src/analytics/sdk_events.rs
// Module: api_models
// Implementations: 0
pub struct PaymentAttempts | crates/api_models/src/analytics/sdk_events.rs | api_models | struct_definition | PaymentAttempts | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: WellsfargopayoutRouterData
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WellsfargopayoutRouterData<T> | crates/hyperswitch_connectors/src/connectors/wellsfargopayout/transformers.rs | hyperswitch_connectors | struct_definition | WellsfargopayoutRouterData | 0 | [] | 61 | null | null | null | null | null | null | null |
// Struct: PaymentInformationResponse
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentInformationResponse | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | PaymentInformationResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/test_utils/tests/connectors/multisafepay_ui.rs
// Module: test_utils
use serial_test::serial;
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct MultisafepaySeleniumTest;
impl SeleniumTest for MultisafepaySeleniumTest {
fn get_connector_name(&self) -> String {
... | crates/test_utils/tests/connectors/multisafepay_ui.rs | test_utils | full_file | null | null | null | 748 | null | null | null | null | null | null | null |
// Struct: LoonioTransactionSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct LoonioTransactionSyncResponse | crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs | hyperswitch_connectors | struct_definition | LoonioTransactionSyncResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Bluesnap
// File: crates/hyperswitch_connectors/src/connectors/bluesnap.rs
// Module: hyperswitch_connectors
// Methods: 7 total (0 public)
impl IncomingWebhook for for Bluesnap | crates/hyperswitch_connectors/src/connectors/bluesnap.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Bluesnap | IncomingWebhook for | 7 | 0 | null | null |
// Struct: BarclaycardRsyncResponse
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardRsyncResponse | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardRsyncResponse | 0 | [] | 55 | 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: resend_invite
// File: crates/router/src/core/user.rs
// Module: router
pub fn resend_invite(
state: SessionState,
user_from_token: auth::UserFromToken,
request: user_api::ReInviteUserRequest,
auth_id: Option<String>,
) -> UserResponse<()> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 66 | resend_invite | null | null | null | null | null | null |
// Struct: EbanxPayoutResponse
// File: crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct EbanxPayoutResponse | crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs | hyperswitch_connectors | struct_definition | EbanxPayoutResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorPreAuthentication for for Netcetera
// File: crates/hyperswitch_connectors/src/connectors/netcetera.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorPreAuthentication for for Netcetera | crates/hyperswitch_connectors/src/connectors/netcetera.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Netcetera | ConnectorPreAuthentication for | 0 | 0 | null | null |
}
fn get_routing_config_cache_key(self) -> storage_impl::redis::cache::CacheKind<'static> {
let merchant_id = self.profile.merchant_id.clone();
let profile_id = self.profile.get_id().to_owned();
storage_impl::redis::cache::CacheKind::Routing(
format!(
"routi... | crates/router/src/core/admin.rs#chunk4 | router | chunk | null | null | null | 4,704 | null | null | null | null | null | null | null |
// Implementation: impl AcceptDispute for for Adyen
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl AcceptDispute for for Adyen | crates/hyperswitch_connectors/src/connectors/adyen.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Adyen | AcceptDispute for | 0 | 0 | null | null |
// Function: get_profile_id
// File: crates/hyperswitch_domain_models/src/payments/payment_intent.rs
// Module: hyperswitch_domain_models
pub fn get_profile_id(&self) -> Option<id_type::ProfileId> | crates/hyperswitch_domain_models/src/payments/payment_intent.rs | hyperswitch_domain_models | function_signature | null | null | null | 49 | get_profile_id | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/dashboard_metadata.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<DashboardMetadata> | crates/diesel_models/src/query/dashboard_metadata.rs | diesel_models | function_signature | null | null | null | 44 | insert | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Paysafe
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Paysafe | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Paysafe | api::PaymentCapture for | 0 | 0 | null | null |
// Function: from_input
// File: crates/euclid/src/backend/vir_interpreter/types.rs
// Module: euclid
pub fn from_input(input: BackendInput) -> Self | crates/euclid/src/backend/vir_interpreter/types.rs | euclid | function_signature | null | null | null | 39 | from_input | null | null | null | null | null | null |
// Function: get_not_implemented
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
pub fn get_not_implemented() -> Self | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 40 | get_not_implemented | null | null | null | null | null | null |
// Struct: SuccessfulTransactionData
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SuccessfulTransactionData | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | SuccessfulTransactionData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: BillingConnectorInvoiceSyncFlowData
// File: crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct BillingConnectorInvoiceSyncFlowData | crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs | hyperswitch_domain_models | struct_definition | BillingConnectorInvoiceSyncFlowData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: generate_digest
// File: crates/hyperswitch_connectors/src/connectors/nordea.rs
// Module: hyperswitch_connectors
pub fn generate_digest(&self, payload: &[u8]) -> String | crates/hyperswitch_connectors/src/connectors/nordea.rs | hyperswitch_connectors | function_signature | null | null | null | 47 | generate_digest | null | null | null | null | null | null |
// Trait: IntoInjectorResponse
// File: crates/injector/src/types.rs
// Module: injector
pub trait IntoInjectorResponse | crates/injector/src/types.rs | injector | trait_definition | null | null | null | 28 | null | null | IntoInjectorResponse | null | null | null | null |
// Function: get_id
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_id(&self) -> &str | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 41 | get_id | null | null | null | null | null | null |
// Function: get_payout_routing_algorithm
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
pub fn get_payout_routing_algorithm(
&self,
) -> CustomResult<
Option<api_models::routing::RoutingAlgorithmRef>,
api_error_response::ApiErrorRespo... | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | function_signature | null | null | null | 72 | get_payout_routing_algorithm | null | null | null | null | null | null |
// Struct: AdditionalErrorDetails
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdditionalErrorDetails | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | AdditionalErrorDetails | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(config: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Struct: ToggleDynamicRoutingQuery
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct ToggleDynamicRoutingQuery | crates/api_models/src/routing.rs | api_models | struct_definition | ToggleDynamicRoutingQuery | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: OrgAuthenticationMethodUpdateInternal
// File: crates/diesel_models/src/user_authentication_method.rs
// Module: diesel_models
// Implementations: 0
pub struct OrgAuthenticationMethodUpdateInternal | crates/diesel_models/src/user_authentication_method.rs | diesel_models | struct_definition | OrgAuthenticationMethodUpdateInternal | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: SiftRouterData
// File: crates/hyperswitch_connectors/src/connectors/sift/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SiftRouterData<T> | crates/hyperswitch_connectors/src/connectors/sift/transformers.rs | hyperswitch_connectors | struct_definition | SiftRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: get_all_keys
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn get_all_keys() -> JsResult | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 37 | get_all_keys | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Moneris
// File: crates/hyperswitch_connectors/src/connectors/moneris.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Moneris | crates/hyperswitch_connectors/src/connectors/moneris.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Moneris | api::RefundSync for | 0 | 0 | null | null |
// File: crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payments::{PaymentDimensions, PaymentFilters, PaymentMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::Repor... | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs | analytics | full_file | null | null | null | 1,003 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Authorizedotnet
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl webhooks::IncomingWebhook for for Authorizedotnet | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Authorizedotnet | webhooks::IncomingWebhook for | 6 | 0 | null | null |
// File: crates/router/src/core/subscription.rs
// Module: router
// Public functions: 11
// Public structs: 4
use std::str::FromStr;
use api_models::{
enums as api_enums,
subscription::{self as subscription_types, CreateSubscriptionResponse, SubscriptionStatus},
};
use common_utils::{ext_traits::ValueExt, id... | crates/router/src/core/subscription.rs | router | full_file | null | null | null | 4,354 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/cards_info.rs
// Module: hyperswitch_domain_models
use common_utils::errors;
use diesel_models::cards_info;
#[async_trait::async_trait]
pub trait CardsInfoInterface {
type Error;
async fn get_card_info(
&self,
_card_iin: &str,
) -> errors::Cust... | crates/hyperswitch_domain_models/src/cards_info.rs | hyperswitch_domain_models | full_file | null | null | null | 177 | null | null | null | null | null | null | null |
// Trait: DomainType
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
pub trait DomainType: Debug + Sync + Conversion | crates/storage_impl/src/kv_router_store.rs | storage_impl | trait_definition | null | null | null | 35 | null | null | DomainType | null | null | null | null |
// Implementation: impl super::disputes::filters::DisputeFilterAnalytics for for ClickhouseClient
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::disputes::filters::DisputeFilterAnalytics for for ClickhouseClient | crates/analytics/src/clickhouse.rs | analytics | impl_block | null | null | null | 67 | null | ClickhouseClient | super::disputes::filters::DisputeFilterAnalytics for | 0 | 0 | null | null |
// Struct: CardDetailUpdate
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 2
pub struct CardDetailUpdate | crates/api_models/src/payment_methods.rs | api_models | struct_definition | CardDetailUpdate | 2 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl Default for for Memoization
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (0 public)
impl Default for for Memoization | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 48 | null | Memoization | Default for | 1 | 0 | null | null |
// Implementation: impl Serialize for for StrongSecret
// File: crates/masking/src/serde.rs
// Module: masking
// Methods: 1 total (0 public)
impl Serialize for for StrongSecret | crates/masking/src/serde.rs | masking | impl_block | null | null | null | 42 | null | StrongSecret | Serialize for | 1 | 0 | null | null |
// File: crates/router/tests/connectors/tokenex.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/tokenex.rs | router | full_file | null | null | null | 2,929 | null | null | null | null | null | null | null |
// Function: generate_network_token
// File: crates/router/src/core/payment_methods/network_tokenization.rs
// Module: router
pub fn generate_network_token(
state: &routes::SessionState,
payload_bytes: &[u8],
customer_id: id_type::GlobalCustomerId,
tokenization_service: &settings::NetworkTokenizationSe... | crates/router/src/core/payment_methods/network_tokenization.rs | router | function_signature | null | null | null | 99 | generate_network_token | null | null | null | null | null | null |
// Struct: Airwallex
// File: crates/hyperswitch_connectors/src/connectors/airwallex.rs
// Module: hyperswitch_connectors
// Implementations: 20
// Traits: ConnectorCommon, ConnectorValidation, api::Payment, api::PaymentsPreProcessing, api::PaymentsCompleteAuthorize, api::MandateSetup, api::PaymentToken, api::Connector... | crates/hyperswitch_connectors/src/connectors/airwallex.rs | hyperswitch_connectors | struct_definition | Airwallex | 20 | [
"ConnectorCommon",
"ConnectorValidation",
"api::Payment",
"api::PaymentsPreProcessing",
"api::PaymentsCompleteAuthorize",
"api::MandateSetup",
"api::PaymentToken",
"api::ConnectorAccessToken",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentSession",
"api::Pa... | 142 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: WebhookResponseData
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WebhookResponseData | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | WebhookResponseData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for FrmFilterValue
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Methods: 0 total (0 public)
impl ApiEventMetric for for FrmFilterValue | crates/api_models/src/analytics.rs | api_models | impl_block | null | null | null | 49 | null | FrmFilterValue | ApiEventMetric for | 0 | 0 | null | null |
// Implementation: impl Fiuu
// File: crates/hyperswitch_connectors/src/connectors/fiuu.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Fiuu | crates/hyperswitch_connectors/src/connectors/fiuu.rs | hyperswitch_connectors | impl_block | null | null | null | 48 | null | Fiuu | null | 1 | 1 | null | null |
// File: crates/router/src/core/payment_methods/tokenize.rs
// Module: router
// Public functions: 3
// Public structs: 4
use actix_multipart::form::{bytes::Bytes, text::Text, MultipartForm};
use api_models::{enums as api_enums, payment_methods as payment_methods_api};
use cards::CardNumber;
use common_utils::{
cr... | crates/router/src/core/payment_methods/tokenize.rs | router | full_file | null | null | null | 3,279 | null | null | null | null | null | null | null |
// Struct: PayuErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayuErrorResponse | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | struct_definition | PayuErrorResponse | 0 | [] | 47 | null | null | null | 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: ChargebeeWebhookBody
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct ChargebeeWebhookBody | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeWebhookBody | 1 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 6
use common_enums::enums;
use common_utils::types::StringMinorUnit;
use error_stack::ResultExt;
use hyperswitch_domain_models::{
payment_method_data::{Card, PaymentMethodData},
... | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 8,040 | null | null | null | null | null | null | null |
// Struct: EdgeData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct EdgeData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | EdgeData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/nmi.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/nmi.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Struct: WorldpayvantivAuthType
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WorldpayvantivAuthType | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | WorldpayvantivAuthType | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: get_organization
// File: crates/router/src/core/admin.rs
// Module: router
pub fn get_organization(
state: SessionState,
org_id: api::OrganizationId,
) -> RouterResponse<api::OrganizationResponse> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 51 | get_organization | null | null | null | null | null | null |
// Implementation: impl DynamicAlgorithmWithTimestamp
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (1 public)
impl DynamicAlgorithmWithTimestamp | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 41 | null | DynamicAlgorithmWithTimestamp | null | 1 | 1 | null | null |
// Function: string_str
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn string_str(input: &str) -> ParseResult<&str, String> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 43 | string_str | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Getnet
// File: crates/hyperswitch_connectors/src/connectors/getnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Getnet | crates/hyperswitch_connectors/src/connectors/getnet.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Getnet | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Implementation: impl ConnectorSpecifications for for Flexiti
// File: crates/hyperswitch_connectors/src/connectors/flexiti.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Flexiti | crates/hyperswitch_connectors/src/connectors/flexiti.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Flexiti | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: get_payment_filters
// File: crates/router/src/core/payments.rs
// Module: router
pub fn get_payment_filters(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id_list: Option<Vec<id_type::ProfileId>>,
) -> RouterResponse<api::PaymentListFiltersV2> | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 71 | get_payment_filters | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/silverflow.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/silverflow.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Implementation: impl PaymentIntentMetricAccumulator for for ProcessedAmountAccumulator
// File: crates/analytics/src/payment_intents/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl PaymentIntentMetricAccumulator for for ProcessedAmountAccumulator | crates/analytics/src/payment_intents/accumulator.rs | analytics | impl_block | null | null | null | 63 | null | ProcessedAmountAccumulator | PaymentIntentMetricAccumulator for | 2 | 0 | null | null |
RequiredField::BillingAddressZip.to_tuple(),
RequiredField::BillingAddressCountries(vec!["ALL"]).to_tuple(),
RequiredField::BillingAddressLine1.to_tuple(),
RequiredField::BillingAddressLine2.to_tuple(),
RequiredField::BillingPhone.to_tuple(),
RequiredField::BillingPhoneCo... | crates/payment_methods/src/configs/payment_connector_required_fields.rs#chunk1 | payment_methods | chunk | null | null | null | 8,186 | null | null | null | null | null | null | null |
// Struct: PayuPaymentsCaptureResponse
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayuPaymentsCaptureResponse | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | struct_definition | PayuPaymentsCaptureResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/refunds.rs
// Module: hyperswitch_domain_models
// Public structs: 2
#[cfg(feature = "v2")]
use crate::business_profile::Profile;
#[cfg(feature = "v1")]
use crate::errors;
#[cfg(feature = "v1")]
pub struct RefundListConstraints {
pub payment_id: Option<common_utils::i... | crates/hyperswitch_domain_models/src/refunds.rs | hyperswitch_domain_models | full_file | null | null | null | 1,011 | null | null | null | null | null | null | null |
// Struct: SdkPaymentsSessionUpdateData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SdkPaymentsSessionUpdateData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | SdkPaymentsSessionUpdateData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: PaypalConfirmRequest
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalConfirmRequest | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | PaypalConfirmRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl super::KafkaMessage for for KafkaFraudCheck
// File: crates/router/src/services/kafka/fraud_check.rs
// Module: router
// Methods: 2 total (0 public)
impl super::KafkaMessage for for KafkaFraudCheck | crates/router/src/services/kafka/fraud_check.rs | router | impl_block | null | null | null | 57 | null | KafkaFraudCheck | super::KafkaMessage for | 2 | 0 | null | null |
// Struct: TaxjarRouterData
// File: crates/hyperswitch_connectors/src/connectors/taxjar/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TaxjarRouterData<T> | crates/hyperswitch_connectors/src/connectors/taxjar/transformers.rs | hyperswitch_connectors | struct_definition | TaxjarRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: StripePaymentMethod
// File: crates/router/src/compatibility/stripe/setup_intents/types.rs
// Module: router
// Implementations: 0
pub struct StripePaymentMethod | crates/router/src/compatibility/stripe/setup_intents/types.rs | router | struct_definition | StripePaymentMethod | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: FieldError
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FieldError | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | FieldError | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: Reject
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Reject | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | Reject | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: MonerisAuthRequest
// File: crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MonerisAuthRequest | crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs | hyperswitch_connectors | struct_definition | MonerisAuthRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
auth_events::{AuthEventDimensions, AuthEventFilters, AuthEventMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_enums::DecoupledAuthentica... | crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs | analytics | full_file | null | null | null | 1,079 | null | null | null | null | null | null | null |
// Struct: CustomerDetails
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustomerDetails | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | CustomerDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: retry_sync_task
// File: crates/router/src/workflows/dispute_list.rs
// Module: router
// Documentation: Schedule the task for retry Returns bool which indicates whether this was the last retry or not
pub fn retry_sync_task(
db: &dyn StorageInterface,
connector: String,
merchant_id: common_u... | crates/router/src/workflows/dispute_list.rs | router | function_signature | null | null | null | 99 | retry_sync_task | null | null | null | null | null | null |
// Struct: SwitchOrganizationRequest
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct SwitchOrganizationRequest | crates/api_models/src/user.rs | api_models | struct_definition | SwitchOrganizationRequest | 0 | [] | 35 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/api/payments_v2.rs
// Module: hyperswitch_interfaces
//! Payments V2 interface
use hyperswitch_domain_models::{
router_data_v2::{flow_common_types::GiftCardBalanceCheckFlowData, PaymentFlowData},
router_flow_types::{
payments::{
Approve, Authorize... | crates/hyperswitch_interfaces/src/api/payments_v2.rs | hyperswitch_interfaces | full_file | null | null | null | 1,706 | null | null | null | null | null | null | null |
// Function: get_merchant_auth_events_filters
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_merchant_auth_events_filters(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<GetAuthEventFilterRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 72 | get_merchant_auth_events_filters | 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.