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 IncomingWebhookEvent
// File: crates/api_models/src/webhooks.rs
// Module: api_models
// Methods: 1 total (1 public)
impl IncomingWebhookEvent | crates/api_models/src/webhooks.rs | api_models | impl_block | null | null | null | 41 | null | IncomingWebhookEvent | null | 1 | 1 | null | null |
// Implementation: impl MandateSetup for for DummyConnector
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl MandateSetup for for DummyConnector | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | DummyConnector | MandateSetup for | 0 | 0 | null | null |
// Implementation: impl api::MandateSetup for for Globalpay
// File: crates/hyperswitch_connectors/src/connectors/globalpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Globalpay | crates/hyperswitch_connectors/src/connectors/globalpay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Globalpay | api::MandateSetup for | 0 | 0 | null | null |
// Struct: Order
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Order | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | Order | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/worldline.rs
// Module: hyperswitch_connectors
// Public functions: 2
// Public structs: 1
pub mod transformers;
use std::{fmt::Debug, sync::LazyLock};
use base64::Engine;
use common_enums::enums;
use common_utils::{
consts, crypto,
errors::CustomResult,
... | crates/hyperswitch_connectors/src/connectors/worldline.rs | hyperswitch_connectors | full_file | null | null | null | 7,285 | null | null | null | null | null | null | null |
// Implementation: impl ResourceExt for for Resource
// File: crates/router_derive/src/macros/generate_permissions.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl ResourceExt for for Resource | crates/router_derive/src/macros/generate_permissions.rs | router_derive | impl_block | null | null | null | 48 | null | Resource | ResourceExt for | 1 | 0 | null | null |
// File: crates/drainer/src/handler.rs
// Module: drainer
// Public functions: 5
// Public structs: 2
use std::{
collections::HashMap,
sync::{atomic, Arc},
};
use common_utils::id_type;
use router_env::tracing::Instrument;
use tokio::{
sync::{mpsc, oneshot},
time::{self, Duration},
};
use crate::{
... | crates/drainer/src/handler.rs | drainer | full_file | null | null | null | 2,194 | null | null | null | null | null | null | null |
// Function: refunds_list_profile
// File: crates/openapi/src/routes/refunds.rs
// Module: openapi
pub fn refunds_list_profile() | crates/openapi/src/routes/refunds.rs | openapi | function_signature | null | null | null | 31 | refunds_list_profile | null | null | null | null | null | null |
// File: crates/analytics/src/sdk_events/types.rs
// Module: analytics
use api_models::analytics::sdk_events::{SdkEventDimensions, SdkEventFilters};
use error_stack::ResultExt;
use crate::{
query::{QueryBuilder, QueryFilter, QueryResult, ToSql},
types::{AnalyticsCollection, AnalyticsDataSource},
};
impl<T> Q... | crates/analytics/src/sdk_events/types.rs | analytics | full_file | null | null | null | 407 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Vgs
// File: crates/hyperswitch_connectors/src/connectors/vgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Vgs | crates/hyperswitch_connectors/src/connectors/vgs.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Vgs | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl Coingate
// File: crates/hyperswitch_connectors/src/connectors/coingate.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Coingate | crates/hyperswitch_connectors/src/connectors/coingate.rs | hyperswitch_connectors | impl_block | null | null | null | 48 | null | Coingate | null | 1 | 1 | null | null |
// Struct: FlexitiErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FlexitiErrorResponse | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs | hyperswitch_connectors | struct_definition | FlexitiErrorResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::PayoutCancel for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutCancel for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Wise | api::PayoutCancel for | 0 | 0 | null | null |
// Implementation: impl FeatureMatrixConnectorData
// File: crates/router/src/types/api/feature_matrix.rs
// Module: router
// Methods: 1 total (1 public)
impl FeatureMatrixConnectorData | crates/router/src/types/api/feature_matrix.rs | router | impl_block | null | null | null | 42 | null | FeatureMatrixConnectorData | null | 1 | 1 | null | null |
// Implementation: impl api::PaymentAuthorize for for Fiserv
// File: crates/hyperswitch_connectors/src/connectors/fiserv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Fiserv | crates/hyperswitch_connectors/src/connectors/fiserv.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Fiserv | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl SingleUseTokenKey
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Methods: 2 total (2 public)
impl SingleUseTokenKey | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 48 | null | SingleUseTokenKey | null | 2 | 2 | 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: SellerStatusProducts
// File: crates/router/src/types/api/connector_onboarding/paypal.rs
// Module: router
// Implementations: 0
pub struct SellerStatusProducts | crates/router/src/types/api/connector_onboarding/paypal.rs | router | struct_definition | SellerStatusProducts | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: ThreeDsDecisionRuleExecuteRequest
// File: crates/api_models/src/three_ds_decision_rule.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct ThreeDsDecisionRuleExecuteRequest | crates/api_models/src/three_ds_decision_rule.rs | api_models | struct_definition | ThreeDsDecisionRuleExecuteRequest | 1 | [
"common_utils::events::ApiEventMetric"
] | 57 | null | null | null | null | null | null | null |
// Implementation: impl Deref for for EnableOvercaptureBool
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Methods: 1 total (0 public)
impl Deref for for EnableOvercaptureBool | crates/common_types/src/primitive_wrappers.rs | common_types | impl_block | null | null | null | 51 | null | EnableOvercaptureBool | Deref for | 1 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Coinbase
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Coinbase | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Coinbase | api::PaymentAuthorize for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use base64::Engine;
use common_utils::{
consts::BASE64_ENGINE,
errors::CustomResult,
ext_traits::BytesExt,
... | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,188 | null | null | null | null | null | null | null |
// Function: mk_delete_card_request_hs
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn mk_delete_card_request_hs(
jwekey: &settings::Jwekey,
locker: &settings::Locker,
customer_id: &id_type::CustomerId,
merchant_id: &id_type::MerchantId,
card_reference: &str... | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 116 | mk_delete_card_request_hs | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Implementation: impl PaymentAttemptNew
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl PaymentAttemptNew | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | impl_block | null | null | null | 41 | null | PaymentAttemptNew | null | 1 | 0 | null | null |
// Struct: GetUserAuthenticationMethodsRequest
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct GetUserAuthenticationMethodsRequest | crates/api_models/src/user.rs | api_models | struct_definition | GetUserAuthenticationMethodsRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Ebanx
// File: crates/hyperswitch_connectors/src/connectors/ebanx.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Ebanx | crates/hyperswitch_connectors/src/connectors/ebanx.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Ebanx | api::RefundExecute for | 0 | 0 | null | null |
// Implementation: impl VaultingInterface for for GetVaultFingerprint
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Methods: 2 total (0 public)
impl VaultingInterface for for GetVaultFingerprint | crates/router/src/types/payment_methods.rs | router | impl_block | null | null | null | 50 | null | GetVaultFingerprint | VaultingInterface for | 2 | 0 | null | null |
// Struct: PurchaseUnitRequest
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PurchaseUnitRequest | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PurchaseUnitRequest | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl DecideWalletFlow
// File: crates/router/src/core/payments.rs
// Module: router
// Methods: 3 total (0 public)
impl DecideWalletFlow | crates/router/src/core/payments.rs | router | impl_block | null | null | null | 38 | null | DecideWalletFlow | null | 3 | 0 | null | null |
// Function: new
// File: crates/router/src/services/email/types.rs
// Module: router
pub fn new(
state: &SessionState,
data: ProdIntent,
theme_id: Option<String>,
theme_config: EmailThemeConfig,
) -> UserResult<Self> | crates/router/src/services/email/types.rs | router | function_signature | null | null | null | 60 | new | null | null | null | null | null | null |
// Struct: TrustpaymentsCaptureRequestData
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpaymentsCaptureRequestData | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | struct_definition | TrustpaymentsCaptureRequestData | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext... | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs | hyperswitch_connectors | full_file | null | null | null | 6,231 | null | null | null | null | null | null | null |
// Function: header
// File: crates/common_utils/src/request.rs
// Module: common_utils
pub fn header(mut self, header: &str, value: &str) -> Self | crates/common_utils/src/request.rs | common_utils | function_signature | null | null | null | 39 | header | null | null | null | null | null | null |
// Struct: BluesnapAuthType
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapAuthType | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for RouterHealthCheckResponse
// File: crates/api_models/src/health_check.rs
// Module: api_models
// Methods: 0 total (0 public)
impl common_utils::events::ApiEventMetric for for RouterHealthCheckResponse | crates/api_models/src/health_check.rs | api_models | impl_block | null | null | null | 62 | null | RouterHealthCheckResponse | common_utils::events::ApiEventMetric for | 0 | 0 | null | null |
// Function: refunds_filter_list
// File: crates/router/src/routes/refunds.rs
// Module: router
pub fn refunds_filter_list(
state: web::Data<AppState>,
req: HttpRequest,
payload: web::Json<common_utils::types::TimeRange>,
) -> HttpResponse | crates/router/src/routes/refunds.rs | router | function_signature | null | null | null | 61 | refunds_filter_list | null | null | null | null | null | null |
// Function: list_initial_delivery_attempts
// File: crates/router/src/core/webhooks/webhook_events.rs
// Module: router
pub fn list_initial_delivery_attempts(
state: SessionState,
merchant_id: common_utils::id_type::MerchantId,
api_constraints: api::webhook_events::EventListConstraints,
) -> RouterRespons... | crates/router/src/core/webhooks/webhook_events.rs | router | function_signature | null | null | null | 82 | list_initial_delivery_attempts | null | null | null | null | null | null |
// Struct: DeutschebankThreeDSInitializeRequestCommunicationData
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankThreeDSInitializeRequestCommunicationData | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankThreeDSInitializeRequestCommunicationData | 0 | [] | 58 | null | null | null | null | null | null | null |
// Trait: CheckingContext
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
pub trait CheckingContext | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | trait_definition | null | null | null | 32 | null | null | CheckingContext | null | null | null | null |
// File: crates/redis_interface/src/commands.rs
// Module: redis_interface
// Public functions: 51
//! An interface to abstract the `fred` commands
//!
//! The folder provides generic functions for providing serialization
//! and deserialization while calling redis.
//! It also includes instruments to provide tracing.... | crates/redis_interface/src/commands.rs#chunk0 | redis_interface | chunk | null | null | null | 8,185 | null | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for SchedulerHealthCheckResponse
// File: crates/api_models/src/health_check.rs
// Module: api_models
// Methods: 0 total (0 public)
impl common_utils::events::ApiEventMetric for for SchedulerHealthCheckResponse | crates/api_models/src/health_check.rs | api_models | impl_block | null | null | null | 62 | null | SchedulerHealthCheckResponse | common_utils::events::ApiEventMetric for | 0 | 0 | null | null |
let address: Option<&AddressDetails> = item
.get_optional_billing()
.and_then(|billing_details| billing_details.address.as_ref());
if let Some(address) = address {
// mandatory fields check
address.get_first_name()?;
item.request.get_email_required()?;
item.get_b... | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs#chunk2 | hyperswitch_connectors | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Struct: ItaubankRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ItaubankRefundRequest | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs | hyperswitch_connectors | struct_definition | ItaubankRefundRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: ApplepayVerifiedDomainsResponse
// File: crates/api_models/src/verifications.rs
// Module: api_models
// Implementations: 0
pub struct ApplepayVerifiedDomainsResponse | crates/api_models/src/verifications.rs | api_models | struct_definition | ApplepayVerifiedDomainsResponse | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: non_enum_error
// File: crates/router_derive/src/macros/helpers.rs
// Module: router_derive
pub fn non_enum_error() -> syn::Error | crates/router_derive/src/macros/helpers.rs | router_derive | function_signature | null | null | null | 37 | non_enum_error | null | null | null | null | null | null |
// Function: call_locker_api
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn call_locker_api<T>(
state: &routes::SessionState,
request: Request,
flow_name: &str,
locker_choice: Option<api_enums::LockerChoice>,
) -> errors::CustomResult<T, errors::VaultError>
where
... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 92 | call_locker_api | null | null | null | null | null | null |
// Implementation: impl PaymentMethodsState
// File: crates/payment_methods/src/state.rs
// Module: payment_methods
// Methods: 1 total (0 public)
impl PaymentMethodsState | crates/payment_methods/src/state.rs | payment_methods | impl_block | null | null | null | 38 | null | PaymentMethodsState | null | 1 | 0 | null | null |
// Function: list_de_euclid_routing_algorithms
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
pub fn list_de_euclid_routing_algorithms(
state: &SessionState,
routing_list_request: ListRountingAlgorithmsRequest,
) -> RoutingResult<Vec<api_routing::RoutingDictionaryRecord>> | crates/router/src/core/payments/routing/utils.rs | router | function_signature | null | null | null | 75 | list_de_euclid_routing_algorithms | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Globepay
// File: crates/hyperswitch_connectors/src/connectors/globepay.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl ConnectorCommon for for Globepay | crates/hyperswitch_connectors/src/connectors/globepay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Globepay | ConnectorCommon for | 4 | 0 | null | null |
// Implementation: impl Default for for Database
// File: crates/drainer/src/settings.rs
// Module: drainer
// Methods: 1 total (0 public)
impl Default for for Database | crates/drainer/src/settings.rs | drainer | impl_block | null | null | null | 40 | null | Database | Default for | 1 | 0 | null | null |
// Struct: StripeDisputeResponse
// File: crates/router/src/compatibility/stripe/webhooks.rs
// Module: router
// Implementations: 0
pub struct StripeDisputeResponse | crates/router/src/compatibility/stripe/webhooks.rs | router | struct_definition | StripeDisputeResponse | 0 | [] | 41 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/disputes.rs
// Module: hyperswitch_domain_models
// Public structs: 1
use crate::errors;
pub struct DisputeListConstraints {
pub dispute_id: Option<String>,
pub payment_id: Option<common_utils::id_type::PaymentId>,
pub limit: Option<u32>,
pub offset: Optio... | crates/hyperswitch_domain_models/src/disputes.rs | hyperswitch_domain_models | full_file | null | null | null | 761 | null | null | null | null | null | null | null |
// Implementation: impl ClientSecretFetch for for PaymentMethodCreate
// File: crates/router/src/services/authentication.rs
// Module: router
// Methods: 1 total (0 public)
impl ClientSecretFetch for for PaymentMethodCreate | crates/router/src/services/authentication.rs | router | impl_block | null | null | null | 47 | null | PaymentMethodCreate | ClientSecretFetch for | 1 | 0 | null | null |
// Implementation: impl RetryFeatureData
// File: crates/common_types/src/domain.rs
// Module: common_types
// Methods: 4 total (4 public)
impl RetryFeatureData | crates/common_types/src/domain.rs | common_types | impl_block | null | null | null | 38 | null | RetryFeatureData | null | 4 | 4 | null | null |
// Function: update_with_attempt_id
// File: crates/diesel_models/src/query/payout_attempt.rs
// Module: diesel_models
pub fn update_with_attempt_id(
self,
conn: &PgPooledConn,
payout_attempt_update: PayoutAttemptUpdate,
) -> StorageResult<Self> | crates/diesel_models/src/query/payout_attempt.rs | diesel_models | function_signature | null | null | null | 64 | update_with_attempt_id | null | null | null | null | null | null |
// Struct: ProfileLevel
// File: crates/router/src/types/domain/user.rs
// Module: router
// Implementations: 0
pub struct ProfileLevel | crates/router/src/types/domain/user.rs | router | struct_definition | ProfileLevel | 0 | [] | 33 | null | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
pub fn new(
status: DummyConnectorStatus,
id: String,
currency: Currency,
created: PrimitiveDateTime,
payment_amount: i64,
refund_amount: i64,
) -> Self | crates/router/src/routes/dummy_connector/types.rs | router | function_signature | null | null | null | 70 | new | null | null | null | null | null | null |
// Struct: ProcessTracker
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct ProcessTracker | crates/router/src/routes/app.rs | router | struct_definition | ProcessTracker | 1 | [] | 32 | null | null | null | null | null | null | null |
// Function: construct_payment_router_data_for_authorize
// File: crates/router/src/core/payments/transformers.rs
// Module: router
pub fn construct_payment_router_data_for_authorize<'a>(
state: &'a SessionState,
payment_data: hyperswitch_domain_models::payments::PaymentConfirmData<api::Authorize>,
connect... | crates/router/src/core/payments/transformers.rs | router | function_signature | null | null | null | 155 | construct_payment_router_data_for_authorize | null | null | null | null | null | null |
// File: crates/openapi/src/routes/customers.rs
// Module: openapi
// Public functions: 10
/// Customers - Create
///
/// Creates a customer object and stores the customer details to be reused for future payments.
/// Incase the customer already exists in the system, this API will respond with the customer details.
#[... | crates/openapi/src/routes/customers.rs | openapi | full_file | null | null | null | 1,646 | null | null | null | null | null | null | null |
// Struct: Profile
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 2
pub struct Profile | crates/router/src/routes/app.rs | router | struct_definition | Profile | 2 | [] | 30 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Ebanx
// File: crates/hyperswitch_connectors/src/connectors/ebanx.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Ebanx | crates/hyperswitch_connectors/src/connectors/ebanx.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Ebanx | api::Payment for | 0 | 0 | null | null |
// Struct: HyperswitchAiInteractionNew
// File: crates/diesel_models/src/hyperswitch_ai_interaction.rs
// Module: diesel_models
// Implementations: 0
pub struct HyperswitchAiInteractionNew | crates/diesel_models/src/hyperswitch_ai_interaction.rs | diesel_models | struct_definition | HyperswitchAiInteractionNew | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/sift.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/sift.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// File: crates/analytics/src/sdk_events/metrics/payment_data_filled_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
sdk_events::{
SdkEventDimensions, SdkEventFilters, SdkEventMetricsBucketIdentifier, SdkEventNames,
},
Granularity, TimeRange,
};
use common... | crates/analytics/src/sdk_events/metrics/payment_data_filled_count.rs | analytics | full_file | null | null | null | 804 | null | null | null | null | null | null | null |
// Struct: Nexinets
// File: crates/hyperswitch_connectors/src/connectors/nexinets.rs
// Module: hyperswitch_connectors
// Implementations: 18
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::... | crates/hyperswitch_connectors/src/connectors/nexinets.rs | hyperswitch_connectors | struct_definition | Nexinets | 18 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"ConnectorCommon",
"ConnectorValidation",
"IncomingWebhoo... | 130 | null | null | null | null | null | null | null |
// Struct: GlobalpayRefreshTokenResponse
// File: crates/hyperswitch_connectors/src/connectors/globalpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobalpayRefreshTokenResponse | crates/hyperswitch_connectors/src/connectors/globalpay/response.rs | hyperswitch_connectors | struct_definition | GlobalpayRefreshTokenResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: WaitScreenData
// File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WaitScreenData | crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs | hyperswitch_connectors | struct_definition | WaitScreenData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: DwollaRefundsRequest
// File: crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DwollaRefundsRequest | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs | hyperswitch_connectors | struct_definition | DwollaRefundsRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl PaymentMethodsStorageInterface for for KVRouterStore
// File: crates/payment_methods/src/state.rs
// Module: payment_methods
// Methods: 0 total (0 public)
impl PaymentMethodsStorageInterface for for KVRouterStore | crates/payment_methods/src/state.rs | payment_methods | impl_block | null | null | null | 50 | null | KVRouterStore | PaymentMethodsStorageInterface for | 0 | 0 | null | null |
// Struct: GsmUpdateRequest
// File: crates/api_models/src/gsm.rs
// Module: api_models
// Implementations: 0
pub struct GsmUpdateRequest | crates/api_models/src/gsm.rs | api_models | struct_definition | GsmUpdateRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: insert_cvc_using_payment_token
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn insert_cvc_using_payment_token(
state: &routes::SessionState,
payment_token: &String,
payment_method_data: api_models::payment_methods::PaymentMethodCreateData,
payment_method: ... | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 106 | insert_cvc_using_payment_token | null | null | null | null | null | null |
// File: crates/smithy-generator/build.rs
// Module: smithy-generator
// Public functions: 1
// crates/smithy-generator/build.rs
use std::{fs, path::Path};
use regex::Regex;
fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("cargo:rerun-if-changed=../");
run_build()
}
fn run_build() -> Result<... | crates/smithy-generator/build.rs | smithy-generator | full_file | null | null | null | 2,380 | null | null | null | null | null | null | null |
// Struct: PaystackRouterData
// File: crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaystackRouterData<T> | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs | hyperswitch_connectors | struct_definition | PaystackRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: Defend
// File: crates/hyperswitch_domain_models/src/router_flow_types/dispute.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Defend | crates/hyperswitch_domain_models/src/router_flow_types/dispute.rs | hyperswitch_domain_models | struct_definition | Defend | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Square
// File: crates/hyperswitch_connectors/src/connectors/square.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Square | crates/hyperswitch_connectors/src/connectors/square.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Square | api::MandateSetup for | 0 | 0 | null | null |
// Struct: SantanderWebhookBody
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SantanderWebhookBody | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | SantanderWebhookBody | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: NetworkRetryConfig
// File: crates/router/src/types/storage/revenue_recovery.rs
// Module: router
// Implementations: 0
pub struct NetworkRetryConfig | crates/router/src/types/storage/revenue_recovery.rs | router | struct_definition | NetworkRetryConfig | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: try_emit
// File: crates/events/src/lib.rs
// Module: events
// Documentation: Emit the event.
pub fn try_emit(self) -> Result<(), EventsError> | crates/events/src/lib.rs | events | function_signature | null | null | null | 39 | try_emit | null | null | null | null | null | null |
// Struct: PaymentAccountInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentAccountInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | PaymentAccountInformation | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: CreateProfileDetails
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CreateProfileDetails | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | CreateProfileDetails | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Worldpayxml
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Worldpayxml | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Worldpayxml | api::RefundSync for | 0 | 0 | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/airwallex.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/airwallex.rs | hyperswitch_connectors | function_signature | null | null | null | 40 | new | null | null | null | null | null | null |
// Struct: PaypalOrdersResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalOrdersResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalOrdersResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_product_type
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_product_type(&self) -> Option<common_enums::MerchantProductType> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 42 | get_product_type | null | null | null | null | null | null |
// Trait: PaymentAuthConnectorDataExt
// File: crates/router/src/core/pm_auth/helpers.rs
// Module: router
pub trait PaymentAuthConnectorDataExt | crates/router/src/core/pm_auth/helpers.rs | router | trait_definition | null | null | null | 33 | null | null | PaymentAuthConnectorDataExt | null | null | null | null |
// Function: set_limit_by
// File: crates/analytics/src/query.rs
// Module: analytics
pub fn set_limit_by(&mut self, limit: u64, columns: &[impl ToSql<T>]) -> QueryResult<()> | crates/analytics/src/query.rs | analytics | function_signature | null | null | null | 50 | set_limit_by | null | null | null | null | null | null |
// Struct: ThreeDSRequest
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDSRequest | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | struct_definition | ThreeDSRequest | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentIncrementalAuthorization for for Wellsfargo
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentIncrementalAuthorization for for Wellsfargo | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Wellsfargo | api::PaymentIncrementalAuthorization for | 0 | 0 | null | null |
// Implementation: impl api::RefundSync for for Flexiti
// File: crates/hyperswitch_connectors/src/connectors/flexiti.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Flexiti | crates/hyperswitch_connectors/src/connectors/flexiti.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Flexiti | api::RefundSync for | 0 | 0 | null | null |
// Function: get_order_amount
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_order_amount(&self) -> MinorUnit | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 43 | get_order_amount | null | null | null | null | null | null |
// Function: new
// File: crates/router_env/src/logger/config.rs
// Module: router_env
// Documentation: Default constructor.
pub fn new() -> Result<Self, config::ConfigError> | crates/router_env/src/logger/config.rs | router_env | function_signature | null | null | null | 41 | new | null | null | null | null | null | null |
// Struct: PaymentUpdateIntent
// File: crates/router/src/core/payments/operations/payment_update_intent.rs
// Module: router
// Implementations: 1
// Traits: ValidateStatusForOperation
pub struct PaymentUpdateIntent | crates/router/src/core/payments/operations/payment_update_intent.rs | router | struct_definition | PaymentUpdateIntent | 1 | [
"ValidateStatusForOperation"
] | 48 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payments/metrics.rs
// Module: analytics
// Public structs: 1
use std::collections::HashSet;
use api_models::analytics::{
payments::{PaymentDimensions, PaymentFilters, PaymentMetrics, PaymentMetricsBucketIdentifier},
Granularity, TimeRange,
};
use diesel_models::enums as storage_... | crates/analytics/src/payments/metrics.rs | analytics | full_file | null | null | null | 1,522 | null | null | null | null | null | null | null |
// Implementation: impl State for for PmTokenUpdated
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
// Methods: 0 total (0 public)
impl State for for PmTokenUpdated | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | impl_block | null | null | null | 51 | null | PmTokenUpdated | State for | 0 | 0 | null | null |
// Struct: AirwallexRedirectResponse
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AirwallexRedirectResponse | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AirwallexRedirectResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: RevolutPayData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RevolutPayData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | RevolutPayData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Bankofamerica
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Bankofamerica | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Bankofamerica | api::PaymentAuthorize for | 0 | 0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.