text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl LockerMockUp
// File: crates/diesel_models/src/query/locker_mock_up.rs
// Module: diesel_models
// Methods: 2 total (0 public)
impl LockerMockUp | crates/diesel_models/src/query/locker_mock_up.rs | diesel_models | impl_block | null | null | null | 43 | null | LockerMockUp | null | 2 | 0 | null | null |
// Function: new
// File: crates/events/src/lib.rs
// Module: events
// Documentation: Create a new event context.
pub fn new(message_sink: A) -> Self | crates/events/src/lib.rs | events | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Function: get_store_interface
// File: crates/router/src/routes/app.rs
// Module: router
// Documentation: Panics if Failed to create store
pub fn get_store_interface(
storage_impl: &StorageImpl,
event_handler: &EventsHandler,
conf: &Settings,
tenant: &dyn TenantConfig,
cach... | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 93 | get_store_interface | null | null | null | null | null | null |
// Struct: RoutableConnectorChoiceWithStatus
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 1
pub struct RoutableConnectorChoiceWithStatus | crates/api_models/src/routing.rs | api_models | struct_definition | RoutableConnectorChoiceWithStatus | 1 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl Globalpay
// File: crates/hyperswitch_connectors/src/connectors/globalpay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Globalpay | crates/hyperswitch_connectors/src/connectors/globalpay.rs | hyperswitch_connectors | impl_block | null | null | null | 45 | null | Globalpay | null | 1 | 1 | null | null |
// Struct: ConsumerAuthenticationResponse
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ConsumerAuthenticationResponse | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | ConsumerAuthenticationResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: ZslAuthType
// File: crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ZslAuthType | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs | hyperswitch_connectors | struct_definition | ZslAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: PlacetopayAmount
// File: crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlacetopayAmount | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs | hyperswitch_connectors | struct_definition | PlacetopayAmount | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: MerchantAccountResponse
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct MerchantAccountResponse | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantAccountResponse | 0 | [] | 35 | null | null | null | null | null | null | null |
// Function: is_outgoing_webhook_disabled
// File: crates/router/src/core/webhooks/utils.rs
// Module: router
pub fn is_outgoing_webhook_disabled(
state: &SessionState,
webhook_url_result: &Result<String, Report<errors::WebhooksFlowError>>,
business_profile: &domain::Profile,
idempotent_event_id: &str,... | crates/router/src/core/webhooks/utils.rs | router | function_signature | null | null | null | 83 | is_outgoing_webhook_disabled | null | null | null | null | null | null |
// Struct: TwoFactorStatus
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct TwoFactorStatus | crates/api_models/src/user.rs | api_models | struct_definition | TwoFactorStatus | 0 | [] | 35 | null | null | null | null | null | null | null |
// Trait: Engine
// File: crates/external_services/src/hashicorp_vault/core.rs
// Module: external_services
// Documentation: A trait defining an engine for interacting with HashiCorp Vault.
pub trait Engine: Sized | crates/external_services/src/hashicorp_vault/core.rs | external_services | trait_definition | null | null | null | 48 | null | null | Engine | null | null | null | null |
// Struct: StripebillingCard
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripebillingCard | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | StripebillingCard | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: get_attempt_status
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
pub fn get_attempt_status(&self) -> common_enums::AttemptStatus | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 51 | get_attempt_status | null | null | null | null | null | null |
// File: crates/analytics/src/disputes/metrics.rs
// Module: analytics
// Public structs: 1
mod dispute_status_metric;
mod sessionized_metrics;
mod total_amount_disputed;
mod total_dispute_lost_amount;
use std::collections::HashSet;
use api_models::analytics::{
disputes::{DisputeDimensions, DisputeFilters, Dispu... | crates/analytics/src/disputes/metrics.rs | analytics | full_file | null | null | null | 958 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Celero
// File: crates/hyperswitch_connectors/src/connectors/celero.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Celero | crates/hyperswitch_connectors/src/connectors/celero.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Celero | api::Refund for | 0 | 0 | null | null |
// Function: retrieve_payment_method_from_vault_external
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn retrieve_payment_method_from_vault_external(
state: &routes::SessionState,
merchant_account: &domain::MerchantAccount,
pm: &domain::PaymentMethod,
merchant_connecto... | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 92 | retrieve_payment_method_from_vault_external | null | null | null | null | null | null |
// Struct: TransactionDetails
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TransactionDetails | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | TransactionDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 14
#[cfg(all(feature = "v2", feature = "revenue_recovery"))]
use std::str::FromStr;
use common_enums::enums;
#[cfg(all(feature = "v2", feature = "revenue_recovery")... | crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 3,707 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Flexiti
// File: crates/hyperswitch_connectors/src/connectors/flexiti.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Flexiti | crates/hyperswitch_connectors/src/connectors/flexiti.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Flexiti | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Struct: AchPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AchPaymentInformation | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | AchPaymentInformation | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: Silverflow
// File: crates/hyperswitch_connectors/src/connectors/silverflow.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, a... | crates/hyperswitch_connectors/src/connectors/silverflow.rs | hyperswitch_connectors | struct_definition | Silverflow | 17 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"ConnectorCommon",
"ConnectorValidat... | 126 | null | null | null | null | null | null | null |
// File: crates/router/src/core/authentication/types.rs
// Module: router
use error_stack::{Report, ResultExt};
pub use hyperswitch_domain_models::router_request_types::authentication::{
AcquirerDetails, ExternalThreeDSConnectorMetadata, PreAuthenticationData, ThreeDsMethodData,
};
use crate::{
core::errors,
... | crates/router/src/core/authentication/types.rs | router | full_file | null | null | null | 304 | null | null | null | null | null | null | null |
// Struct: BackendOutput
// File: crates/euclid/src/backend.rs
// Module: euclid
// Implementations: 1
pub struct BackendOutput<O> | crates/euclid/src/backend.rs | euclid | struct_definition | BackendOutput | 1 | [] | 36 | null | null | null | null | null | null | null |
// Struct: PaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentsRequest | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | hyperswitch_connectors | struct_definition | PaymentsRequest | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: BokuMetaData
// File: crates/hyperswitch_connectors/src/connectors/boku/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BokuMetaData | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs | hyperswitch_connectors | struct_definition | BokuMetaData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_dsl_config
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Documentation: get_dsk_key
pub fn get_dsl_config(&self) -> String | crates/common_utils/src/id_type/merchant.rs | common_utils | function_signature | null | null | null | 46 | get_dsl_config | null | null | null | null | null | null |
// File: crates/api_models/src/analytics/active_payments.rs
// Module: api_models
// Public functions: 1
// Public structs: 4
use std::{
collections::hash_map::DefaultHasher,
hash::{Hash, Hasher},
};
use super::NameDescription;
#[derive(
Clone,
Debug,
Hash,
PartialEq,
Eq,
serde::Seria... | crates/api_models/src/analytics/active_payments.rs | api_models | full_file | null | null | null | 437 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Forte
// File: crates/hyperswitch_connectors/src/connectors/forte.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Forte | crates/hyperswitch_connectors/src/connectors/forte.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Forte | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl ConnectorSpecifications for for Katapult
// File: crates/hyperswitch_connectors/src/connectors/katapult.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Katapult | crates/hyperswitch_connectors/src/connectors/katapult.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Katapult | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: get_metadata
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn get_metadata(&self) -> Option<Secret<Value>> | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 44 | get_metadata | null | null | null | null | null | null |
#[cfg(feature = "v2")]
#[instrument(skip(state, req), fields(flow, payment_id))]
pub async fn payments_status_with_gateway_creds(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
payload: web::Json<api_models::payments::PaymentsRetrieveRequest>,
path: web::Path<common_utils::id_type::Globa... | crates/router/src/routes/payments.rs#chunk3 | router | chunk | null | null | null | 2,190 | null | null | null | null | null | null | null |
// Function: consumer_operations
// File: crates/scheduler/src/consumer.rs
// Module: scheduler
pub fn consumer_operations<T: SchedulerSessionState + 'static>(
state: &T,
settings: &SchedulerSettings,
workflow_selector: impl workflows::ProcessTrackerWorkflows<T> + 'static + Copy + std::fmt::Debug,
) -> Cus... | crates/scheduler/src/consumer.rs | scheduler | function_signature | null | null | null | 84 | consumer_operations | null | null | null | null | null | null |
// Struct: Address
// File: crates/diesel_models/src/address.rs
// Module: diesel_models
// Implementations: 0
pub struct Address | crates/diesel_models/src/address.rs | diesel_models | struct_definition | Address | 0 | [] | 32 | null | null | null | null | null | null | null |
// Function: update_or_add_connector_customer_payment_processor_tokens
// File: crates/router/src/types/storage/revenue_recovery_redis_operation.rs
// Module: router
pub fn update_or_add_connector_customer_payment_processor_tokens(
state: &SessionState,
connector_customer_id: &str,
payment_proc... | crates/router/src/types/storage/revenue_recovery_redis_operation.rs | router | function_signature | null | null | null | 84 | update_or_add_connector_customer_payment_processor_tokens | null | null | null | null | null | null |
// Function: payment_status
// File: crates/openapi/src/routes/payments.rs
// Module: openapi
pub fn payment_status() | crates/openapi/src/routes/payments.rs | openapi | function_signature | null | null | null | 29 | payment_status | null | null | null | null | null | null |
// Function: refund_list
// File: crates/router/src/core/refunds_v2.rs
// Module: router
pub fn refund_list(
state: SessionState,
merchant_account: domain::MerchantAccount,
profile: domain::Profile,
req: refunds::RefundListRequest,
) -> errors::RouterResponse<refunds::RefundListResponse> | crates/router/src/core/refunds_v2.rs | router | function_signature | null | null | null | 76 | refund_list | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Dwolla
// File: crates/hyperswitch_connectors/src/connectors/dwolla.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Dwolla | crates/hyperswitch_connectors/src/connectors/dwolla.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Dwolla | api::Refund for | 0 | 0 | null | null |
// Function: get_role_id
// File: crates/router/src/services/authorization/roles.rs
// Module: router
pub fn get_role_id(&self) -> &str | crates/router/src/services/authorization/roles.rs | router | function_signature | null | null | null | 36 | get_role_id | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Hyperwallet
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Hyperwallet | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Hyperwallet | api::RefundSync for | 0 | 0 | null | null |
// Struct: DomainIdentifier
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Implementations: 1
pub struct DomainIdentifier | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | struct_definition | DomainIdentifier | 1 | [] | 39 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/tesouro.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/tesouro.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Struct: PaypalPayoutSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalPayoutSyncResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalPayoutSyncResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
}
fn get_webhook_event_type(
&self,
request: &IncomingWebhookRequestDetails<'_>,
) -> CustomResult<IncomingWebhookEvent, errors::ConnectorError> {
let details: airwallex::AirwallexWebhookData = request
.body
.parse_struct("airwallexWebhookData")
.... | crates/hyperswitch_connectors/src/connectors/airwallex.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 2,033 | null | null | null | null | null | null | null |
// Struct: PaymentMethodSelectedCount
// File: crates/api_models/src/analytics/sdk_events.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodSelectedCount | crates/api_models/src/analytics/sdk_events.rs | api_models | struct_definition | PaymentMethodSelectedCount | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl Default for for Server
// File: crates/drainer/src/settings.rs
// Module: drainer
// Methods: 1 total (0 public)
impl Default for for Server | crates/drainer/src/settings.rs | drainer | impl_block | null | null | null | 40 | null | Server | Default for | 1 | 0 | null | null |
}
impl<DB> Queryable<sql_types::Text, DB> for StatementDescriptor
where
DB: Backend,
Self: FromSql<sql_types::Text, DB>,
{
type Row = Self;
fn build(row: Self::Row) -> deserialize::Result<Self> {
Ok(row)
}
}
impl<DB> FromSql<sql_types::Text, DB> for StatementDescriptor
where
DB: Backe... | crates/common_utils/src/types.rs#chunk1 | common_utils | chunk | null | null | null | 3,085 | null | null | null | null | null | null | null |
// File: crates/router/src/core/revenue_recovery/transformers.rs
// Module: router
use common_enums::AttemptStatus;
use masking::PeekInterface;
use crate::{
core::revenue_recovery::types::RevenueRecoveryPaymentsAttemptStatus,
types::transformers::ForeignFrom,
};
impl ForeignFrom<AttemptStatus> for RevenueRec... | crates/router/src/core/revenue_recovery/transformers.rs | router | full_file | null | null | null | 937 | null | null | null | null | null | null | null |
// Struct: ReversalInformation
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ReversalInformation | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | ReversalInformation | 0 | [] | 51 | null | null | null | null | null | null | null |
| common_enums::PaymentMethodType::ClassicReward
| common_enums::PaymentMethodType::Credit
| common_enums::PaymentMethodType::CryptoCurrency
| common_enums::PaymentMethodType::Cashapp
| common_enums::... | crates/hyperswitch_connectors/src/connectors/klarna.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 5,968 | null | null | null | null | null | null | null |
// Struct: PaymentsCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentsCaptureRequest | crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs | hyperswitch_connectors | struct_definition | PaymentsCaptureRequest | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: PaymentMethodCollectLinkDetails
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodCollectLinkDetails | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodCollectLinkDetails | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: generic_delete_one_with_result
// File: crates/diesel_models/src/query/generics.rs
// Module: diesel_models
pub fn generic_delete_one_with_result<T, P, R>(
conn: &PgPooledConn,
predicate: P,
) -> StorageResult<R>
where
T: FilterDsl<P> + HasTable<Table = T> + Table + 'static,
Filter<T, P>: ... | crates/diesel_models/src/query/generics.rs | diesel_models | function_signature | null | null | null | 166 | generic_delete_one_with_result | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs
// Module: hyperswitch_domain_models
// Public structs: 4
use api_models::enums::PayoutConnectors;
use common_enums as storage_enums;
use common_utils::{
id_type, payout_method_utils,
types::{UnifiedCode, UnifiedMessage},
};
use serde::{De... | crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs | hyperswitch_domain_models | full_file | null | null | null | 1,844 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Hipay
// File: crates/hyperswitch_connectors/src/connectors/hipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Hipay | crates/hyperswitch_connectors/src/connectors/hipay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Hipay | api::Refund for | 0 | 0 | null | null |
// Implementation: impl GetPaymentMethodType for for BankTransferData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl GetPaymentMethodType for for BankTransferData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 58 | null | BankTransferData | GetPaymentMethodType for | 1 | 0 | null | null |
// Implementation: impl Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 43 | null | Wise | null | 1 | 1 | null | null |
// Implementation: impl ConnectorSpecifications for for Checkout
// File: crates/hyperswitch_connectors/src/connectors/checkout.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Checkout | crates/hyperswitch_connectors/src/connectors/checkout.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Checkout | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: should_force_3ds_challenge
// File: crates/common_types/src/three_ds_decision_rule_engine.rs
// Module: common_types
// Documentation: Checks if the decision is to mandate a 3DS challenge
pub fn should_force_3ds_challenge(self) -> bool | crates/common_types/src/three_ds_decision_rule_engine.rs | common_types | function_signature | null | null | null | 59 | should_force_3ds_challenge | null | null | null | null | null | null |
// Struct: Subscription
// File: crates/diesel_models/src/subscription.rs
// Module: diesel_models
// Implementations: 0
pub struct Subscription | crates/diesel_models/src/subscription.rs | diesel_models | struct_definition | Subscription | 0 | [] | 33 | null | null | null | null | null | null | null |
// File: crates/router/src/events/routing_api_logs.rs
// Module: router
pub use hyperswitch_interfaces::events::routing_api_logs::RoutingEvent;
use super::EventType;
use crate::services::kafka::KafkaMessage;
impl KafkaMessage for RoutingEvent {
fn event_type(&self) -> EventType {
EventType::RoutingApiLog... | crates/router/src/events/routing_api_logs.rs | router | full_file | null | null | null | 119 | null | null | null | null | null | null | null |
// Function: enum_variant_value
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn enum_variant_value(input: &str) -> ParseResult<&str, ast::ValueType> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 47 | enum_variant_value | null | null | null | null | null | null |
// Struct: NexinetsRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexinetsRefundRequest | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs | hyperswitch_connectors | struct_definition | NexinetsRefundRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Flexiti
// File: crates/hyperswitch_connectors/src/connectors/flexiti.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Flexiti | crates/hyperswitch_connectors/src/connectors/flexiti.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Flexiti | api::MandateSetup for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/bluesnap.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::IncomingWebhookEvent;
use base64::Engine;
use common_enums::{enums, CallConnectorAction, PaymentActi... | crates/hyperswitch_connectors/src/connectors/bluesnap.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,182 | null | null | null | null | null | null | null |
// Function: into_inner
// File: crates/diesel_models/src/lib.rs
// Module: diesel_models
// Documentation: Extracts the inner value from the wrapper
pub fn into_inner(self) -> T | crates/diesel_models/src/lib.rs | diesel_models | function_signature | null | null | null | 43 | into_inner | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Affirm
// File: crates/hyperswitch_connectors/src/connectors/affirm.rs
// Module: hyperswitch_connectors
// Methods: 2 total (0 public)
impl ConnectorValidation for for Affirm | crates/hyperswitch_connectors/src/connectors/affirm.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Affirm | ConnectorValidation for | 2 | 0 | null | null |
// Function: find_by_merchant_reference_id_merchant_id
// File: crates/diesel_models/src/query/payment_intent.rs
// Module: diesel_models
pub fn find_by_merchant_reference_id_merchant_id(
conn: &PgPooledConn,
merchant_reference_id: &str,
merchant_id: &common_utils::id_type::MerchantId,
) ->... | crates/diesel_models/src/query/payment_intent.rs | diesel_models | function_signature | null | null | null | 82 | find_by_merchant_reference_id_merchant_id | null | null | null | null | null | null |
// Implementation: impl Tsys
// File: crates/hyperswitch_connectors/src/connectors/tsys.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Tsys | crates/hyperswitch_connectors/src/connectors/tsys.rs | hyperswitch_connectors | impl_block | null | null | null | 45 | null | Tsys | null | 1 | 1 | null | null |
// File: crates/api_models/src/gsm.rs
// Module: api_models
// Public structs: 6
use utoipa::ToSchema;
use crate::enums as api_enums;
#[derive(Debug, serde::Deserialize, serde::Serialize, ToSchema)]
pub struct GsmCreateRequest {
/// The connector through which payment has gone through
#[schema(value_type = C... | crates/api_models/src/gsm.rs | api_models | full_file | null | null | null | 1,883 | null | null | null | null | null | null | null |
// Implementation: impl MandateSetup for for Authorizedotnet
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl MandateSetup for for Authorizedotnet | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Authorizedotnet | MandateSetup for | 0 | 0 | null | null |
// Function: call_surcharge_decision_management
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn call_surcharge_decision_management(
state: routes::SessionState,
merchant_context: &domain::MerchantContext,
business_profile: &Profile,
payment_attempt: &storage::PaymentAt... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 120 | call_surcharge_decision_management | null | null | null | null | null | null |
// Implementation: impl KafkaPaymentIntent
// File: crates/router/src/services/kafka/payment_intent.rs
// Module: router
// Methods: 2 total (0 public)
impl KafkaPaymentIntent | crates/router/src/services/kafka/payment_intent.rs | router | impl_block | null | null | null | 40 | null | KafkaPaymentIntent | null | 2 | 0 | null | null |
// Implementation: impl api::RefundExecute for for Authipay
// File: crates/hyperswitch_connectors/src/connectors/authipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Authipay | crates/hyperswitch_connectors/src/connectors/authipay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Authipay | api::RefundExecute for | 0 | 0 | null | null |
// Struct: ApiEventFiltersResponse
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct ApiEventFiltersResponse | crates/api_models/src/analytics.rs | api_models | struct_definition | ApiEventFiltersResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: PixBankTransfer
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct PixBankTransfer | crates/api_models/src/payouts.rs | api_models | struct_definition | PixBankTransfer | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: PaymentOrder
// File: crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentOrder | crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs | hyperswitch_connectors | struct_definition | PaymentOrder | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: CaptureResponseStatus
// File: crates/hyperswitch_connectors/src/connectors/forte/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CaptureResponseStatus | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs | hyperswitch_connectors | struct_definition | CaptureResponseStatus | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: validate
// File: crates/router/src/configs/validations.rs
// Module: router
pub fn validate(&self) -> Result<(), ApplicationError> | crates/router/src/configs/validations.rs | router | function_signature | null | null | null | 35 | validate | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for UnifiedAuthenticationService
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for UnifiedAuthenticationService | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | UnifiedAuthenticationService | api::PaymentCapture for | 0 | 0 | null | null |
// Function: payouts_retrieve
// File: crates/router/src/routes/payouts.rs
// Module: router
pub fn payouts_retrieve(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<id_type::PayoutId>,
query_params: web::Query<payout_types::PayoutRetrieveBody>,
) -> HttpResponse | crates/router/src/routes/payouts.rs | router | function_signature | null | null | null | 77 | payouts_retrieve | null | null | null | null | null | null |
// Implementation: impl ApiKeys
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl ApiKeys | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 35 | null | ApiKeys | null | 1 | 1 | null | null |
// Struct: DisputeMetricsBucketResponse
// File: crates/api_models/src/analytics/disputes.rs
// Module: api_models
// Implementations: 0
pub struct DisputeMetricsBucketResponse | crates/api_models/src/analytics/disputes.rs | api_models | struct_definition | DisputeMetricsBucketResponse | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: apply_changeset
// File: crates/diesel_models/src/business_profile.rs
// Module: diesel_models
pub fn apply_changeset(self, source: Profile) -> Profile | crates/diesel_models/src/business_profile.rs | diesel_models | function_signature | null | null | null | 38 | apply_changeset | null | null | null | null | null | null |
// Struct: RelayRetrieveRequest
// File: crates/api_models/src/relay.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct RelayRetrieveRequest | crates/api_models/src/relay.rs | api_models | struct_definition | RelayRetrieveRequest | 1 | [
"common_utils::events::ApiEventMetric"
] | 48 | null | null | null | null | null | null | null |
// Struct: OpenSearchQueryBuilder
// File: crates/analytics/src/opensearch.rs
// Module: analytics
// Implementations: 1
pub struct OpenSearchQueryBuilder | crates/analytics/src/opensearch.rs | analytics | struct_definition | OpenSearchQueryBuilder | 1 | [] | 36 | null | null | null | null | null | null | null |
// Function: payment_methods_session_confirm
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn payment_methods_session_confirm(
state: SessionState,
req_state: routes::app::ReqState,
merchant_context: domain::MerchantContext,
profile: domain::Profile,
payment_method_sessio... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 104 | payment_methods_session_confirm | null | null | null | null | null | null |
// Function: modify_trackers
// File: crates/router/src/core/payouts/retry.rs
// Module: router
pub fn modify_trackers(
state: &routes::SessionState,
connector: &api::ConnectorData,
merchant_context: &domain::MerchantContext,
payout_data: &mut PayoutData,
) -> RouterResult<()> | crates/router/src/core/payouts/retry.rs | router | function_signature | null | null | null | 75 | modify_trackers | null | null | null | null | null | null |
// Function: construct_authentication_router_data
// File: crates/router/src/core/authentication/transformers.rs
// Module: router
pub fn construct_authentication_router_data(
state: &SessionState,
merchant_id: common_utils::id_type::MerchantId,
authentication_connector: String,
payment_method_data: do... | crates/router/src/core/authentication/transformers.rs | router | function_signature | null | null | null | 303 | construct_authentication_router_data | null | null | null | null | null | null |
// Struct: CreateFileRequest
// File: crates/router/src/types/api/files.rs
// Module: router
// Implementations: 0
pub struct CreateFileRequest | crates/router/src/types/api/files.rs | router | struct_definition | CreateFileRequest | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Gocardless
// File: crates/hyperswitch_connectors/src/connectors/gocardless.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Gocardless | crates/hyperswitch_connectors/src/connectors/gocardless.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Gocardless | api::Payment for | 0 | 0 | null | null |
// Struct: PaysafePaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafePaymentsRequest | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafePaymentsRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: new
// File: crates/analytics/src/query.rs
// Module: analytics
pub fn new(table: AnalyticsCollection) -> Self | crates/analytics/src/query.rs | analytics | function_signature | null | null | null | 30 | new | null | null | null | null | null | null |
// File: crates/api_models/src/events/revenue_recovery.rs
// Module: api_models
use common_utils::events::{ApiEventMetric, ApiEventsType};
use crate::process_tracker::revenue_recovery::{
RevenueRecoveryId, RevenueRecoveryResponse, RevenueRecoveryRetriggerRequest,
};
impl ApiEventMetric for RevenueRecoveryRespons... | crates/api_models/src/events/revenue_recovery.rs | api_models | full_file | null | null | null | 183 | null | null | null | null | null | null | null |
// Struct: MetricsBucketResponse
// File: crates/api_models/src/analytics/payments.rs
// Module: api_models
// Implementations: 0
pub struct MetricsBucketResponse | crates/api_models/src/analytics/payments.rs | api_models | struct_definition | MetricsBucketResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: PlatformAccountCreateRequest
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct PlatformAccountCreateRequest | crates/api_models/src/user.rs | api_models | struct_definition | PlatformAccountCreateRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: routing_link_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn routing_link_config(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::RoutingId>,
json_payload: web::Json<routing_types::RoutingActivatePayload>,
transaction_ty... | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 90 | routing_link_config | 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.