text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Struct: PollConfig
// File: crates/router/src/types.rs
// Module: router
// Implementations: 2
// Traits: Default
pub struct PollConfig | crates/router/src/types.rs | router | struct_definition | PollConfig | 2 | [
"Default"
] | 36 | null | null | null | null | null | null | null |
// File: crates/router/src/services/email.rs
// Module: router
pub mod types;
| crates/router/src/services/email.rs | router | full_file | null | null | null | 19 | null | null | null | null | null | null | null |
// Implementation: impl std::ops::Deref for for Handler
// File: crates/drainer/src/handler.rs
// Module: drainer
// Methods: 1 total (0 public)
impl std::ops::Deref for for Handler | crates/drainer/src/handler.rs | drainer | impl_block | null | null | null | 51 | null | Handler | std::ops::Deref for | 1 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Trustpay
// File: crates/hyperswitch_connectors/src/connectors/trustpay.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Trustpay | crates/hyperswitch_connectors/src/connectors/trustpay.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Trustpay | ConnectorCommon for | 6 | 0 | null | null |
// Struct: MerchantRiskIndicator
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantRiskIndicator | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | struct_definition | MerchantRiskIndicator | 0 | [] | 51 | null | null | null | null | null | null | null |
// File: crates/scheduler/src/flow.rs
// Module: scheduler
#[derive(Copy, Clone, Debug, strum::Display, strum::EnumString)]
#[strum(serialize_all = "snake_case")]
pub enum SchedulerFlow {
Producer,
Consumer,
Cleaner,
}
| crates/scheduler/src/flow.rs | scheduler | full_file | null | null | null | 62 | null | null | null | null | null | null | null |
// Function: insert_role_in_blacklist
// File: crates/router/src/services/authentication/blacklist.rs
// Module: router
pub fn insert_role_in_blacklist(state: &SessionState, role_id: &str) -> UserResult<()> | crates/router/src/services/authentication/blacklist.rs | router | function_signature | null | null | null | 49 | insert_role_in_blacklist | null | null | null | null | null | null |
// Function: rust_locker_migration
// File: crates/router/src/routes/locker_migration.rs
// Module: router
pub fn rust_locker_migration(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::MerchantId>,
) -> HttpResponse | crates/router/src/routes/locker_migration.rs | router | function_signature | null | null | null | 65 | rust_locker_migration | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Nexinets
// File: crates/hyperswitch_connectors/src/connectors/nexinets.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Nexinets | crates/hyperswitch_connectors/src/connectors/nexinets.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nexinets | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: Purchase
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Purchase | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | struct_definition | Purchase | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/router_flow_types/unified_authentication_service.rs
// Module: hyperswitch_domain_models
// Public structs: 4
#[derive(Debug, Clone)]
pub struct PreAuthenticate;
#[derive(Debug, Clone)]
pub struct PostAuthenticate;
#[derive(Debug, Clone)]
pub struct AuthenticationConfirm... | crates/hyperswitch_domain_models/src/router_flow_types/unified_authentication_service.rs | hyperswitch_domain_models | full_file | null | null | null | 78 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentPostSessionTokens for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentPostSessionTokens for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Paypal | api::PaymentPostSessionTokens for | 0 | 0 | null | null |
// Struct: JpmorganValidationErrors
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JpmorganValidationErrors | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | JpmorganValidationErrors | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: SuccessfulSmartRetries
// File: crates/api_models/src/analytics/payment_intents.rs
// Module: api_models
// Implementations: 0
pub struct SuccessfulSmartRetries | crates/api_models/src/analytics/payment_intents.rs | api_models | struct_definition | SuccessfulSmartRetries | 0 | [] | 41 | null | null | null | null | null | null | null |
// File: crates/analytics/src/core.rs
// Module: analytics
// Public functions: 1
use api_models::analytics::GetInfoResponse;
use crate::{types::AnalyticsDomain, utils};
pub async fn get_domain_info(
domain: AnalyticsDomain,
) -> crate::errors::AnalyticsResult<GetInfoResponse> {
let info = match domain {
... | crates/analytics/src/core.rs | analytics | full_file | null | null | null | 436 | null | null | null | null | null | null | null |
// Struct: FraudDetails
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FraudDetails | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | FraudDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Dlocal
// File: crates/hyperswitch_connectors/src/connectors/dlocal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Dlocal | crates/hyperswitch_connectors/src/connectors/dlocal.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Dlocal | api::PaymentSync for | 0 | 0 | null | null |
// Function: payments_manual_update
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_manual_update(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsManualUpdateRequest>,
path: web::Path<common_utils::id_type::Pa... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 86 | payments_manual_update | null | null | null | null | null | null |
// Struct: WorldpayPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WorldpayPaymentsResponse | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | WorldpayPaymentsResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Globalpay
// File: crates/hyperswitch_connectors/src/connectors/globalpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Globalpay | crates/hyperswitch_connectors/src/connectors/globalpay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Globalpay | api::RefundExecute for | 0 | 0 | null | null |
// Struct: SiftAuthType
// File: crates/hyperswitch_connectors/src/connectors/sift/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SiftAuthType | crates/hyperswitch_connectors/src/connectors/sift/transformers.rs | hyperswitch_connectors | struct_definition | SiftAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: PaymentsMetricsResponse
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct PaymentsMetricsResponse<T> | crates/api_models/src/analytics.rs | api_models | struct_definition | PaymentsMetricsResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: set_stored_token_response
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
pub fn set_stored_token_response(
self,
store_token_response: &'a StoreLockerResponse,
) -> NetworkTokenizationBuilder<'a, CardTokenStored> | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | function_signature | null | null | null | 65 | set_stored_token_response | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Hyperwallet
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Hyperwallet | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Hyperwallet | ConnectorCommon for | 6 | 0 | null | null |
// File: crates/hyperswitch_interfaces/src/api/payouts_v2.rs
// Module: hyperswitch_interfaces
//! Payouts V2 interface
use hyperswitch_domain_models::{
router_data_v2::flow_common_types::PayoutFlowData,
router_flow_types::payouts::{
PoCancel, PoCreate, PoEligibility, PoFulfill, PoQuote, PoRecipient, P... | crates/hyperswitch_interfaces/src/api/payouts_v2.rs | hyperswitch_interfaces | full_file | null | null | null | 615 | null | null | null | null | null | null | null |
// File: crates/test_utils/tests/connectors/adyen_uk_ui.rs
// Module: test_utils
use serial_test::serial;
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct AdyenSeleniumTest;
impl SeleniumTest for AdyenSeleniumTest {
fn get_connector_name(&self) -> String {
"adyen_uk".to_... | crates/test_utils/tests/connectors/adyen_uk_ui.rs | test_utils | full_file | null | null | null | 7,611 | null | null | null | null | null | null | null |
PaymentsAuthorizeData,
PaymentsResponseData,
>,
) -> Result<Self, Self::Error> {
let status = map_cybersource_attempt_status(
item.response
.status
.clone()
.unwrap_or(CybersourcePaymentStatus::StatusNotReceived),
... | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs#chunk3 | hyperswitch_connectors | chunk | null | null | null | 8,187 | null | null | null | null | null | null | null |
// Trait: ErrorSwitchFrom
// File: crates/common_utils/src/errors.rs
// Module: common_utils
// Documentation: Allow [error_stack::Report] to convert between error types This serves as an alternative to [ErrorSwitch]
pub trait ErrorSwitchFrom<T> | crates/common_utils/src/errors.rs | common_utils | trait_definition | null | null | null | 55 | null | null | ErrorSwitchFrom | null | null | null | null |
// Implementation: impl ActivePaymentsMetricsAccumulator
// File: crates/analytics/src/active_payments/accumulator.rs
// Module: analytics
// Methods: 1 total (1 public)
impl ActivePaymentsMetricsAccumulator | crates/analytics/src/active_payments/accumulator.rs | analytics | impl_block | null | null | null | 47 | null | ActivePaymentsMetricsAccumulator | null | 1 | 1 | null | null |
// Implementation: impl api::RefundSync for for Inespay
// File: crates/hyperswitch_connectors/src/connectors/inespay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Inespay | crates/hyperswitch_connectors/src/connectors/inespay.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Inespay | api::RefundSync for | 0 | 0 | null | null |
// Function: build_payment_data
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
pub fn build_payment_data(
self,
status: DummyConnectorStatus,
next_action: Option<DummyConnectorNextAction>,
return_url: Option<String>,
) -> DummyConnectorPaymentData | crates/router/src/routes/dummy_connector/types.rs | router | function_signature | null | null | null | 66 | build_payment_data | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/placetopay.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/placetopay.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Struct: ConfigMetadata
// File: crates/connector_configs/src/connector.rs
// Module: connector_configs
// Implementations: 0
pub struct ConfigMetadata | crates/connector_configs/src/connector.rs | connector_configs | struct_definition | ConfigMetadata | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Noon
// File: crates/hyperswitch_connectors/src/connectors/noon.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Noon | crates/hyperswitch_connectors/src/connectors/noon.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Noon | api::RefundSync for | 0 | 0 | null | null |
// Struct: PaymentListFilters
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentListFilters | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | struct_definition | PaymentListFilters | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Volt
// File: crates/hyperswitch_connectors/src/connectors/volt.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Volt | crates/hyperswitch_connectors/src/connectors/volt.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Volt | api::RefundSync for | 0 | 0 | null | null |
// Function: payment_method_session_delete_saved_payment_method
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn payment_method_session_delete_saved_payment_method() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 39 | payment_method_session_delete_saved_payment_method | null | null | null | null | null | null |
// Struct: FeatureMatrix
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct FeatureMatrix | crates/router/src/routes/app.rs | router | struct_definition | FeatureMatrix | 1 | [] | 32 | null | null | null | null | null | null | null |
// Struct: KlarnaRefundResponse
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KlarnaRefundResponse | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | KlarnaRefundResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl AccountReferenceMap
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
// Methods: 2 total (1 public)
impl AccountReferenceMap | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | impl_block | null | null | null | 47 | null | AccountReferenceMap | null | 2 | 1 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use base64::Engine;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
reques... | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs | hyperswitch_connectors | full_file | null | null | null | 6,737 | null | null | null | null | null | null | null |
// File: crates/router/src/db/events.rs
// Module: router
use std::collections::HashSet;
use common_utils::{ext_traits::AsyncExt, types::keymanager::KeyManagerState};
use error_stack::{report, ResultExt};
use router_env::{instrument, tracing};
use super::{MockDb, Store};
use crate::{
connection,
core::errors... | crates/router/src/db/events.rs#chunk0 | router | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/paytm.rs
// Module: router
use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData};
use masking::Secret;
use router::types::{self, api, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
str... | crates/router/tests/connectors/paytm.rs | router | full_file | null | null | null | 2,931 | null | null | null | null | null | null | null |
// File: crates/drainer/src/lib.rs
// Module: drainer
// Public functions: 2
mod connection;
pub mod errors;
mod handler;
mod health_check;
pub mod logger;
pub(crate) mod metrics;
mod query;
pub mod services;
pub mod settings;
mod stream;
mod types;
mod utils;
use std::{collections::HashMap, sync::Arc};
mod secrets_tr... | crates/drainer/src/lib.rs | drainer | full_file | null | null | null | 536 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Deutschebank
// File: crates/hyperswitch_connectors/src/connectors/deutschebank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Deutschebank | crates/hyperswitch_connectors/src/connectors/deutschebank.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Deutschebank | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl api::PaymentSync for for Tesouro
// File: crates/hyperswitch_connectors/src/connectors/tesouro.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Tesouro | crates/hyperswitch_connectors/src/connectors/tesouro.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Tesouro | api::PaymentSync for | 0 | 0 | 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: list_customer_payment_method_api
// File: crates/router/src/compatibility/stripe/customers.rs
// Module: router
pub fn list_customer_payment_method_api(
state: web::Data<routes::AppState>,
req: HttpRequest,
path: web::Path<id_type::CustomerId>,
json_payload: web::Query<payment_methods::Pay... | crates/router/src/compatibility/stripe/customers.rs | router | function_signature | null | null | null | 84 | list_customer_payment_method_api | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Santander
// File: crates/hyperswitch_connectors/src/connectors/santander.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Santander | crates/hyperswitch_connectors/src/connectors/santander.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Santander | api::Payment for | 0 | 0 | null | null |
// Struct: GsmRetrieveRequest
// File: crates/api_models/src/gsm.rs
// Module: api_models
// Implementations: 0
pub struct GsmRetrieveRequest | crates/api_models/src/gsm.rs | api_models | struct_definition | GsmRetrieveRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: ConnectorVolumeSplitV0
// File: crates/router/src/types/api/routing.rs
// Module: router
// Implementations: 0
pub struct ConnectorVolumeSplitV0 | crates/router/src/types/api/routing.rs | router | struct_definition | ConnectorVolumeSplitV0 | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: SwitchMerchantRequest
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct SwitchMerchantRequest | crates/api_models/src/user.rs | api_models | struct_definition | SwitchMerchantRequest | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: CountAccumulator
// File: crates/analytics/src/payment_intents/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: PaymentIntentMetricAccumulator
pub struct CountAccumulator | crates/analytics/src/payment_intents/accumulator.rs | analytics | struct_definition | CountAccumulator | 1 | [
"PaymentIntentMetricAccumulator"
] | 50 | null | null | null | null | null | null | null |
// Struct: WisePayoutResponse
// File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WisePayoutResponse | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs | hyperswitch_connectors | struct_definition | WisePayoutResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Worldpayvantiv | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Worldpayvantiv | api::PaymentCapture for | 0 | 0 | null | null |
// Function: find_last_successful_or_partially_captured_attempt_by_payment_id
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn find_last_successful_or_partially_captured_attempt_by_payment_id(
conn: &PgPooledConn,
payment_id: &common_utils::id_type::GlobalPayme... | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 81 | find_last_successful_or_partially_captured_attempt_by_payment_id | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/tsys.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/tsys.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Struct: BHNGiftCardDetails
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct BHNGiftCardDetails | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | BHNGiftCardDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
expiry_date,
} => Self::Pix(Box::new(
api_models::payments::additional_info::PixBankTransferAdditionalData {
pix_key: pix_key.map(MaskedBankAccount::from),
cpf: cpf.map(MaskedBankAccount::from),
cnpj: cnpj.map(Masked... | crates/hyperswitch_domain_models/src/payment_method_data.rs#chunk2 | hyperswitch_domain_models | chunk | null | null | null | 7,571 | null | null | null | null | null | null | null |
// Struct: Customer
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Customer | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | Customer | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: payments_connector_session
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_connector_session(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsSessionRequest>,
) -> impl Responder | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 69 | payments_connector_session | null | null | null | null | null | null |
// Struct: PaypalMandateStruct
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalMandateStruct | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalMandateStruct | 0 | [] | 51 | 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 |
// Implementation: impl Profile
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Profile | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Profile | null | 1 | 1 | null | null |
// File: crates/router_derive/src/macros/to_encryptable.rs
// Module: router_derive
// Public functions: 1
// Public structs: 1
use std::iter::Iterator;
use quote::{format_ident, quote};
use syn::{parse::Parse, punctuated::Punctuated, token::Comma, Field, Ident, Type as SynType};
use crate::macros::{helpers::get_str... | crates/router_derive/src/macros/to_encryptable.rs | router_derive | full_file | null | null | null | 2,570 | null | null | null | null | null | null | null |
// Implementation: impl DummyConnectorRefundResponse
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Methods: 1 total (1 public)
impl DummyConnectorRefundResponse | crates/router/src/routes/dummy_connector/types.rs | router | impl_block | null | null | null | 44 | null | DummyConnectorRefundResponse | null | 1 | 1 | null | null |
// Function: find_by_merchant_id_customer_id
// File: crates/diesel_models/src/query/mandate.rs
// Module: diesel_models
pub fn find_by_merchant_id_customer_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
customer_id: &common_utils::id_type::CustomerId,
) -> Storag... | crates/diesel_models/src/query/mandate.rs | diesel_models | function_signature | null | null | null | 85 | find_by_merchant_id_customer_id | null | null | null | null | null | null |
// Function: receive_incoming_relay_webhook
// File: crates/router/src/routes/webhooks.rs
// Module: router
pub fn receive_incoming_relay_webhook<W: types::OutgoingWebhookType>(
state: web::Data<AppState>,
req: HttpRequest,
body: web::Bytes,
path: web::Path<(
common_utils::id_type::MerchantId,
... | crates/router/src/routes/webhooks.rs | router | function_signature | null | null | null | 98 | receive_incoming_relay_webhook | null | null | null | null | null | null |
// Function: refunds_retrieve
// File: crates/router/src/routes/refunds.rs
// Module: router
pub fn refunds_retrieve(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
query_params: web::Query<api_models::refunds::RefundsRetrieveBody>,
) -> HttpResponse | crates/router/src/routes/refunds.rs | router | function_signature | null | null | null | 73 | refunds_retrieve | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Aci
// File: crates/hyperswitch_connectors/src/connectors/aci.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Aci | crates/hyperswitch_connectors/src/connectors/aci.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Aci | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Tokenio
// File: crates/hyperswitch_connectors/src/connectors/tokenio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Tokenio | crates/hyperswitch_connectors/src/connectors/tokenio.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tokenio | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: TestPayment
// File: crates/api_models/src/user/dashboard_metadata.rs
// Module: api_models
// Implementations: 0
pub struct TestPayment | crates/api_models/src/user/dashboard_metadata.rs | api_models | struct_definition | TestPayment | 0 | [] | 35 | 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 |
// Struct: GlobalpayCancelRouterData
// File: crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobalpayCancelRouterData<T> | crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs | hyperswitch_connectors | struct_definition | GlobalpayCancelRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// File: crates/analytics/src/payments/metrics/retries_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::{
analytics::{
payments::{PaymentDimensions, PaymentFilters, PaymentMetricsBucketIdentifier},
Granularity, TimeRange,
},
enums::IntentStatus,
};
use common_ut... | crates/analytics/src/payments/metrics/retries_count.rs | analytics | full_file | null | null | null | 974 | null | null | null | null | null | null | null |
// Function: flat_struct_derive
// File: crates/router_derive/src/lib.rs
// Module: router_derive
pub fn flat_struct_derive(input: proc_macro::TokenStream) -> proc_macro::TokenStream | crates/router_derive/src/lib.rs | router_derive | function_signature | null | null | null | 46 | flat_struct_derive | null | null | null | null | null | null |
// Function: accept_dispute
// File: crates/router/src/routes/disputes.rs
// Module: router
pub fn accept_dispute(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
) -> HttpResponse | crates/router/src/routes/disputes.rs | router | function_signature | null | null | null | 55 | accept_dispute | null | null | null | null | null | null |
// Struct: BankDebitTypes
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct BankDebitTypes | crates/api_models/src/payment_methods.rs | api_models | struct_definition | BankDebitTypes | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl api::Payouts for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payouts for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paypal | api::Payouts for | 0 | 0 | null | null |
// Implementation: impl PaymentConfirmData
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Methods: 3 total (3 public)
impl PaymentConfirmData | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | impl_block | null | null | null | 45 | null | PaymentConfirmData | null | 3 | 3 | null | null |
// Struct: CustomerDetails
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct CustomerDetails | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | CustomerDetails | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl WebhookResponseTracker
// File: crates/api_models/src/webhooks.rs
// Module: api_models
// Methods: 3 total (3 public)
impl WebhookResponseTracker | crates/api_models/src/webhooks.rs | api_models | impl_block | null | null | null | 41 | null | WebhookResponseTracker | null | 3 | 3 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Public structs: 30
use api_models::{payments::AdditionalPaymentData, webhooks::IncomingWebhookEvent};
use common_enums::{Currency, FraudCheckStatus};
use common_utils::{
ext_traits::ValueExt,
... | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | full_file | null | null | null | 4,548 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Razorpay
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Razorpay | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Razorpay | api::RefundExecute for | 0 | 0 | null | null |
// Struct: SavePaymentMethodDataResponse
// File: crates/router/src/core/payments/tokenization.rs
// Module: router
// Implementations: 0
pub struct SavePaymentMethodDataResponse | crates/router/src/core/payments/tokenization.rs | router | struct_definition | SavePaymentMethodDataResponse | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_domain_models/src/payment_address.rs
// Module: hyperswitch_domain_models
pub fn new(
shipping: Option<Address>,
billing: Option<Address>,
payment_method_billing: Option<Address>,
should_unify_address: Option<bool>,
) -> Self | crates/hyperswitch_domain_models/src/payment_address.rs | hyperswitch_domain_models | function_signature | null | null | null | 65 | new | null | null | null | null | null | null |
// Struct: SchemaParameters
// File: crates/router_derive/src/macros/schema/helpers.rs
// Module: router_derive
// Implementations: 0
pub struct SchemaParameters | crates/router_derive/src/macros/schema/helpers.rs | router_derive | struct_definition | SchemaParameters | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: validate_auth_and_metadata_type
// File: crates/router/src/core/connector_validation.rs
// Module: router
pub fn validate_auth_and_metadata_type(
&self,
) -> Result<(), error_stack::Report<errors::ApiErrorResponse>> | crates/router/src/core/connector_validation.rs | router | function_signature | null | null | null | 53 | validate_auth_and_metadata_type | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Shift4
// File: crates/hyperswitch_connectors/src/connectors/shift4.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Shift4 | crates/hyperswitch_connectors/src/connectors/shift4.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Shift4 | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: ChargebackRetrievalResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebackRetrievalResponse | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | ChargebackRetrievalResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: SecretBytesMut
// File: crates/masking/src/bytes.rs
// Module: masking
// Implementations: 3
// Traits: fmt::Debug, Drop
pub struct SecretBytesMut | crates/masking/src/bytes.rs | masking | struct_definition | SecretBytesMut | 3 | [
"fmt::Debug",
"Drop"
] | 44 | null | null | null | null | null | null | null |
// Struct: BillingConnectorAdditionalCardInfo
// File: crates/diesel_models/src/types.rs
// Module: diesel_models
// Implementations: 0
pub struct BillingConnectorAdditionalCardInfo | crates/diesel_models/src/types.rs | diesel_models | struct_definition | BillingConnectorAdditionalCardInfo | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: WorldlineRouterData
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WorldlineRouterData<T> | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | struct_definition | WorldlineRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: Memoization
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Implementations: 4
// Traits: Default, Deref, DerefMut
pub struct Memoization<V: ValueNode> | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | struct_definition | Memoization | 4 | [
"Default",
"Deref",
"DerefMut"
] | 56 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/hipay.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/hipay.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// File: crates/router/src/types/api/verify_connector/stripe.rs
// Module: router
use error_stack::ResultExt;
use router_env::env;
use super::VerifyConnector;
use crate::{
connector, core::errors, services, types,
types::api::verify_connector::BoxedConnectorIntegrationInterface,
};
#[async_trait::async_trait... | crates/router/src/types/api/verify_connector/stripe.rs | router | full_file | null | null | null | 299 | null | null | null | null | null | null | null |
resource_id: ResponseId::ConnectorTransactionId(item.response.id.clone()),
redirection_data: Box::new(redirection_data),
mandate_reference: Box::new(mandate_reference),
connector_metadata: Some(connector_meta),
network_txn_id: item.response.scheme_id.clone(),
... | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 6,130 | null | null | null | null | null | null | null |
// Struct: NoonApplePayTokenData
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonApplePayTokenData | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonApplePayTokenData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Fiservemea
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Fiservemea | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Fiservemea | api::PaymentToken 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.