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: AwsSes
// File: crates/external_services/src/email/ses.rs
// Module: external_services
// Implementations: 2
// Traits: EmailClient
pub struct AwsSes | crates/external_services/src/email/ses.rs | external_services | struct_definition | AwsSes | 2 | [
"EmailClient"
] | 44 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: PaymentMethodMigrationResponse
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodMigrationResponse | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodMigrationResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Trait: ForexMetric
// File: crates/api_models/src/analytics.rs
// Module: api_models
pub trait ForexMetric | crates/api_models/src/analytics.rs | api_models | trait_definition | null | null | null | 27 | null | null | ForexMetric | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/authipay.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/authipay.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Struct: Details
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Details | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | Details | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payments/metrics/connector_success_rate.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payments::{PaymentDimensions, PaymentFilters, PaymentMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchExt;
use err... | crates/analytics/src/payments/metrics/connector_success_rate.rs | analytics | full_file | null | null | null | 992 | null | null | null | null | null | null | null |
// Implementation: impl GetPaymentMethodDetails for for DummyConnectorPaymentMethodType
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Methods: 2 total (0 public)
impl GetPaymentMethodDetails for for DummyConnectorPaymentMethodType | crates/router/src/routes/dummy_connector/types.rs | router | impl_block | null | null | null | 56 | null | DummyConnectorPaymentMethodType | GetPaymentMethodDetails for | 2 | 0 | null | null |
// Implementation: impl Drop for for StrongSecret
// File: crates/masking/src/strong_secret.rs
// Module: masking
// Methods: 1 total (0 public)
impl Drop for for StrongSecret | crates/masking/src/strong_secret.rs | masking | impl_block | null | null | null | 43 | null | StrongSecret | Drop for | 1 | 0 | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Tesouro
// File: crates/hyperswitch_connectors/src/connectors/tesouro.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Tesouro | crates/hyperswitch_connectors/src/connectors/tesouro.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Tesouro | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Struct: RevenueRecoveryInvoiceData
// File: crates/hyperswitch_domain_models/src/revenue_recovery.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RevenueRecoveryInvoiceData | crates/hyperswitch_domain_models/src/revenue_recovery.rs | hyperswitch_domain_models | struct_definition | RevenueRecoveryInvoiceData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: upload_file_to_theme_storage
// File: crates/router/src/routes/user/theme.rs
// Module: router
pub fn upload_file_to_theme_storage(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
MultipartForm(payload) | crates/router/src/routes/user/theme.rs | router | function_signature | null | null | null | 61 | upload_file_to_theme_storage | null | null | null | null | null | null |
// Struct: Shift4WebhookObjectData
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Shift4WebhookObjectData | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | Shift4WebhookObjectData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: Amount
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Amount | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | Amount | 0 | [] | 45 | null | null | null | null | null | null | null |
// Trait: OperationSessionSetters
// File: crates/router/src/core/payments.rs
// Module: router
pub trait OperationSessionSetters<F> | crates/router/src/core/payments.rs | router | trait_definition | null | null | null | 32 | null | null | OperationSessionSetters | null | null | null | null |
// Function: decide_frm_flow
// File: crates/router/src/core/fraud_check/flows/checkout_flow.rs
// Module: router
pub fn decide_frm_flow(
router_data: &mut FrmCheckoutRouterData,
state: &SessionState,
connector: &FraudCheckConnectorData,
call_connector_action: payments::CallConnectorAction,
_mercha... | crates/router/src/core/fraud_check/flows/checkout_flow.rs | router | function_signature | null | null | null | 95 | decide_frm_flow | null | null | null | null | null | null |
// Struct: VgsErrorItem
// File: crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VgsErrorItem | crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs | hyperswitch_connectors | struct_definition | VgsErrorItem | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: update_mca
// File: crates/router/src/core/connector_onboarding/paypal.rs
// Module: router
pub fn update_mca(
state: &SessionState,
merchant_id: common_utils::id_type::MerchantId,
connector_id: common_utils::id_type::MerchantConnectorAccountId,
auth_details: oss_types::ConnectorAuthType,
... | crates/router/src/core/connector_onboarding/paypal.rs | router | function_signature | null | null | null | 91 | update_mca | null | null | null | null | null | null |
// Function: get_customer_mandates
// File: crates/router/src/routes/customers.rs
// Module: router
pub fn get_customer_mandates(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<id_type::CustomerId>,
) -> impl Responder | crates/router/src/routes/customers.rs | router | function_signature | null | null | null | 64 | get_customer_mandates | null | null | null | null | null | null |
// Implementation: impl NewUserRole
// File: crates/router/src/types/domain/user.rs
// Module: router
// Methods: 1 total (1 public)
impl NewUserRole | crates/router/src/types/domain/user.rs | router | impl_block | null | null | null | 36 | null | NewUserRole | null | 1 | 1 | null | null |
// Implementation: impl api::PaymentSession for for Checkout
// File: crates/hyperswitch_connectors/src/connectors/checkout.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Checkout | crates/hyperswitch_connectors/src/connectors/checkout.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Checkout | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl CurrentBlockThreshold
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (1 public)
impl CurrentBlockThreshold | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 39 | null | CurrentBlockThreshold | null | 1 | 1 | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/api_keys.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/api_keys.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Checkbook
// File: crates/hyperswitch_connectors/src/connectors/checkbook.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Checkbook | crates/hyperswitch_connectors/src/connectors/checkbook.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Checkbook | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl IncomingWebhook for for Signifyd
// File: crates/hyperswitch_connectors/src/connectors/signifyd.rs
// Module: hyperswitch_connectors
// Methods: 7 total (0 public)
impl IncomingWebhook for for Signifyd | crates/hyperswitch_connectors/src/connectors/signifyd.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Signifyd | IncomingWebhook for | 7 | 0 | null | null |
// Struct: Notification
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Notification | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | Notification | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: Connectors
// File: crates/hyperswitch_domain_models/src/connector_endpoints.rs
// Module: hyperswitch_domain_models
// Implementations: 1
pub struct Connectors | crates/hyperswitch_domain_models/src/connector_endpoints.rs | hyperswitch_domain_models | struct_definition | Connectors | 1 | [] | 42 | null | null | null | null | null | null | null |
// Struct: MerchantAccount
// File: crates/hyperswitch_domain_models/src/merchant_account.rs
// Module: hyperswitch_domain_models
// Implementations: 4
// Traits: super::behaviour::Conversion, super::behaviour::Conversion
pub struct MerchantAccount | crates/hyperswitch_domain_models/src/merchant_account.rs | hyperswitch_domain_models | struct_definition | MerchantAccount | 4 | [
"super::behaviour::Conversion",
"super::behaviour::Conversion"
] | 58 | null | null | null | null | null | null | null |
// File: crates/openapi/src/routes/mandates.rs
// Module: openapi
// Public functions: 4
/// Mandates - Retrieve Mandate
///
/// Retrieves a mandate created using the Payments/Create API
#[utoipa::path(
get,
path = "/mandates/{mandate_id}",
params(
("mandate_id" = String, Path, description = "The i... | crates/openapi/src/routes/mandates.rs | openapi | full_file | null | null | null | 811 | null | null | null | null | null | null | null |
// Function: api_key_list
// File: crates/openapi/src/routes/api_keys.rs
// Module: openapi
pub fn api_key_list() | crates/openapi/src/routes/api_keys.rs | openapi | function_signature | null | null | null | 31 | api_key_list | null | null | null | null | null | null |
// Struct: ResponsePaymentMethodTypes
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct ResponsePaymentMethodTypes | crates/api_models/src/payment_methods.rs | api_models | struct_definition | ResponsePaymentMethodTypes | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Cybersource | api::Payment for | 0 | 0 | null | null |
// Struct: HipayErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HipayErrorResponse | crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs | hyperswitch_connectors | struct_definition | HipayErrorResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: get_negation
// File: crates/euclid/src/dssa/types.rs
// Module: euclid
pub fn get_negation(&self) -> Option<&[dir::DirValue]> | crates/euclid/src/dssa/types.rs | euclid | function_signature | null | null | null | 43 | get_negation | null | null | null | null | null | null |
// Function: is_refund_event
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
pub fn is_refund_event(event: &Shift4WebhookEvent) -> bool | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 54 | is_refund_event | null | null | null | null | null | null |
// Function: create_attempt_amount_details
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn create_attempt_amount_details(
&self,
confirm_intent_request: &api_models::payments::PaymentsConfirmIntentRequest,
) -> payment_attempt::AttemptAmountDeta... | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 67 | create_attempt_amount_details | null | null | null | null | null | null |
// Implementation: impl Default for for AlwaysEnableOvercaptureBool
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Methods: 1 total (0 public)
impl Default for for AlwaysEnableOvercaptureBool | crates/common_types/src/primitive_wrappers.rs | common_types | impl_block | null | null | null | 51 | null | AlwaysEnableOvercaptureBool | Default for | 1 | 0 | null | null |
// Implementation: impl api::PaymentsCompleteAuthorize for for Mollie
// File: crates/hyperswitch_connectors/src/connectors/mollie.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsCompleteAuthorize for for Mollie | crates/hyperswitch_connectors/src/connectors/mollie.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Mollie | api::PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// Struct: ArchipelRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ArchipelRefundRequest | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs | hyperswitch_connectors | struct_definition | ArchipelRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: do_gsm_single_connector_actions
// File: crates/router/src/core/payouts/retry.rs
// Module: router
pub fn do_gsm_single_connector_actions(
state: &app::SessionState,
original_connector_data: api::ConnectorData,
payout_data: &mut PayoutData,
merchant_context: &domain::MerchantContext,
) -> ... | crates/router/src/core/payouts/retry.rs | router | function_signature | null | null | null | 82 | do_gsm_single_connector_actions | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Moneris
// File: crates/hyperswitch_connectors/src/connectors/moneris.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Moneris | crates/hyperswitch_connectors/src/connectors/moneris.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Moneris | ConnectorSpecifications for | 3 | 0 | null | null |
// Implementation: impl ConnectorSpecifications for for Netcetera
// File: crates/hyperswitch_connectors/src/connectors/netcetera.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Netcetera | crates/hyperswitch_connectors/src/connectors/netcetera.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Netcetera | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: http_not_implemented
// File: crates/router/src/core/errors.rs
// Module: router
pub fn http_not_implemented() -> actix_web::HttpResponse<BoxBody> | crates/router/src/core/errors.rs | router | function_signature | null | null | null | 39 | http_not_implemented | null | null | null | null | null | null |
// Struct: ValuedIfStatement
// File: crates/euclid/src/frontend/vir.rs
// Module: euclid
// Implementations: 0
pub struct ValuedIfStatement | crates/euclid/src/frontend/vir.rs | euclid | struct_definition | ValuedIfStatement | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: DeleteTokenizeByDateRequest
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct DeleteTokenizeByDateRequest | crates/api_models/src/payment_methods.rs | api_models | struct_definition | DeleteTokenizeByDateRequest | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: PaymentMethodNew
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
// Implementations: 1
pub struct PaymentMethodNew | crates/diesel_models/src/payment_method.rs | diesel_models | struct_definition | PaymentMethodNew | 1 | [] | 37 | null | null | null | null | null | null | null |
// File: crates/analytics/src/active_payments.rs
// Module: analytics
pub mod accumulator;
mod core;
pub mod metrics;
pub use accumulator::{ActivePaymentsMetricAccumulator, ActivePaymentsMetricsAccumulator};
pub use self::core::get_metrics;
| crates/analytics/src/active_payments.rs | analytics | full_file | null | null | null | 55 | null | null | null | null | null | null | null |
// Function: refunds_filter_list
// File: crates/openapi/src/routes/refunds.rs
// Module: openapi
pub fn refunds_filter_list() | crates/openapi/src/routes/refunds.rs | openapi | function_signature | null | null | null | 31 | refunds_filter_list | null | null | null | null | null | null |
// Function: update_profile_and_invalidate_routing_config_for_active_algorithm_id_update
// File: crates/router/src/core/admin.rs
// Module: router
pub fn update_profile_and_invalidate_routing_config_for_active_algorithm_id_update(
self,
db: &dyn StorageInterface,
key_manager_state: &KeyManager... | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 107 | update_profile_and_invalidate_routing_config_for_active_algorithm_id_update | null | null | null | null | null | null |
// Struct: UserKeyStore
// File: crates/router/src/types/domain/user_key_store.rs
// Module: router
// Implementations: 1
// Traits: super::behaviour::Conversion
pub struct UserKeyStore | crates/router/src/types/domain/user_key_store.rs | router | struct_definition | UserKeyStore | 1 | [
"super::behaviour::Conversion"
] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Bankofamerica
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Bankofamerica | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Bankofamerica | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for EphemeralKeyCreateRequest
// File: crates/api_models/src/ephemeral_key.rs
// Module: api_models
// Methods: 1 total (0 public)
impl common_utils::events::ApiEventMetric for for EphemeralKeyCreateRequest | crates/api_models/src/ephemeral_key.rs | api_models | impl_block | null | null | null | 68 | null | EphemeralKeyCreateRequest | common_utils::events::ApiEventMetric for | 1 | 0 | null | null |
// Struct: ProfileUpdateInternal
// File: crates/diesel_models/src/business_profile.rs
// Module: diesel_models
// Implementations: 2
pub struct ProfileUpdateInternal | crates/diesel_models/src/business_profile.rs | diesel_models | struct_definition | ProfileUpdateInternal | 2 | [] | 37 | null | null | null | null | null | null | null |
}
}
impl UserFromStorage {
pub fn get_user_id(&self) -> &str {
self.0.user_id.as_str()
}
pub fn compare_password(&self, candidate: &Secret<String>) -> UserResult<()> {
if let Some(password) = self.0.password.as_ref() {
match password::is_correct_password(candidate, password... | crates/router/src/types/domain/user.rs#chunk1 | router | chunk | null | null | null | 2,737 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/lib.rs
// Module: hyperswitch_domain_models
// Public functions: 1
pub mod address;
pub mod api;
pub mod authentication;
pub mod behaviour;
pub mod bulk_tokenization;
pub mod business_profile;
pub mod callback_mapper;
pub mod card_testing_guard_data;
pub mod cards_info;
pu... | crates/hyperswitch_domain_models/src/lib.rs | hyperswitch_domain_models | full_file | null | null | null | 5,218 | null | null | null | null | null | null | null |
// Function: get_filters_for_payments
// File: crates/router/src/core/payments.rs
// Module: router
pub fn get_filters_for_payments(
state: SessionState,
merchant_context: domain::MerchantContext,
time_range: common_utils::types::TimeRange,
) -> RouterResponse<api::PaymentListFilters> | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 69 | get_filters_for_payments | null | null | null | null | null | null |
// Implementation: impl super::auth_events::filters::AuthEventFilterAnalytics for for ClickhouseClient
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::auth_events::filters::AuthEventFilterAnalytics for for ClickhouseClient | crates/analytics/src/clickhouse.rs | analytics | impl_block | null | null | null | 65 | null | ClickhouseClient | super::auth_events::filters::AuthEventFilterAnalytics for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 44
use common_enums::enums::{self, AttemptStatus};
use common_utils::{ext_traits::Encode, pii, request::Method, types::StringMajorUnit};
use error_stack::ResultExt;
use... | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 7,045 | null | null | null | null | null | null | null |
// Function: get_secret
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_secret(self) -> Secret<String> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 32 | get_secret | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Stripebilling
// File: crates/hyperswitch_connectors/src/connectors/stripebilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Stripebilling | crates/hyperswitch_connectors/src/connectors/stripebilling.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Stripebilling | api::PaymentVoid for | 0 | 0 | null | null |
// Function: get_id
// File: crates/diesel_models/src/merchant_connector_account.rs
// Module: diesel_models
pub fn get_id(&self) -> id_type::MerchantConnectorAccountId | crates/diesel_models/src/merchant_connector_account.rs | diesel_models | function_signature | null | null | null | 40 | get_id | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Razorpay
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Razorpay | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Razorpay | api::Payment for | 0 | 0 | null | null |
// File: crates/router/src/core/payments/flows/update_metadata_flow.rs
// Module: router
use async_trait::async_trait;
use super::ConstructFlowSpecificData;
use crate::{
core::{
errors::{ConnectorErrorExt, RouterResult},
payments::{self, access_token, helpers, transformers, Feature, PaymentData},
... | crates/router/src/core/payments/flows/update_metadata_flow.rs | router | full_file | null | null | null | 931 | null | null | null | null | null | null | null |
// Struct: JpmorganAuthUpdateRequest
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JpmorganAuthUpdateRequest | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | JpmorganAuthUpdateRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: ConnectorCustomerData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ConnectorCustomerData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | ConnectorCustomerData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: time_future
// File: crates/common_utils/src/metrics/utils.rs
// Module: common_utils
pub fn time_future<F, R>(future: F) -> (R, time::Duration)
where
F: futures::Future<Output = R>, | crates/common_utils/src/metrics/utils.rs | common_utils | function_signature | null | null | null | 57 | time_future | null | null | null | null | null | null |
// Struct: WiseRouterData
// File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WiseRouterData<T> | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs | hyperswitch_connectors | struct_definition | WiseRouterData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: Shift4RouterData
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Shift4RouterData<T> | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | Shift4RouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/loonio.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/loonio.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Implementation: impl PaymentToken for for Threedsecureio
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentToken for for Threedsecureio | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Threedsecureio | PaymentToken for | 0 | 0 | null | null |
// Function: payment_intents_retrieve
// File: crates/router/src/compatibility/stripe/payment_intents.rs
// Module: router
pub fn payment_intents_retrieve(
state: web::Data<routes::AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::PaymentId>,
query_payload: web::Query<types::StripePay... | crates/router/src/compatibility/stripe/payment_intents.rs | router | function_signature | null | null | null | 88 | payment_intents_retrieve | null | null | null | null | null | null |
// Trait: Mask
// File: crates/masking/src/maskable.rs
// Module: masking
// Documentation: Trait for providing a method on custom types for constructing `Maskable`
pub trait Mask | crates/masking/src/maskable.rs | masking | trait_definition | null | null | null | 42 | null | null | Mask | null | null | null | null |
// Struct: SuccessRateAccumulator
// File: crates/analytics/src/refunds/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: RefundMetricAccumulator
pub struct SuccessRateAccumulator | crates/analytics/src/refunds/accumulator.rs | analytics | struct_definition | SuccessRateAccumulator | 1 | [
"RefundMetricAccumulator"
] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Mifinity
// File: crates/hyperswitch_connectors/src/connectors/mifinity.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Mifinity | crates/hyperswitch_connectors/src/connectors/mifinity.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Mifinity | api::Refund for | 0 | 0 | null | null |
// Struct: TransferKeyResponse
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct TransferKeyResponse | crates/api_models/src/admin.rs | api_models | struct_definition | TransferKeyResponse | 0 | [] | 35 | null | null | null | null | null | null | null |
// Function: check_permission
// File: crates/router/src/services/authorization.rs
// Module: router
pub fn check_permission(
required_permission: permissions::Permission,
role_info: &roles::RoleInfo,
) -> RouterResult<()> | crates/router/src/services/authorization.rs | router | function_signature | null | null | null | 50 | check_permission | null | null | null | null | null | null |
// Struct: PayboxCaptureResponse
// File: crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayboxCaptureResponse | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | hyperswitch_connectors | struct_definition | PayboxCaptureResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: validate_refund_list
// File: crates/router/src/core/utils/refunds_validator.rs
// Module: router
pub fn validate_refund_list(limit: Option<i64>) -> CustomResult<i64, errors::ApiErrorResponse> | crates/router/src/core/utils/refunds_validator.rs | router | function_signature | null | null | null | 51 | validate_refund_list | null | null | null | null | null | null |
// Struct: NoonPaymentsOrderResponse
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonPaymentsOrderResponse | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonPaymentsOrderResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: TotalSmartRetries
// File: crates/api_models/src/analytics/payment_intents.rs
// Module: api_models
// Implementations: 0
pub struct TotalSmartRetries | crates/api_models/src/analytics/payment_intents.rs | api_models | struct_definition | TotalSmartRetries | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: Finix
// File: crates/hyperswitch_connectors/src/connectors/finix.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/finix.rs | hyperswitch_connectors | struct_definition | Finix | 17 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"ConnectorCommon",
"ConnectorValidat... | 126 | null | null | null | null | null | null | null |
// Struct: PlaidBankAccountCredentialsInternational
// File: crates/pm_auth/src/connector/plaid/transformers.rs
// Module: pm_auth
// Implementations: 0
pub struct PlaidBankAccountCredentialsInternational | crates/pm_auth/src/connector/plaid/transformers.rs | pm_auth | struct_definition | PlaidBankAccountCredentialsInternational | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: MifinityRouterData
// File: crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MifinityRouterData<T> | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs | hyperswitch_connectors | struct_definition | MifinityRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: create_client
// File: crates/external_services/src/http_client/client.rs
// Module: external_services
pub fn create_client(
proxy_config: &Proxy,
client_certificate: Option<masking::Secret<String>>,
client_certificate_key: Option<masking::Secret<String>>,
ca_certificate: Option<masking::S... | crates/external_services/src/http_client/client.rs | external_services | function_signature | null | null | null | 87 | create_client | null | null | null | null | null | null |
// Struct: NovalnetPaymentsRequestMerchant
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetPaymentsRequestMerchant | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetPaymentsRequestMerchant | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: Profile
// File: crates/diesel_models/src/business_profile.rs
// Module: diesel_models
// Implementations: 1
pub struct Profile | crates/diesel_models/src/business_profile.rs | diesel_models | struct_definition | Profile | 1 | [] | 33 | null | null | null | null | null | null | null |
// Struct: CheckbookPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/checkbook/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckbookPaymentsRequest | crates/hyperswitch_connectors/src/connectors/checkbook/transformers.rs | hyperswitch_connectors | struct_definition | CheckbookPaymentsRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: routing_retrieve_default_config_for_profiles
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn routing_retrieve_default_config_for_profiles(
state: web::Data<AppState>,
req: HttpRequest,
transaction_type: &enums::TransactionType,
) -> impl Responder | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 66 | routing_retrieve_default_config_for_profiles | null | null | null | null | null | null |
// Struct: NordeaPaymentsConfirmErrorObject
// File: crates/hyperswitch_connectors/src/connectors/nordea/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NordeaPaymentsConfirmErrorObject | crates/hyperswitch_connectors/src/connectors/nordea/responses.rs | hyperswitch_connectors | struct_definition | NordeaPaymentsConfirmErrorObject | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/pii.rs
// Module: common_utils
// Public structs: 3
//! Personal Identifiable Information protection.
use std::{convert::AsRef, fmt, ops, str::FromStr};
use diesel::{
backend::Backend,
deserialize,
deserialize::FromSql,
prelude::*,
serialize::{Output, ToSql},
... | crates/common_utils/src/pii.rs | common_utils | full_file | null | null | null | 3,634 | null | null | null | null | null | null | null |
// File: crates/storage_impl/src/refund.rs
// Module: storage_impl
use diesel_models::refund::Refund;
use crate::redis::kv_store::KvStorePartition;
impl KvStorePartition for Refund {}
| crates/storage_impl/src/refund.rs | storage_impl | full_file | null | null | null | 47 | null | null | null | null | null | null | null |
// Function: find_by_merchant_id_mandate_id
// File: crates/diesel_models/src/query/mandate.rs
// Module: diesel_models
pub fn find_by_merchant_id_mandate_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
mandate_id: &str,
) -> StorageResult<Self> | crates/diesel_models/src/query/mandate.rs | diesel_models | function_signature | null | null | null | 82 | find_by_merchant_id_mandate_id | null | null | null | null | null | null |
// Struct: CreditResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CreditResponse | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | CreditResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/router/src/events/connector_api_logs.rs
// Module: router
pub use hyperswitch_interfaces::events::connector_api_logs::ConnectorEvent;
use super::EventType;
use crate::services::kafka::KafkaMessage;
impl KafkaMessage for ConnectorEvent {
fn event_type(&self) -> EventType {
EventType::Conne... | crates/router/src/events/connector_api_logs.rs | router | full_file | null | null | null | 94 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Square
// File: crates/hyperswitch_connectors/src/connectors/square.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Square | crates/hyperswitch_connectors/src/connectors/square.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Square | api::Refund for | 0 | 0 | null | null |
// Struct: ResponsePaymentMethodTypes
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct ResponsePaymentMethodTypes | crates/api_models/src/payment_methods.rs | api_models | struct_definition | ResponsePaymentMethodTypes | 0 | [] | 38 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/fiserv.rs
// Module: router
use std::str::FromStr;
use masking::Secret;
use router::types::{self, domain, storage::enums};
use serde_json::json;
use crate::{
connector_auth,
utils::{self, ConnectorActions},
};
#[derive(Clone, Copy)]
struct FiservTest;
impl ConnectorAc... | crates/router/tests/connectors/fiserv.rs | router | full_file | null | null | null | 3,622 | null | null | null | null | null | null | null |
// Function: diesel_enum_text_derive_inner
// File: crates/router_derive/src/macros/diesel.rs
// Module: router_derive
pub fn diesel_enum_text_derive_inner(ast: &DeriveInput) -> syn::Result<TokenStream> | crates/router_derive/src/macros/diesel.rs | router_derive | function_signature | null | null | null | 53 | diesel_enum_text_derive_inner | null | null | null | null | null | null |
// Struct: PaypalRouterData
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalRouterData<T> | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalRouterData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: FlexitiRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FlexitiRefundRequest | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs | hyperswitch_connectors | struct_definition | FlexitiRefundRequest | 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.