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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Function: do_retry
// File: crates/router/src/core/payments/retry.rs
// Module: router
pub fn do_retry<F, ApiRequest, FData, D>(
state: &routes::SessionState,
req_state: ReqState,
connector: &api::ConnectorData,
operation: &operations::BoxedOperation<'_, F, ApiRequest, D>,
customer: &Option<doma... | crates/router/src/core/payments/retry.rs | router | function_signature | null | null | null | 356 | do_retry | null | null | null | null | null | null |
// Struct: PaymentsAuthenticateData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentsAuthenticateData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | PaymentsAuthenticateData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/custombilling.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/custombilling.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Module Structure
// File: crates/router_env/src/metrics.rs
// Module: router_env
// Public exports:
pub use helpers::f64_histogram_buckets;
| crates/router_env/src/metrics.rs | router_env | module_structure | null | null | null | 35 | null | null | null | null | null | 0 | 1 |
// Implementation: impl ConnectorRedirectResponse for for Bambora
// File: crates/hyperswitch_connectors/src/connectors/bambora.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorRedirectResponse for for Bambora | crates/hyperswitch_connectors/src/connectors/bambora.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Bambora | ConnectorRedirectResponse for | 1 | 0 | null | null |
// Struct: ConfigUpdate
// File: crates/router/src/types/api/configs.rs
// Module: router
// Implementations: 0
pub struct ConfigUpdate | crates/router/src/types/api/configs.rs | router | struct_definition | ConfigUpdate | 0 | [] | 34 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payment_intents/sankey.rs
// Module: analytics
// Public functions: 1
// Public structs: 1
use common_enums::enums;
use common_utils::{
errors::ParsingError,
types::{authentication::AuthInfo, TimeRange},
};
use error_stack::ResultExt;
use router_env::logger;
use crate::{
clic... | crates/analytics/src/payment_intents/sankey.rs | analytics | full_file | null | null | null | 1,006 | null | null | null | null | null | null | null |
// Struct: ToggleBlocklistQuery
// File: crates/api_models/src/blocklist.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct ToggleBlocklistQuery | crates/api_models/src/blocklist.rs | api_models | struct_definition | ToggleBlocklistQuery | 1 | [
"ApiEventMetric"
] | 45 | null | null | null | null | null | null | null |
// Struct: AvsSecurityCodeResponse
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AvsSecurityCodeResponse | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | AvsSecurityCodeResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorizeSessionToken for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorizeSessionToken for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Nuvei | api::PaymentAuthorizeSessionToken for | 0 | 0 | null | null |
// Function: is_success
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_success(&self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 34 | is_success | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/noon.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::{ConnectorWebhookSecrets, IncomingWebhookEvent, ObjectReferenceId};
use base64::Engine;
use common_enums::enums;
use common_util... | crates/hyperswitch_connectors/src/connectors/noon.rs | hyperswitch_connectors | full_file | null | null | null | 7,834 | null | null | null | null | null | null | null |
// Struct: Billwerk
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::... | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | struct_definition | Billwerk | 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... | 123 | null | null | null | null | null | null | null |
// Struct: GetActivePaymentsMetricRequest
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct GetActivePaymentsMetricRequest | crates/api_models/src/analytics.rs | api_models | struct_definition | GetActivePaymentsMetricRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Nordea
// File: crates/hyperswitch_connectors/src/connectors/nordea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Nordea | crates/hyperswitch_connectors/src/connectors/nordea.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Nordea | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl api::Payment for for Worldpayxml
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Worldpayxml | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Worldpayxml | api::Payment for | 0 | 0 | null | null |
// Struct: NextAction
// File: crates/api_models/src/authentication.rs
// Module: api_models
// Implementations: 0
pub struct NextAction | crates/api_models/src/authentication.rs | api_models | struct_definition | NextAction | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: GlobalpayWebhookObjectEventType
// File: crates/hyperswitch_connectors/src/connectors/globalpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobalpayWebhookObjectEventType | crates/hyperswitch_connectors/src/connectors/globalpay/response.rs | hyperswitch_connectors | struct_definition | GlobalpayWebhookObjectEventType | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: get_most_specific_theme_using_token_and_min_entity
// File: crates/router/src/utils/user/theme.rs
// Module: router
pub fn get_most_specific_theme_using_token_and_min_entity(
state: &SessionState,
user_from_token: &UserFromToken,
min_entity: EntityType,
) -> UserResult<Option<Theme>> | crates/router/src/utils/user/theme.rs | router | function_signature | null | null | null | 72 | get_most_specific_theme_using_token_and_min_entity | null | null | null | null | null | null |
// Struct: ReconTokenResponse
// File: crates/api_models/src/recon.rs
// Module: api_models
// Implementations: 0
pub struct ReconTokenResponse | crates/api_models/src/recon.rs | api_models | struct_definition | ReconTokenResponse | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Coinbase
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Coinbase | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Coinbase | api::RefundExecute for | 0 | 0 | null | null |
let payments_request = serde_json::from_str::<PaymentsRequest>(payments_request);
assert!(payments_request.is_ok());
assert!(payments_request
.unwrap()
.payment_method_data
.unwrap()
.billing
.is_some());
}
}
#[cfg(test)]
mod paym... | crates/api_models/src/payments.rs#chunk11 | api_models | chunk | null | null | null | 4,870 | null | null | null | null | null | null | null |
// Struct: DummyConnector
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 2
pub struct DummyConnector | crates/router/src/routes/app.rs | router | struct_definition | DummyConnector | 2 | [] | 32 | null | null | null | null | null | null | null |
// File: crates/openapi/src/routes.rs
// Module: openapi
#![allow(unused)]
pub mod api_keys;
pub mod authentication;
pub mod blocklist;
pub mod customers;
pub mod disputes;
pub mod gsm;
pub mod mandates;
pub mod merchant_account;
pub mod merchant_connector_account;
pub mod organization;
pub mod payment_link;
pub mod ... | crates/openapi/src/routes.rs | openapi | full_file | null | null | null | 141 | null | null | null | null | null | null | null |
// Function: get_co_badged_card_data
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
pub fn get_co_badged_card_data(&self) -> Option<payment_methods::CoBadgedCardData> | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 57 | get_co_badged_card_data | null | null | null | null | null | null |
// Struct: ConnectorEventsRequest
// File: crates/api_models/src/analytics/connector_events.rs
// Module: api_models
// Implementations: 0
pub struct ConnectorEventsRequest | crates/api_models/src/analytics/connector_events.rs | api_models | struct_definition | ConnectorEventsRequest | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: PaymentsMandateReference
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
// Implementations: 2
// Traits: std::ops::Deref, std::ops::DerefMut
pub struct PaymentsMandateReference | crates/diesel_models/src/payment_method.rs | diesel_models | struct_definition | PaymentsMandateReference | 2 | [
"std::ops::Deref",
"std::ops::DerefMut"
] | 59 | null | null | null | null | null | null | null |
// Function: get_parent_group_info
// File: crates/router/src/routes/user_role.rs
// Module: router
pub fn get_parent_group_info(
state: web::Data<AppState>,
http_req: HttpRequest,
query: web::Query<role_api::GetParentGroupsInfoQueryParams>,
) -> HttpResponse | crates/router/src/routes/user_role.rs | router | function_signature | null | null | null | 66 | get_parent_group_info | null | null | null | null | null | null |
// Function: retrieve_disputes_list
// File: crates/router/src/core/disputes.rs
// Module: router
pub fn retrieve_disputes_list(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id_list: Option<Vec<common_utils::id_type::ProfileId>>,
constraints: api_models::disputes::DisputeList... | crates/router/src/core/disputes.rs | router | function_signature | null | null | null | 99 | retrieve_disputes_list | null | null | null | null | null | null |
// Function: sync_refund_with_gateway
// File: crates/router/src/core/refunds.rs
// Module: router
pub fn sync_refund_with_gateway(
state: &SessionState,
merchant_context: &domain::MerchantContext,
payment_attempt: &storage::PaymentAttempt,
payment_intent: &storage::PaymentIntent,
refund: &diesel_r... | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 113 | sync_refund_with_gateway | null | null | null | null | null | null |
// Struct: DwollaRequestLink
// File: crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DwollaRequestLink | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs | hyperswitch_connectors | struct_definition | DwollaRequestLink | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl SchedulerInterface for for Store
// File: crates/scheduler/src/scheduler.rs
// Module: scheduler
// Methods: 0 total (0 public)
impl SchedulerInterface for for Store | crates/scheduler/src/scheduler.rs | scheduler | impl_block | null | null | null | 42 | null | Store | SchedulerInterface for | 0 | 0 | null | null |
// Struct: Fiuu
// File: crates/hyperswitch_connectors/src/connectors/fiuu.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refund, ... | crates/hyperswitch_connectors/src/connectors/fiuu.rs | hyperswitch_connectors | struct_definition | Fiuu | 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... | 128 | 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 |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/trustpayments.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/trustpayments.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | 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 ProfileInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 7 total (0 public)
impl ProfileInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 45 | null | KafkaStore | ProfileInterface for | 7 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Finix
// File: crates/hyperswitch_connectors/src/connectors/finix.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Finix | crates/hyperswitch_connectors/src/connectors/finix.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Finix | api::PaymentAuthorize for | 0 | 0 | null | null |
HardDeclineIssueWithPaypalAccount,
#[serde(rename = "613")]
#[strum(serialize = "613")]
HardDeclinePayPalAuthorizationIdMissing,
#[serde(rename = "614")]
#[strum(serialize = "614")]
HardDeclineConfirmedEmailAddressIsNotAvailable,
#[serde(rename = "615")]
#[strum(serialize = "615")]
... | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs#chunk3 | hyperswitch_connectors | chunk | null | null | null | 8,177 | null | null | null | null | null | null | null |
// File: crates/router_derive/src/macros/operation.rs
// Module: router_derive
// Public functions: 1
// Public structs: 1
use std::str::FromStr;
use proc_macro2::{Span, TokenStream};
use quote::{quote, ToTokens};
use strum::IntoEnumIterator;
use syn::{self, parse::Parse, DeriveInput};
use crate::macros::helpers;
#... | crates/router_derive/src/macros/operation.rs | router_derive | full_file | null | null | null | 3,579 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/nmi.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::IncomingWebhookEvent;
use common_enums::{enums, CallConnectorAction, PaymentAction};
use common_utils::{
crypto,
errors::... | crates/hyperswitch_connectors/src/connectors/nmi.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Function: track_response_status_code
// File: crates/router/src/routes/metrics/request.rs
// Module: router
pub fn track_response_status_code<Q>(response: &ApplicationResponse<Q>) -> i64 | crates/router/src/routes/metrics/request.rs | router | function_signature | null | null | null | 44 | track_response_status_code | null | null | null | null | null | null |
// Struct: Handler
// File: crates/drainer/src/handler.rs
// Module: drainer
// Implementations: 2
// Traits: std::ops::Deref
pub struct Handler | crates/drainer/src/handler.rs | drainer | struct_definition | Handler | 2 | [
"std::ops::Deref"
] | 42 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Gocardless
// File: crates/hyperswitch_connectors/src/connectors/gocardless.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl IncomingWebhook for for Gocardless | crates/hyperswitch_connectors/src/connectors/gocardless.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Gocardless | IncomingWebhook for | 6 | 0 | null | null |
// Struct: ApplePayPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayPaymentInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayPaymentInformation | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/routing.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/routing.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: StaxTokenizeData
// File: crates/hyperswitch_connectors/src/connectors/stax/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StaxTokenizeData | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs | hyperswitch_connectors | struct_definition | StaxTokenizeData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl SerializableSecret for for i64
// File: crates/masking/src/serde.rs
// Module: masking
// Methods: 0 total (0 public)
impl SerializableSecret for for i64 | crates/masking/src/serde.rs | masking | impl_block | null | null | null | 46 | null | i64 | SerializableSecret for | 0 | 0 | null | null |
// Struct: GenericLinkFormData
// File: crates/hyperswitch_domain_models/src/api.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GenericLinkFormData | crates/hyperswitch_domain_models/src/api.rs | hyperswitch_domain_models | struct_definition | GenericLinkFormData | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/router/src/types/storage/callback_mapper.rs
// Module: router
pub use diesel_models::callback_mapper::CallbackMapper;
| crates/router/src/types/storage/callback_mapper.rs | router | full_file | null | null | null | 28 | null | null | null | null | null | null | null |
// Struct: PaypalIncrementalAuthRequest
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalIncrementalAuthRequest | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalIncrementalAuthRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Wise | api::PaymentSync for | 0 | 0 | null | null |
// Implementation: impl api::Payment for for Vgs
// File: crates/hyperswitch_connectors/src/connectors/vgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Vgs | crates/hyperswitch_connectors/src/connectors/vgs.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Vgs | api::Payment for | 0 | 0 | null | null |
// Struct: HashiCorpVault
// File: crates/external_services/src/hashicorp_vault/core.rs
// Module: external_services
// Implementations: 1
// Documentation: A struct representing a connection to HashiCorp Vault.
pub struct HashiCorpVault | crates/external_services/src/hashicorp_vault/core.rs | external_services | struct_definition | HashiCorpVault | 1 | [] | 57 | null | null | null | null | null | null | null |
// Function: generate_spt
// File: crates/router/src/types/domain/user/decision_manager.rs
// Module: router
pub fn generate_spt(
self,
state: &SessionState,
next_flow: &NextFlow,
) -> UserResult<Secret<String>> | crates/router/src/types/domain/user/decision_manager.rs | router | function_signature | null | null | null | 59 | generate_spt | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/volt/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 20
use common_enums::enums;
use common_utils::{id_type, pii::Email, request::Method, types::MinorUnit};
use hyperswitch_domain_models::{
payment_method_data::{BankRedirectData, PaymentMet... | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 4,663 | null | null | null | null | null | null | null |
// Implementation: impl AddressNew
// File: crates/diesel_models/src/query/address.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl AddressNew | crates/diesel_models/src/query/address.rs | diesel_models | impl_block | null | null | null | 38 | null | AddressNew | null | 1 | 0 | null | null |
// Struct: TokenizedBankTransferValue2
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct TokenizedBankTransferValue2 | crates/api_models/src/payment_methods.rs | api_models | struct_definition | TokenizedBankTransferValue2 | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl KafkaPaymentIntentEvent
// File: crates/router/src/services/kafka/payment_intent_event.rs
// Module: router
// Methods: 1 total (1 public)
impl KafkaPaymentIntentEvent | crates/router/src/services/kafka/payment_intent_event.rs | router | impl_block | null | null | null | 43 | null | KafkaPaymentIntentEvent | null | 1 | 1 | null | null |
// Struct: DeviceData
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeviceData | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | DeviceData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Cryptopay
// File: crates/hyperswitch_connectors/src/connectors/cryptopay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Cryptopay | crates/hyperswitch_connectors/src/connectors/cryptopay.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Cryptopay | api::MandateSetup for | 0 | 0 | null | null |
// Struct: DlocalRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DlocalRefundRequest | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs | hyperswitch_connectors | struct_definition | DlocalRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: UnifiedAuthenticationServiceErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct UnifiedAuthenticationServiceErrorResponse | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | UnifiedAuthenticationServiceErrorResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: TokenResponse
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct TokenResponse | crates/api_models/src/user.rs | api_models | struct_definition | TokenResponse | 0 | [] | 33 | null | null | null | null | null | null | null |
// Function: apply_changeset
// File: crates/diesel_models/src/customers.rs
// Module: diesel_models
pub fn apply_changeset(self, source: Customer) -> Customer | crates/diesel_models/src/customers.rs | diesel_models | function_signature | null | null | null | 38 | apply_changeset | null | null | null | null | null | null |
// Implementation: impl CallbackMapperInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 2 total (0 public)
impl CallbackMapperInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 47 | null | KafkaStore | CallbackMapperInterface for | 2 | 0 | null | null |
// Implementation: impl RequiredFieldsForEnabledPaymentMethodTypes
// File: crates/router/src/core/payment_methods.rs
// Module: router
// Methods: 1 total (0 public)
impl RequiredFieldsForEnabledPaymentMethodTypes | crates/router/src/core/payment_methods.rs | router | impl_block | null | null | null | 46 | null | RequiredFieldsForEnabledPaymentMethodTypes | null | 1 | 0 | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/routing.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/routing.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Function: find_by_publishable_key
// File: crates/diesel_models/src/query/merchant_account.rs
// Module: diesel_models
pub fn find_by_publishable_key(
conn: &PgPooledConn,
publishable_key: &str,
) -> StorageResult<Self> | crates/diesel_models/src/query/merchant_account.rs | diesel_models | function_signature | null | null | null | 61 | find_by_publishable_key | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/routing.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/routing.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Function: perform_dynamic_routing_with_open_router
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn perform_dynamic_routing_with_open_router<F, D>(
state: &SessionState,
routable_connectors: Vec<api_routing::RoutableConnectorChoice>,
profile: &domain::Profile,
payment_dat... | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 138 | perform_dynamic_routing_with_open_router | null | null | null | null | null | null |
// File: crates/euclid_macros/src/inner.rs
// Module: euclid_macros
mod enum_nums;
mod knowledge;
pub(crate) use enum_nums::enum_nums_inner;
pub(crate) use knowledge::knowledge_inner;
| crates/euclid_macros/src/inner.rs | euclid_macros | full_file | null | null | null | 47 | null | null | null | null | null | null | null |
// File: crates/router/src/db/hyperswitch_ai_interaction.rs
// Module: router
use diesel_models::hyperswitch_ai_interaction as storage;
use error_stack::report;
use router_env::{instrument, tracing};
use super::MockDb;
use crate::{
connection,
core::errors::{self, CustomResult},
services::Store,
};
#[asy... | crates/router/src/db/hyperswitch_ai_interaction.rs | router | full_file | null | null | null | 1,046 | null | null | null | null | null | null | null |
// Implementation: impl FacilitapayAuthRequest
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl FacilitapayAuthRequest | crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | FacilitapayAuthRequest | null | 1 | 0 | null | null |
// Struct: ProfileAcquirerUpdate
// File: crates/api_models/src/profile_acquirer.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct ProfileAcquirerUpdate | crates/api_models/src/profile_acquirer.rs | api_models | struct_definition | ProfileAcquirerUpdate | 1 | [
"common_utils::events::ApiEventMetric"
] | 51 | null | null | null | null | null | null | null |
// Struct: RecordMigrationStatusBuilder
// File: crates/payment_methods/src/core/migration.rs
// Module: payment_methods
// Implementations: 2
// Traits: Default
pub struct RecordMigrationStatusBuilder | crates/payment_methods/src/core/migration.rs | payment_methods | struct_definition | RecordMigrationStatusBuilder | 2 | [
"Default"
] | 44 | null | null | null | null | null | null | null |
// Struct: NordeaGroupHeader
// File: crates/hyperswitch_connectors/src/connectors/nordea/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NordeaGroupHeader | crates/hyperswitch_connectors/src/connectors/nordea/responses.rs | hyperswitch_connectors | struct_definition | NordeaGroupHeader | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: get_id
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
pub fn get_id(&self) -> &common_utils::id_type::ProfileId | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | function_signature | null | null | null | 46 | get_id | null | null | null | null | null | null |
// Function: make_frm_data_and_fraud_check_operation
// File: crates/router/src/core/fraud_check.rs
// Module: router
pub fn make_frm_data_and_fraud_check_operation<F, D>(
_db: &dyn StorageInterface,
state: &SessionState,
merchant_context: &domain::MerchantContext,
payment_data: D,
frm_routing_algo... | crates/router/src/core/fraud_check.rs | router | function_signature | null | null | null | 169 | make_frm_data_and_fraud_check_operation | null | null | null | null | null | null |
// Trait: Validate
// File: crates/router/src/core/relay.rs
// Module: router
pub trait Validate | crates/router/src/core/relay.rs | router | trait_definition | null | null | null | 24 | null | null | Validate | null | null | null | null |
// Implementation: impl api::RefundSync for for Bankofamerica
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Bankofamerica | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Bankofamerica | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl Default for for ConnectorPTMapping
// File: crates/scheduler/src/consumer/types/process_data.rs
// Module: scheduler
// Methods: 1 total (0 public)
impl Default for for ConnectorPTMapping | crates/scheduler/src/consumer/types/process_data.rs | scheduler | impl_block | null | null | null | 47 | null | ConnectorPTMapping | Default for | 1 | 0 | null | null |
// Implementation: impl SuccessBasedRoutingConfig
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 3 total (3 public)
impl SuccessBasedRoutingConfig | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 41 | null | SuccessBasedRoutingConfig | null | 3 | 3 | null | null |
// Function: insert
// File: crates/diesel_models/src/query/invoice.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<Invoice> | crates/diesel_models/src/query/invoice.rs | diesel_models | function_signature | null | null | null | 43 | insert | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Celero
// File: crates/hyperswitch_connectors/src/connectors/celero.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Celero | crates/hyperswitch_connectors/src/connectors/celero.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Celero | api::RefundExecute for | 0 | 0 | null | null |
// Struct: GetRefundMetricRequest
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct GetRefundMetricRequest | crates/api_models/src/analytics.rs | api_models | struct_definition | GetRefundMetricRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: delete_by_id
// File: crates/diesel_models/src/query/merchant_connector_account.rs
// Module: diesel_models
pub fn delete_by_id(
conn: &PgPooledConn,
id: &common_utils::id_type::MerchantConnectorAccountId,
) -> StorageResult<bool> | crates/diesel_models/src/query/merchant_connector_account.rs | diesel_models | function_signature | null | null | null | 64 | delete_by_id | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/merchant_key_store.rs
// Module: diesel_models
// Public functions: 5
use diesel::{associations::HasTable, ExpressionMethods};
use super::generics;
use crate::{
merchant_key_store::{MerchantKeyStore, MerchantKeyStoreNew},
schema::merchant_key_store::dsl,
PgPooledCon... | crates/diesel_models/src/query/merchant_key_store.rs | diesel_models | full_file | null | null | null | 533 | null | null | null | null | null | null | null |
// File: crates/test_utils/tests/connectors/main.rs
// Module: test_utils
#![allow(
clippy::expect_used,
clippy::panic,
clippy::unwrap_in_result,
clippy::unwrap_used,
clippy::print_stderr
)]
mod aci_ui;
mod adyen_uk_ui;
mod adyen_uk_wh_ui;
mod airwallex_ui;
mod authorizedotnet_ui;
mod authorizedotn... | crates/test_utils/tests/connectors/main.rs | test_utils | full_file | null | null | null | 197 | null | null | null | null | null | null | null |
// Function: card_iin_info
// File: crates/router/src/routes/cards_info.rs
// Module: router
pub fn card_iin_info(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
payload: web::Query<api_models::cards_info::CardsInfoRequestParams>,
) -> impl Responder | crates/router/src/routes/cards_info.rs | router | function_signature | null | null | null | 76 | card_iin_info | null | null | null | null | null | null |
// Struct: ListMethodsForPaymentMethodsRequest
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct ListMethodsForPaymentMethodsRequest | crates/api_models/src/payment_methods.rs | api_models | struct_definition | ListMethodsForPaymentMethodsRequest | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: WebhookEventDataResourceSignature
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WebhookEventDataResourceSignature | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | WebhookEventDataResourceSignature | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: use_legacy_version
// File: crates/drainer/src/services.rs
// Module: drainer
pub fn use_legacy_version(&self) -> bool | crates/drainer/src/services.rs | drainer | function_signature | null | null | null | 33 | use_legacy_version | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Fiservemea
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Fiservemea | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | impl_block | null | null | null | 70 | null | Fiservemea | api::MandateSetup for | 0 | 0 | null | null |
// Struct: StoreLockerResponse
// File: crates/router/src/core/payment_methods/tokenize.rs
// Module: router
// Implementations: 0
pub struct StoreLockerResponse | crates/router/src/core/payment_methods/tokenize.rs | router | struct_definition | StoreLockerResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: into_inner
// File: crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs
// Module: hyperswitch_interfaces
pub fn into_inner(self) -> T | crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs | hyperswitch_interfaces | function_signature | null | null | null | 39 | into_inner | null | null | null | null | null | null |
// File: crates/test_utils/tests/connectors/worldline_ui.rs
// Module: test_utils
use serial_test::serial;
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct WorldlineSeleniumTest;
impl SeleniumTest for WorldlineSeleniumTest {
fn get_connector_name(&self) -> String {
"worl... | crates/test_utils/tests/connectors/worldline_ui.rs | test_utils | full_file | null | null | null | 597 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/worldpay.rs
// Module: hyperswitch_connectors
// Public structs: 1
mod requests;
mod response;
pub mod transformers;
use std::sync::LazyLock;
use api_models::{payments::PaymentIdType, webhooks::IncomingWebhookEvent};
use common_enums::{enums, PaymentAction};
use ... | crates/hyperswitch_connectors/src/connectors/worldpay.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Struct: BillwerkRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BillwerkRefundRequest | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs | hyperswitch_connectors | struct_definition | BillwerkRefundRequest | 0 | [] | 52 | 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.