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: ChargebeeCardDetails
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeCardDetails | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeCardDetails | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl AuthorizationNew
// File: crates/diesel_models/src/query/authorization.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl AuthorizationNew | crates/diesel_models/src/query/authorization.rs | diesel_models | impl_block | null | null | null | 39 | null | AuthorizationNew | null | 1 | 0 | null | null |
// File: crates/router/src/types/storage/revenue_recovery.rs
// Module: router
// Public functions: 2
// Public structs: 6
use std::{collections::HashMap, fmt::Debug};
use common_enums::enums::{self, CardNetwork};
use common_utils::{date_time, ext_traits::ValueExt, id_type};
use error_stack::ResultExt;
use external_s... | crates/router/src/types/storage/revenue_recovery.rs | router | full_file | null | null | null | 1,045 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Powertranz
// File: crates/hyperswitch_connectors/src/connectors/powertranz.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Powertranz | crates/hyperswitch_connectors/src/connectors/powertranz.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Powertranz | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Fiserv
// File: crates/hyperswitch_connectors/src/connectors/fiserv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Fiserv | crates/hyperswitch_connectors/src/connectors/fiserv.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Fiserv | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: TaxObject
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TaxObject | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | TaxObject | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: SignedMessage
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SignedMessage | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | SignedMessage | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Coingate
// File: crates/hyperswitch_connectors/src/connectors/coingate.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl webhooks::IncomingWebhook for for Coingate | crates/hyperswitch_connectors/src/connectors/coingate.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Coingate | webhooks::IncomingWebhook for | 6 | 0 | null | null |
// Struct: MerchantAccountDeleteResponse
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct MerchantAccountDeleteResponse | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantAccountDeleteResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl LockerMockUpInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 3 total (0 public)
impl LockerMockUpInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 49 | null | KafkaStore | LockerMockUpInterface for | 3 | 0 | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/customers.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/customers.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// File: crates/hyperswitch_interfaces/src/connector_integration_v2.rs
// Module: hyperswitch_interfaces
//! definition of the new connector integration trait
use common_utils::{
errors::CustomResult,
request::{Method, Request, RequestBuilder, RequestContent},
};
use hyperswitch_domain_models::{router_data::E... | crates/hyperswitch_interfaces/src/connector_integration_v2.rs | hyperswitch_interfaces | full_file | null | null | null | 2,151 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 24
use std::collections::HashMap;
use cards::CardNumber;
use common_enums::{enums, Currency};
use common_utils::{pii, request::Method, types::FloatMajorUnit};
use hyperswitch_domain_models... | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 6,032 | null | null | null | null | null | null | null |
// Struct: NordeaPaymentsInitiateResponse
// File: crates/hyperswitch_connectors/src/connectors/nordea/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NordeaPaymentsInitiateResponse | crates/hyperswitch_connectors/src/connectors/nordea/responses.rs | hyperswitch_connectors | struct_definition | NordeaPaymentsInitiateResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl Test
// File: crates/router_derive/src/lib.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl Test | crates/router_derive/src/lib.rs | router_derive | impl_block | null | null | null | 36 | null | Test | null | 1 | 0 | null | null |
// Function: check_client_secret_and_get_auth
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn check_client_secret_and_get_auth<T>(
headers: &HeaderMap,
payload: &impl ClientSecretFetch,
api_auth: ApiKeyAuth,
) -> RouterResult<(
Box<dyn AuthenticateAndFetch<AuthenticationD... | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 126 | check_client_secret_and_get_auth | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/aci.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/aci.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Implementation: impl SingleUsePaymentMethodToken
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl SingleUsePaymentMethodToken | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 50 | null | SingleUsePaymentMethodToken | null | 1 | 1 | null | null |
// Implementation: impl PaymentAttemptBatchNew
// File: crates/diesel_models/src/user/sample_data.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl PaymentAttemptBatchNew | crates/diesel_models/src/user/sample_data.rs | diesel_models | impl_block | null | null | null | 43 | null | PaymentAttemptBatchNew | null | 1 | 0 | null | null |
// Struct: SilverflowCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SilverflowCaptureRequest | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | SilverflowCaptureRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl PaymentIntentFetchConstraints
// File: crates/hyperswitch_domain_models/src/payments/payment_intent.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl PaymentIntentFetchConstraints | crates/hyperswitch_domain_models/src/payments/payment_intent.rs | hyperswitch_domain_models | impl_block | null | null | null | 49 | null | PaymentIntentFetchConstraints | null | 1 | 1 | null | null |
// File: crates/analytics/src/api_event/metrics/latency.rs
// Module: analytics
// Public structs: 1
use std::collections::HashSet;
use api_models::analytics::{
api_event::{ApiEventDimensions, ApiEventFilters, ApiEventMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchE... | crates/analytics/src/api_event/metrics/latency.rs | analytics | full_file | null | null | null | 1,035 | null | null | null | null | null | null | null |
// Struct: CardInfo
// File: crates/diesel_models/src/cards_info.rs
// Module: diesel_models
// Implementations: 0
pub struct CardInfo | crates/diesel_models/src/cards_info.rs | diesel_models | struct_definition | CardInfo | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: SecuredSecret
// File: crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs
// Module: hyperswitch_interfaces
// Implementations: 1
// Traits: SecretState
pub struct SecuredSecret | crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs | hyperswitch_interfaces | struct_definition | SecuredSecret | 1 | [
"SecretState"
] | 50 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorStatusAndDisabledValidation
// File: crates/router/src/core/admin.rs
// Module: router
// Methods: 1 total (0 public)
impl ConnectorStatusAndDisabledValidation | crates/router/src/core/admin.rs | router | impl_block | null | null | null | 41 | null | ConnectorStatusAndDisabledValidation | null | 1 | 0 | null | null |
// Function: get_month
// File: crates/cards/src/lib.rs
// Module: cards
pub fn get_month(&self) -> &CardExpirationMonth | crates/cards/src/lib.rs | cards | function_signature | null | null | null | 32 | get_month | null | null | null | null | null | null |
// Struct: BankPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankPaymentInformation | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | BankPaymentInformation | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: DeleteCardToken
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct DeleteCardToken | crates/router/src/types/payment_methods.rs | router | struct_definition | DeleteCardToken | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: RelayResponse
// File: crates/api_models/src/relay.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct RelayResponse | crates/api_models/src/relay.rs | api_models | struct_definition | RelayResponse | 1 | [
"common_utils::events::ApiEventMetric"
] | 46 | null | null | null | null | null | null | null |
// Implementation: impl CardExpirationYear
// File: crates/cards/src/lib.rs
// Module: cards
// Methods: 2 total (2 public)
impl CardExpirationYear | crates/cards/src/lib.rs | cards | impl_block | null | null | null | 36 | null | CardExpirationYear | null | 2 | 2 | null | null |
// Struct: FlexitiAccessTokenRequest
// File: crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FlexitiAccessTokenRequest | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs | hyperswitch_connectors | struct_definition | FlexitiAccessTokenRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/finix.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)]
str... | crates/router/tests/connectors/finix.rs | router | full_file | null | null | null | 2,932 | null | null | null | null | null | null | null |
// File: crates/router/src/core/errors/utils.rs
// Module: router
use common_utils::errors::CustomResult;
use crate::{core::errors, logger};
pub trait StorageErrorExt<T, E> {
#[track_caller]
fn to_not_found_response(self, not_found_response: E) -> error_stack::Result<T, E>;
#[track_caller]
fn to_dup... | crates/router/src/core/errors/utils.rs | router | full_file | null | null | null | 5,757 | null | null | null | null | null | null | null |
// Implementation: impl std::fmt::Display for for Op
// File: crates/storage_impl/src/redis/kv_store.rs
// Module: storage_impl
// Methods: 1 total (0 public)
impl std::fmt::Display for for Op | crates/storage_impl/src/redis/kv_store.rs | storage_impl | impl_block | null | null | null | 52 | null | Op | std::fmt::Display for | 1 | 0 | null | null |
// Implementation: impl api::PaymentSync for for Hyperwallet
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Hyperwallet | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Hyperwallet | api::PaymentSync for | 0 | 0 | null | null |
// Struct: PartnerReferralOperations
// File: crates/router/src/types/api/connector_onboarding/paypal.rs
// Module: router
// Implementations: 0
pub struct PartnerReferralOperations | crates/router/src/types/api/connector_onboarding/paypal.rs | router | struct_definition | PartnerReferralOperations | 0 | [] | 42 | null | null | null | null | null | null | null |
// Function: get_id_type_from_header_if_present
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn get_id_type_from_header_if_present<T>(&self, key: &str) -> RouterResult<Option<T>>
where
T: TryFrom<
std::borrow::Cow<'static, str>,
Error = error_stack::Re... | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 85 | get_id_type_from_header_if_present | null | null | null | null | null | null |
// Struct: Shift4AuthType
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Shift4AuthType | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | Shift4AuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Datatrans
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Datatrans | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Datatrans | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl api::MandateSetup for for Airwallex
// File: crates/hyperswitch_connectors/src/connectors/airwallex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Airwallex | crates/hyperswitch_connectors/src/connectors/airwallex.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Airwallex | api::MandateSetup for | 0 | 0 | null | null |
// Struct: NmiCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NmiCaptureRequest | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | NmiCaptureRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Trustpayments
// File: crates/hyperswitch_connectors/src/connectors/trustpayments.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Trustpayments | crates/hyperswitch_connectors/src/connectors/trustpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Trustpayments | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Struct: Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Implementations: 30
// Traits: api::Payment, api::PaymentSession, api::PaymentToken, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentsCompleteAuthorize, api::PaymentSyn... | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | struct_definition | Paypal | 30 | [
"api::Payment",
"api::PaymentSession",
"api::PaymentToken",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentsCompleteAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"a... | 192 | null | null | null | null | null | null | null |
// Struct: UrlDetails
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct UrlDetails | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | UrlDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: retrieve_dispute_evidence
// File: crates/router/src/core/disputes.rs
// Module: router
pub fn retrieve_dispute_evidence(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id: Option<common_utils::id_type::ProfileId>,
req: disputes::DisputeId,
) -> RouterResponse<Vec<... | crates/router/src/core/disputes.rs | router | function_signature | null | null | null | 91 | retrieve_dispute_evidence | null | null | null | null | null | null |
// Function: get_card_details
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
pub fn get_card_details(&self) -> Option<CardDetailsPaymentMethod> | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 46 | get_card_details | null | null | null | null | null | null |
// Function: revenue_recovery_data_backfill_status
// File: crates/router/src/routes/revenue_recovery_data_backfill.rs
// Module: router
pub fn revenue_recovery_data_backfill_status(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
) -> HttpResponse | crates/router/src/routes/revenue_recovery_data_backfill.rs | router | function_signature | null | null | null | 64 | revenue_recovery_data_backfill_status | null | null | null | null | null | null |
// Implementation: impl Refund for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl Refund for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Wise | Refund for | 0 | 0 | null | null |
// Function: get_skip_saving_wallet_at_connector_key
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Documentation: get_skip_saving_wallet_at_connector_key
pub fn get_skip_saving_wallet_at_connector_key(&self) -> String | crates/common_utils/src/id_type/merchant.rs | common_utils | function_signature | null | null | null | 58 | get_skip_saving_wallet_at_connector_key | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
pub fn new(
payment_intent: &revenue_recovery::RecoveryPaymentIntent,
payment_attempt: &revenue_recovery::RecoveryPaymentAttempt,
) -> Self | crates/router/src/core/webhooks/recovery_incoming.rs | router | function_signature | null | null | null | 61 | new | null | null | null | null | null | null |
// Struct: ThreeDSecureIoConnectorMetaData
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDSecureIoConnectorMetaData | crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs | hyperswitch_connectors | struct_definition | ThreeDSecureIoConnectorMetaData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: PaymentData
// File: crates/api_models/src/three_ds_decision_rule.rs
// Module: api_models
// Implementations: 0
pub struct PaymentData | crates/api_models/src/three_ds_decision_rule.rs | api_models | struct_definition | PaymentData | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Bankofamerica
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Bankofamerica | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs | hyperswitch_connectors | impl_block | null | null | null | 68 | null | Bankofamerica | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Struct: AciCaptureResult
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AciCaptureResult | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | AciCaptureResult | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorAccessToken for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 2 total (0 public)
impl ConnectorAccessToken for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 45 | null | KafkaStore | ConnectorAccessToken for | 2 | 0 | null | null |
// Struct: Href
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Href | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | Href | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl Bitpay
// File: crates/hyperswitch_connectors/src/connectors/bitpay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Bitpay | crates/hyperswitch_connectors/src/connectors/bitpay.rs | hyperswitch_connectors | impl_block | null | null | null | 45 | null | Bitpay | null | 1 | 1 | null | null |
// File: crates/scheduler/src/consumer/workflows.rs
// Module: scheduler
use async_trait::async_trait;
use common_utils::errors::CustomResult;
pub use diesel_models::process_tracker as storage;
use diesel_models::process_tracker::business_status;
use router_env::logger;
use crate::{errors, SchedulerSessionState};
pu... | crates/scheduler/src/consumer/workflows.rs | scheduler | full_file | null | null | null | 615 | null | null | null | null | null | null | null |
// Struct: ErrorsObject
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorsObject | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | ErrorsObject | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: OrganizationNew
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
// Implementations: 4
// Traits: OrganizationBridge, OrganizationBridge
pub struct OrganizationNew | crates/diesel_models/src/organization.rs | diesel_models | struct_definition | OrganizationNew | 4 | [
"OrganizationBridge",
"OrganizationBridge"
] | 44 | null | null | null | null | null | null | null |
// Struct: BillTo
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BillTo | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | BillTo | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/analytics/src/auth_events/metrics.rs
// Module: analytics
// Public structs: 1
use std::collections::HashSet;
use api_models::analytics::{
auth_events::{
AuthEventDimensions, AuthEventFilters, AuthEventMetrics, AuthEventMetricsBucketIdentifier,
},
Granularity, TimeRange,
};
use die... | crates/analytics/src/auth_events/metrics.rs | analytics | full_file | null | null | null | 1,413 | null | null | null | null | null | null | null |
// Struct: CustomerUpdateMems
// File: crates/diesel_models/src/kv.rs
// Module: diesel_models
// Implementations: 0
pub struct CustomerUpdateMems | crates/diesel_models/src/kv.rs | diesel_models | struct_definition | CustomerUpdateMems | 0 | [] | 39 | null | null | null | null | null | null | null |
// Function: is_success_rate_routing_enabled
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn is_success_rate_routing_enabled(&self) -> bool | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 38 | is_success_rate_routing_enabled | null | null | null | null | null | null |
// Struct: InternalMerchantIdProfileIdAuth
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct InternalMerchantIdProfileIdAuth<F> | crates/router/src/services/authentication.rs | router | struct_definition | InternalMerchantIdProfileIdAuth | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: FilterResourceParams
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
// Implementations: 0
pub struct FilterResourceParams<'a> | crates/storage_impl/src/kv_router_store.rs | storage_impl | struct_definition | FilterResourceParams | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: find_by_unified_code_unified_message_locale
// File: crates/diesel_models/src/query/unified_translations.rs
// Module: diesel_models
pub fn find_by_unified_code_unified_message_locale(
conn: &PgPooledConn,
unified_code: String,
unified_message: String,
locale: String,
)... | crates/diesel_models/src/query/unified_translations.rs | diesel_models | function_signature | null | null | null | 79 | find_by_unified_code_unified_message_locale | null | null | null | null | null | null |
// Function: update_payment_method_core
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn update_payment_method_core(
state: &SessionState,
merchant_context: &domain::MerchantContext,
profile: &domain::Profile,
request: api::PaymentMethodUpdate,
payment_method_id: &id_type... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 90 | update_payment_method_core | null | null | null | null | null | null |
// File: crates/router/src/types/api/refunds_v2.rs
// Module: router
pub use hyperswitch_interfaces::api::refunds_v2::{RefundExecuteV2, RefundSyncV2, RefundV2};
| crates/router/src/types/api/refunds_v2.rs | router | full_file | null | null | null | 49 | null | null | null | null | null | null | null |
// Trait: HasSchemaParameters
// File: crates/router_derive/src/macros/schema/helpers.rs
// Module: router_derive
pub trait HasSchemaParameters | crates/router_derive/src/macros/schema/helpers.rs | router_derive | trait_definition | null | null | null | 33 | null | null | HasSchemaParameters | 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: ListBlocklistQuery
// File: crates/api_models/src/blocklist.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct ListBlocklistQuery | crates/api_models/src/blocklist.rs | api_models | struct_definition | ListBlocklistQuery | 1 | [
"ApiEventMetric"
] | 45 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/getnet.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::IncomingWebhookEvent;
use base64::{self, Engine};
use common_enums::enums;
use common_utils::{
cons... | crates/hyperswitch_connectors/src/connectors/getnet.rs | hyperswitch_connectors | full_file | null | null | null | 6,775 | null | null | null | null | null | null | null |
// Struct: Avs
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Avs | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | Avs | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: RoleUpdateInternal
// File: crates/diesel_models/src/role.rs
// Module: diesel_models
// Implementations: 0
pub struct RoleUpdateInternal | crates/diesel_models/src/role.rs | diesel_models | struct_definition | RoleUpdateInternal | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: GenericLinkState
// File: crates/diesel_models/src/generic_link.rs
// Module: diesel_models
// Implementations: 0
pub struct GenericLinkState | crates/diesel_models/src/generic_link.rs | diesel_models | struct_definition | GenericLinkState | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: PaymentsCancel
// File: crates/router/src/core/payments/operations/payment_cancel_v2.rs
// Module: router
// Implementations: 1
// Traits: ValidateStatusForOperation
pub struct PaymentsCancel | crates/router/src/core/payments/operations/payment_cancel_v2.rs | router | struct_definition | PaymentsCancel | 1 | [
"ValidateStatusForOperation"
] | 47 | null | null | null | null | null | null | null |
// Struct: TokenizationData
// File: crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TokenizationData | crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs | hyperswitch_connectors | struct_definition | TokenizationData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: get_status
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
pub fn get_status(status: &str) -> IncomingWebhookEvent | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 49 | get_status | null | null | null | null | null | null |
// Function: enum_variant_array_value
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn enum_variant_array_value(input: &str) -> ParseResult<&str, ast::ValueType> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 49 | enum_variant_array_value | null | null | null | null | null | null |
// Function: update_payment_processor_token_error_code_from_process_tracker
// File: crates/router/src/types/storage/revenue_recovery_redis_operation.rs
// Module: router
pub fn update_payment_processor_token_error_code_from_process_tracker(
state: &SessionState,
connector_customer_id: &str,
er... | crates/router/src/types/storage/revenue_recovery_redis_operation.rs | router | function_signature | null | null | null | 100 | update_payment_processor_token_error_code_from_process_tracker | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Nuvei | api::RefundExecute for | 0 | 0 | null | null |
// Struct: CustomerResponse
// File: crates/api_models/src/customers.rs
// Module: api_models
// Implementations: 2
pub struct CustomerResponse | crates/api_models/src/customers.rs | api_models | struct_definition | CustomerResponse | 2 | [] | 34 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Gpayments
// File: crates/hyperswitch_connectors/src/connectors/gpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Gpayments | crates/hyperswitch_connectors/src/connectors/gpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Gpayments | api::PaymentSync for | 0 | 0 | null | null |
// File: crates/router/src/db/gsm.rs
// Module: router
use diesel_models::gsm as storage;
use error_stack::{report, ResultExt};
use router_env::{instrument, tracing};
use super::MockDb;
use crate::{
connection,
core::errors::{self, CustomResult},
services::Store,
};
#[async_trait::async_trait]
pub trait ... | crates/router/src/db/gsm.rs | router | full_file | null | null | null | 1,661 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Facilitapay
// File: crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Facilitapay | crates/hyperswitch_connectors/src/connectors/facilitapay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Facilitapay | ConnectorCommon for | 5 | 0 | null | null |
// File: crates/analytics/src/auth_events/metrics/authentication_error_message.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
auth_events::{AuthEventDimensions, AuthEventFilters, AuthEventMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_enums::Authentication... | crates/analytics/src/auth_events/metrics/authentication_error_message.rs | analytics | full_file | null | null | null | 1,125 | null | null | null | null | null | null | null |
// Struct: TesouroAuthType
// File: crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TesouroAuthType | crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs | hyperswitch_connectors | struct_definition | TesouroAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: RecurringMandatePaymentData
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RecurringMandatePaymentData | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | struct_definition | RecurringMandatePaymentData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: refunds_list
// File: crates/openapi/src/routes/refunds.rs
// Module: openapi
pub fn refunds_list() | crates/openapi/src/routes/refunds.rs | openapi | function_signature | null | null | null | 29 | refunds_list | null | null | null | null | null | null |
// Function: payments_core
// File: crates/router/src/core/payments.rs
// Module: router
pub fn payments_core<F, Res, Req, Op, FData, D>(
state: SessionState,
req_state: ReqState,
merchant_context: domain::MerchantContext,
profile: domain::Profile,
operation: Op,
req: Req,
payment_id: id_ty... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 369 | payments_core | null | null | null | null | null | null |
// Struct: UserFromToken
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct UserFromToken | crates/router/src/services/authentication.rs | router | struct_definition | UserFromToken | 0 | [] | 34 | null | null | null | null | null | null | null |
// Struct: ErrorDetails
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorDetails | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | ErrorDetails | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: Upload
// File: crates/hyperswitch_domain_models/src/router_flow_types/files.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Upload | crates/hyperswitch_domain_models/src/router_flow_types/files.rs | hyperswitch_domain_models | struct_definition | Upload | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: from_decision_engine_approach
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn from_decision_engine_approach(approach: &str) -> Self | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 41 | from_decision_engine_approach | null | null | null | null | null | null |
// Function: get_string_repr
// File: crates/common_utils/src/id_type/global_id/payment_methods.rs
// Module: common_utils
// Documentation: Get string representation of the id
pub fn get_string_repr(&self) -> &str | crates/common_utils/src/id_type/global_id/payment_methods.rs | common_utils | function_signature | null | null | null | 49 | get_string_repr | null | null | null | null | null | null |
// Struct: BarclaycardStandardErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardStandardErrorResponse | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardStandardErrorResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: ApiResponse
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApiResponse | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | ApiResponse | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: CheckoutPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutPaymentsRequest | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutPaymentsRequest | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/iatapay.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use api_models::{enums, webhooks::IncomingWebhookEvent};
use base64::Engine;
use common_utils::{
consts::BASE64_ENGINE,
crypto,
errors::Custo... | crates/hyperswitch_connectors/src/connectors/iatapay.rs | hyperswitch_connectors | full_file | null | null | null | 6,931 | 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.