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: delete_connector
// File: crates/router/src/core/admin.rs
// Module: router
pub fn delete_connector(
state: SessionState,
merchant_context: domain::MerchantContext,
id: id_type::MerchantConnectorAccountId,
) -> RouterResponse<api::MerchantConnectorDeleteResponse> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 63 | delete_connector | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for ApplePayCertificatesMigrationRequest
// File: crates/api_models/src/apple_pay_certificates_migration.rs
// Module: api_models
// Methods: 0 total (0 public)
impl common_utils::events::ApiEventMetric for for ApplePayCertificatesMigrationRequest | crates/api_models/src/apple_pay_certificates_migration.rs | api_models | impl_block | null | null | null | 66 | null | ApplePayCertificatesMigrationRequest | common_utils::events::ApiEventMetric for | 0 | 0 | null | null |
// Struct: IfStatement
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct IfStatement | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | IfStatement | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: AdminApiAuthWithMerchantIdFromHeader
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct AdminApiAuthWithMerchantIdFromHeader | crates/router/src/services/authentication.rs | router | struct_definition | AdminApiAuthWithMerchantIdFromHeader | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: new
// File: crates/api_models/src/webhook_events.rs
// Module: api_models
pub fn new(total_count: i64, events: Vec<EventListItemResponse>) -> Self | crates/api_models/src/webhook_events.rs | api_models | function_signature | null | null | null | 42 | new | null | null | null | null | null | null |
// Struct: RoutingData
// File: crates/hyperswitch_domain_models/src/routing.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RoutingData | crates/hyperswitch_domain_models/src/routing.rs | hyperswitch_domain_models | struct_definition | RoutingData | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: get_external_tax_action_as_bool
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Documentation: Get the action to whether calculate external tax or not as a boolean value
pub fn get_external_tax_action_as_bool(&self) -> bool | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 64 | get_external_tax_action_as_bool | null | null | null | null | null | null |
// Struct: RecordMigrationStatus
// File: crates/payment_methods/src/core/migration.rs
// Module: payment_methods
// Implementations: 0
pub struct RecordMigrationStatus | crates/payment_methods/src/core/migration.rs | payment_methods | struct_definition | RecordMigrationStatus | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: SoapHeader
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SoapHeader | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | SoapHeader | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: GenericLinkStatusData
// File: crates/hyperswitch_domain_models/src/api.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GenericLinkStatusData | crates/hyperswitch_domain_models/src/api.rs | hyperswitch_domain_models | struct_definition | GenericLinkStatusData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for FrmFiltersResponse
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Methods: 0 total (0 public)
impl ApiEventMetric for for FrmFiltersResponse | crates/api_models/src/analytics.rs | api_models | impl_block | null | null | null | 49 | null | FrmFiltersResponse | ApiEventMetric for | 0 | 0 | null | null |
// Struct: CaptureData
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CaptureData | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | CaptureData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: ErrorObject
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorObject | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | ErrorObject | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: BarclaycardRedirectionAuthResponse
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardRedirectionAuthResponse | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardRedirectionAuthResponse | 0 | [] | 57 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Rapyd
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Rapyd | crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Rapyd | api::Refund for | 0 | 0 | null | null |
// Function: push
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
pub fn push(&mut self, elem: V) -> K | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | function_signature | null | null | null | 42 | push | null | null | null | null | null | null |
// Struct: GlobalpayPaymentMethodsResponse
// File: crates/hyperswitch_connectors/src/connectors/globalpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobalpayPaymentMethodsResponse | crates/hyperswitch_connectors/src/connectors/globalpay/response.rs | hyperswitch_connectors | struct_definition | GlobalpayPaymentMethodsResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: api_key_update
// File: crates/openapi/src/routes/api_keys.rs
// Module: openapi
pub fn api_key_update() | crates/openapi/src/routes/api_keys.rs | openapi | function_signature | null | null | null | 31 | api_key_update | null | null | null | null | null | null |
// Function: sync_refund_with_gateway_workflow
// File: crates/router/src/core/refunds.rs
// Module: router
pub fn sync_refund_with_gateway_workflow(
state: &SessionState,
refund_tracker: &storage::ProcessTracker,
) -> Result<(), errors::ProcessTrackerError> | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 62 | sync_refund_with_gateway_workflow | 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 |
// Struct: BluesnapCreateWalletToken
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapCreateWalletToken | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapCreateWalletToken | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: PaymentReject
// File: crates/router/src/core/payments/operations/payment_reject.rs
// Module: router
// Implementations: 0
pub struct PaymentReject | crates/router/src/core/payments/operations/payment_reject.rs | router | struct_definition | PaymentReject | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: JpmorganCaptureResponse
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JpmorganCaptureResponse | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | JpmorganCaptureResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl Capturable for for PaymentsIncrementalAuthorizationData
// File: crates/router/src/types.rs
// Module: router
// Methods: 1 total (0 public)
impl Capturable for for PaymentsIncrementalAuthorizationData | crates/router/src/types.rs | router | impl_block | null | null | null | 48 | null | PaymentsIncrementalAuthorizationData | Capturable for | 1 | 0 | null | null |
// Struct: BankOfAmericaPaymentInstrument
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankOfAmericaPaymentInstrument | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | BankOfAmericaPaymentInstrument | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: is_payout_err_state
// File: crates/router/src/core/payouts/helpers.rs
// Module: router
pub fn is_payout_err_state(status: api_enums::PayoutStatus) -> bool | crates/router/src/core/payouts/helpers.rs | router | function_signature | null | null | null | 46 | is_payout_err_state | null | null | null | null | null | null |
// Implementation: impl behaviour::Conversion for for CustomerAddress
// File: crates/router/src/types/domain/address.rs
// Module: router
// Methods: 3 total (0 public)
impl behaviour::Conversion for for CustomerAddress | crates/router/src/types/domain/address.rs | router | impl_block | null | null | null | 46 | null | CustomerAddress | behaviour::Conversion for | 3 | 0 | null | null |
// Function: validate_lineage
// File: crates/router/src/utils/user/theme.rs
// Module: router
pub fn validate_lineage(state: &SessionState, lineage: &ThemeLineage) -> UserResult<()> | crates/router/src/utils/user/theme.rs | router | function_signature | null | null | null | 45 | validate_lineage | null | null | null | null | null | null |
// Struct: TokenizedBankInsensitiveValues
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
// Implementations: 0
pub struct TokenizedBankInsensitiveValues | crates/router/src/core/payment_methods/vault.rs | router | struct_definition | TokenizedBankInsensitiveValues | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl Metadata for for M
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Methods: 0 total (0 public)
impl Metadata for for M | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 46 | null | M | Metadata for | 0 | 0 | null | null |
// Struct: PaypalPaymentsCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalPaymentsCaptureRequest | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalPaymentsCaptureRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: Name
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Name | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | struct_definition | Name | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsPreProcessing for for Paysafe
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsPreProcessing for for Paysafe | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Paysafe | api::PaymentsPreProcessing for | 0 | 0 | null | null |
// Function: get_payment_method_types_supporting_extended_authorization
// File: crates/common_enums/src/connector_enums.rs
// Module: common_enums
pub fn get_payment_method_types_supporting_extended_authorization(
self,
) -> HashSet<PaymentMethodType> | crates/common_enums/src/connector_enums.rs | common_enums | function_signature | null | null | null | 58 | get_payment_method_types_supporting_extended_authorization | null | null | null | null | null | null |
// Function: list_delivery_attempts
// File: crates/router/src/core/webhooks/webhook_events.rs
// Module: router
pub fn list_delivery_attempts(
state: SessionState,
merchant_id: common_utils::id_type::MerchantId,
initial_attempt_id: String,
) -> RouterResponse<Vec<api::webhook_events::EventRetrieveResponse... | crates/router/src/core/webhooks/webhook_events.rs | router | function_signature | null | null | null | 74 | list_delivery_attempts | null | null | null | null | null | null |
// Struct: RoutingData
// File: crates/hyperswitch_domain_models/src/routing.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RoutingData | crates/hyperswitch_domain_models/src/routing.rs | hyperswitch_domain_models | struct_definition | RoutingData | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: CsvParsingError
// File: crates/api_models/src/revenue_recovery_data_backfill.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct CsvParsingError | crates/api_models/src/revenue_recovery_data_backfill.rs | api_models | struct_definition | CsvParsingError | 1 | [
"ApiEventMetric"
] | 47 | null | null | null | null | null | null | null |
// Function: routing_link_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn routing_link_config(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::ProfileId>,
json_payload: web::Json<routing_types::RoutingAlgorithmId>,
transaction_type: ... | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 89 | routing_link_config | null | null | null | null | null | null |
// Struct: Context
// File: crates/euclid/src/backend/interpreter/types.rs
// Module: euclid
// Implementations: 1
// Traits: Deref
pub struct Context | crates/euclid/src/backend/interpreter/types.rs | euclid | struct_definition | Context | 1 | [
"Deref"
] | 41 | null | null | null | null | null | null | null |
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Public functions: 8
// Public structs: 107
use std::collections::{HashMap, HashSet};
#[cfg(feature = "v2")]
use std::str::FromStr;
use cards::CardNumber;
#[cfg(feature = "v1")]
use common_utils::crypto::OptionalEncryptableName;
use common_util... | crates/api_models/src/payment_methods.rs#chunk0 | api_models | chunk | null | null | null | 8,183 | null | null | null | null | null | null | null |
// Implementation: impl PaymentSession for for Plaid
// File: crates/hyperswitch_connectors/src/connectors/plaid.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentSession for for Plaid | crates/hyperswitch_connectors/src/connectors/plaid.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Plaid | PaymentSession for | 0 | 0 | null | null |
// Struct: FacilitapayConnectorMetadataObject
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FacilitapayConnectorMetadataObject | crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs | hyperswitch_connectors | struct_definition | FacilitapayConnectorMetadataObject | 0 | [] | 58 | null | null | null | null | null | null | null |
// Struct: BluesnapVoidRequest
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapVoidRequest | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapVoidRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 30
use std::collections::HashMap;
use api_models::enums::{AuthenticationType, PaymentMethod};
use common_enums::enums;
use common_utils::{
pii,
types::{MinorUnit, StringMajorUnit},
... | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Function: payments_capture
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_capture(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsCaptureRequest>,
path: web::Path<common_utils::id_type::PaymentId>,
) -> im... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 83 | payments_capture | null | null | null | null | null | null |
// Function: get_billing_address
// File: crates/api_models/src/subscription.rs
// Module: api_models
pub fn get_billing_address(&self) -> Result<Address, error_stack::Report<ValidationError>> | crates/api_models/src/subscription.rs | api_models | function_signature | null | null | null | 43 | get_billing_address | null | null | null | null | null | null |
// Function: build_pm_collect_link_html
// File: crates/router/src/services/api/generic_link_response.rs
// Module: router
pub fn build_pm_collect_link_html(
link_data: &GenericLinkFormData,
) -> CustomResult<String, errors::ApiErrorResponse> | crates/router/src/services/api/generic_link_response.rs | router | function_signature | null | null | null | 56 | build_pm_collect_link_html | null | null | null | null | null | null |
// File: crates/router/src/core/gsm.rs
// Module: router
// Public functions: 4
use api_models::gsm as gsm_api_types;
use error_stack::ResultExt;
use router_env::{instrument, tracing};
use crate::{
core::errors::{self, RouterResponse, StorageErrorExt},
db::gsm::GsmInterface,
services,
types::transform... | crates/router/src/core/gsm.rs | router | full_file | null | null | null | 1,273 | null | null | null | null | null | null | null |
// Function: validate_payout_status_against_not_allowed_statuses
// File: crates/router/src/core/payouts/helpers.rs
// Module: router
pub fn validate_payout_status_against_not_allowed_statuses(
payout_status: api_enums::PayoutStatus,
not_allowed_statuses: &[api_enums::PayoutStatus],
action: &'static str,
)... | crates/router/src/core/payouts/helpers.rs | router | function_signature | null | null | null | 85 | validate_payout_status_against_not_allowed_statuses | null | null | null | null | null | null |
// Struct: RequestExtendedAuthorizationBool
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Implementations: 2
// Traits: Deref
pub struct RequestExtendedAuthorizationBool | crates/common_types/src/primitive_wrappers.rs | common_types | struct_definition | RequestExtendedAuthorizationBool | 2 | [
"Deref"
] | 46 | null | null | null | null | null | null | null |
// Struct: MagicLink
// File: crates/router/src/services/email/types.rs
// Module: router
// Implementations: 1
// Traits: EmailData
pub struct MagicLink | crates/router/src/services/email/types.rs | router | struct_definition | MagicLink | 1 | [
"EmailData"
] | 39 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
// Public functions: 15
// Public structs: 8
use std::str::FromStr;
use ::payment_methods::{controller::PaymentMethodsController, core::migration};
use api_models::{enums as api_enums, payment_methods as payment_methods_api};
... | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | full_file | null | null | null | 4,736 | null | null | null | null | null | null | null |
// File: crates/router/src/services/authentication/cookies.rs
// Module: router
// Public functions: 4
use cookie::Cookie;
#[cfg(feature = "olap")]
use cookie::{
time::{Duration, OffsetDateTime},
SameSite,
};
use error_stack::{report, ResultExt};
#[cfg(feature = "olap")]
use masking::Mask;
#[cfg(feature = "ola... | crates/router/src/services/authentication/cookies.rs | router | full_file | null | null | null | 715 | null | null | null | null | null | null | null |
// Struct: PaysafeGiftCard
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeGiftCard | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeGiftCard | 0 | [] | 50 | null | null | null | null | null | null | null |
// Trait: AccountsStorageInterface
// File: crates/router/src/db.rs
// Module: router
pub trait AccountsStorageInterface: Send
+ Sync
+ dyn_clone::DynClone
+ OrganizationInterface
+ merchant_account::MerchantAccountInterface
+ business_profile::ProfileInterface
+ merchant_connector_account::Mer... | crates/router/src/db.rs | router | trait_definition | null | null | null | 98 | null | null | AccountsStorageInterface | null | null | null | null |
// Struct: GocardlessPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GocardlessPaymentsResponse | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | GocardlessPaymentsResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: build_unified_connector_service_grpc_headers
// File: crates/external_services/src/grpc_client/unified_connector_service.rs
// Module: external_services
// Documentation: Build the gRPC Headers for Unified Connector Service Request
pub fn build_unified_connector_service_grpc_headers(
meta: ConnectorA... | crates/external_services/src/grpc_client/unified_connector_service.rs | external_services | function_signature | null | null | null | 88 | build_unified_connector_service_grpc_headers | null | null | null | null | null | null |
// Struct: EntityTypeQueryParam
// File: crates/api_models/src/user/theme.rs
// Module: api_models
// Implementations: 0
pub struct EntityTypeQueryParam | crates/api_models/src/user/theme.rs | api_models | struct_definition | EntityTypeQueryParam | 0 | [] | 34 | null | null | null | null | null | null | null |
// Function: get_encrypted_apple_pay_payment_data_optional
// File: crates/common_types/src/payments.rs
// Module: common_types
// Documentation: Get the encrypted Apple Pay payment data if it exists
pub fn get_encrypted_apple_pay_payment_data_optional(&self) -> Option<&String> | crates/common_types/src/payments.rs | common_types | function_signature | null | null | null | 63 | get_encrypted_apple_pay_payment_data_optional | null | null | null | null | null | null |
// Implementation: impl KafkaConsolidatedEvent
// File: crates/router/src/services/kafka.rs
// Module: router
// Methods: 1 total (0 public)
impl KafkaConsolidatedEvent | crates/router/src/services/kafka.rs | router | impl_block | null | null | null | 42 | null | KafkaConsolidatedEvent | null | 1 | 0 | null | null |
// Struct: PayboxRsyncRequest
// File: crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayboxRsyncRequest | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | hyperswitch_connectors | struct_definition | PayboxRsyncRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl FrmMetricsBucketIdentifier
// File: crates/api_models/src/analytics/frm.rs
// Module: api_models
// Methods: 1 total (1 public)
impl FrmMetricsBucketIdentifier | crates/api_models/src/analytics/frm.rs | api_models | impl_block | null | null | null | 43 | null | FrmMetricsBucketIdentifier | null | 1 | 1 | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/nexixpay.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/nexixpay.rs | hyperswitch_connectors | function_signature | null | null | null | 40 | new | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Nomupay | ConnectorValidation for | 0 | 0 | null | null |
// File: crates/router/src/routes/disputes.rs
// Module: router
// Public functions: 13
use actix_multipart::Multipart;
use actix_web::{web, HttpRequest, HttpResponse};
use api_models::disputes as dispute_models;
use router_env::{instrument, tracing, Flow};
use crate::{core::api_locking, services::authorization::perm... | crates/router/src/routes/disputes.rs | router | full_file | null | null | null | 5,126 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Moneris
// File: crates/hyperswitch_connectors/src/connectors/moneris.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Moneris | crates/hyperswitch_connectors/src/connectors/moneris.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Moneris | api::PaymentSession for | 0 | 0 | null | null |
// Struct: ApplicationInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplicationInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | ApplicationInformation | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Silverflow
// File: crates/hyperswitch_connectors/src/connectors/silverflow.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Silverflow | crates/hyperswitch_connectors/src/connectors/silverflow.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Silverflow | ConnectorValidation for | 1 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Checkbook
// File: crates/hyperswitch_connectors/src/connectors/checkbook.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Checkbook | crates/hyperswitch_connectors/src/connectors/checkbook.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Checkbook | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: ChatListRequest
// File: crates/api_models/src/chat.rs
// Module: api_models
// Implementations: 0
pub struct ChatListRequest | crates/api_models/src/chat.rs | api_models | struct_definition | ChatListRequest | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Payme
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Payme | crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Payme | api::Refund for | 0 | 0 | null | null |
// Struct: SantanderPixVoidResponse
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SantanderPixVoidResponse | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | SantanderPixVoidResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl std::fmt::Display for for RedisError
// File: crates/router_derive/src/lib.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl std::fmt::Display for for RedisError | crates/router_derive/src/lib.rs | router_derive | impl_block | null | null | null | 52 | null | RedisError | std::fmt::Display for | 1 | 0 | null | null |
// Struct: OpennodeRouterData
// File: crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OpennodeRouterData<T> | crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs | hyperswitch_connectors | struct_definition | OpennodeRouterData | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: start_refund_workflow
// File: crates/router/src/core/refunds.rs
// Module: router
pub fn start_refund_workflow(
state: &SessionState,
refund_tracker: &storage::ProcessTracker,
) -> Result<(), errors::ProcessTrackerError> | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 58 | start_refund_workflow | null | null | null | null | null | null |
// Implementation: impl State for for TokenizeWithPmId
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
// Methods: 0 total (0 public)
impl State for for TokenizeWithPmId | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | impl_block | null | null | null | 55 | null | TokenizeWithPmId | State for | 0 | 0 | null | null |
// File: crates/diesel_models/src/errors.rs
// Module: diesel_models
#[derive(Copy, Clone, Debug, thiserror::Error)]
pub enum DatabaseError {
#[error("An error occurred when obtaining database connection")]
DatabaseConnectionError,
#[error("The requested resource was not found in the database")]
NotFou... | crates/diesel_models/src/errors.rs | diesel_models | full_file | null | null | null | 243 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/forte.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
use base64::Engine;
use common_enums::enums;
use common_util... | crates/hyperswitch_connectors/src/connectors/forte.rs | hyperswitch_connectors | full_file | null | null | null | 5,932 | null | null | null | null | null | null | null |
// Trait: TrackerPostUpdateObjects
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
pub trait TrackerPostUpdateObjects<Flow, FlowRequest, D> | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | trait_definition | null | null | null | 45 | null | null | TrackerPostUpdateObjects | null | null | null | null |
// Implementation: impl api::RefundSync for for Mollie
// File: crates/hyperswitch_connectors/src/connectors/mollie.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Mollie | crates/hyperswitch_connectors/src/connectors/mollie.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Mollie | api::RefundSync for | 0 | 0 | null | null |
// Struct: CardParams
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardParams | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | CardParams | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: ExchangeRate
// File: crates/hyperswitch_connectors/src/connectors/nordea/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ExchangeRate | crates/hyperswitch_connectors/src/connectors/nordea/responses.rs | hyperswitch_connectors | struct_definition | ExchangeRate | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl RelayWebhooks
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl RelayWebhooks | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 37 | null | RelayWebhooks | null | 1 | 1 | null | null |
// Implementation: impl PaymentMethodCreate
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Methods: 2 total (2 public)
impl PaymentMethodCreate | crates/api_models/src/payment_methods.rs | api_models | impl_block | null | null | null | 39 | null | PaymentMethodCreate | null | 2 | 2 | null | null |
// File: crates/router/src/db/user.rs
// Module: router
use diesel_models::user as storage;
use error_stack::report;
use masking::Secret;
use router_env::{instrument, tracing};
use super::{domain, MockDb};
use crate::{
connection,
core::errors::{self, CustomResult},
services::Store,
};
pub mod sample_data... | crates/router/src/db/user.rs | router | full_file | null | null | null | 2,585 | null | null | null | null | null | null | null |
// Function: exchange_token_core
// File: crates/router/src/core/pm_auth.rs
// Module: router
pub fn exchange_token_core(
state: SessionState,
merchant_context: domain::MerchantContext,
payload: api_models::pm_auth::ExchangeTokenCreateRequest,
) -> RouterResponse<()> | crates/router/src/core/pm_auth.rs | router | function_signature | null | null | null | 63 | exchange_token_core | null | null | null | null | null | null |
// Function: send_request
// File: crates/external_services/src/http_client.rs
// Module: external_services
pub fn send_request(
client_proxy: &Proxy,
request: Request,
option_timeout_secs: Option<u64>,
) -> CustomResult<reqwest::Response, HttpClientError> | crates/external_services/src/http_client.rs | external_services | function_signature | null | null | null | 64 | send_request | null | null | null | null | null | null |
// Function: delete_network_token_from_locker_and_token_service
// File: crates/router/src/core/payment_methods/network_tokenization.rs
// Module: router
pub fn delete_network_token_from_locker_and_token_service(
_state: &routes::SessionState,
_customer_id: &id_type::GlobalCustomerId,
_merchant_id: &id_typ... | crates/router/src/core/payment_methods/network_tokenization.rs | router | function_signature | null | null | null | 119 | delete_network_token_from_locker_and_token_service | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Tokenex
// File: crates/hyperswitch_connectors/src/connectors/tokenex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Tokenex | crates/hyperswitch_connectors/src/connectors/tokenex.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tokenex | api::PaymentAuthorize for | 0 | 0 | null | null |
// Trait: ForeignFrom
// File: crates/payment_methods/src/helpers.rs
// Module: payment_methods
pub trait ForeignFrom<F> | crates/payment_methods/src/helpers.rs | payment_methods | trait_definition | null | null | null | 28 | null | null | ForeignFrom | null | null | null | null |
// Function: find_by_merchant_id_profile_id
// File: crates/diesel_models/src/query/business_profile.rs
// Module: diesel_models
pub fn find_by_merchant_id_profile_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
profile_id: &common_utils::id_type::ProfileId,
) -> S... | crates/diesel_models/src/query/business_profile.rs | diesel_models | function_signature | null | null | null | 84 | find_by_merchant_id_profile_id | null | null | null | null | null | null |
// Function: mk_delete_card_response
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn mk_delete_card_response(
response: DeleteCardResponse,
) -> errors::RouterResult<DeleteCardResp> | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 52 | mk_delete_card_response | null | null | null | null | null | null |
// File: crates/router/src/services/kafka/fraud_check.rs
// Module: router
// Public functions: 1
// Public structs: 1
// use diesel_models::enums as storage_enums;
use diesel_models::{
enums as storage_enums,
enums::{FraudCheckLastStep, FraudCheckStatus, FraudCheckType},
fraud_check::FraudCheck,
};
use ti... | crates/router/src/services/kafka/fraud_check.rs | router | full_file | null | null | null | 662 | null | null | null | null | null | null | null |
// Struct: ProfileCreate
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct ProfileCreate | crates/api_models/src/admin.rs | api_models | struct_definition | ProfileCreate | 0 | [] | 33 | null | null | null | null | null | null | null |
// Implementation: impl HasSchemaParameters for for Field
// File: crates/router_derive/src/macros/schema/helpers.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl HasSchemaParameters for for Field | crates/router_derive/src/macros/schema/helpers.rs | router_derive | impl_block | null | null | null | 49 | null | Field | HasSchemaParameters for | 1 | 0 | null | null |
// Struct: QueryBuilder
// File: crates/analytics/src/query.rs
// Module: analytics
// Implementations: 1
pub struct QueryBuilder<T> | crates/analytics/src/query.rs | analytics | struct_definition | QueryBuilder | 1 | [] | 34 | null | null | null | null | null | null | null |
// Struct: PaymentsPostAuthenticateData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentsPostAuthenticateData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | PaymentsPostAuthenticateData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: list_initial_attempts_by_profile_id_constraints
// File: crates/diesel_models/src/query/events.rs
// Module: diesel_models
pub fn list_initial_attempts_by_profile_id_constraints(
conn: &PgPooledConn,
profile_id: &common_utils::id_type::ProfileId,
created_after: time::PrimitiveDateT... | crates/diesel_models/src/query/events.rs | diesel_models | function_signature | null | null | null | 124 | list_initial_attempts_by_profile_id_constraints | null | null | null | null | null | null |
// Function: should_check_for_customer_saved_payment_method_type
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn should_check_for_customer_saved_payment_method_type(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 45 | should_check_for_customer_saved_payment_method_type | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Cashtocode
// File: crates/hyperswitch_connectors/src/connectors/cashtocode.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl ConnectorCommon for for Cashtocode | crates/hyperswitch_connectors/src/connectors/cashtocode.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Cashtocode | ConnectorCommon for | 4 | 0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.