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: PaymentSuccessCount
// File: crates/api_models/src/analytics/payments.rs
// Module: api_models
// Implementations: 0
pub struct PaymentSuccessCount | crates/api_models/src/analytics/payments.rs | api_models | struct_definition | PaymentSuccessCount | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Multisafepay
// File: crates/hyperswitch_connectors/src/connectors/multisafepay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Multisafepay | crates/hyperswitch_connectors/src/connectors/multisafepay.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Multisafepay | api::Refund for | 0 | 0 | null | null |
// Implementation: impl MandateSetup for for Signifyd
// File: crates/hyperswitch_connectors/src/connectors/signifyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl MandateSetup for for Signifyd | crates/hyperswitch_connectors/src/connectors/signifyd.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Signifyd | MandateSetup for | 0 | 0 | null | null |
// Implementation: impl api::UasPreAuthenticationV2 for for Recurly
// File: crates/hyperswitch_connectors/src/connectors/recurly.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::UasPreAuthenticationV2 for for Recurly | crates/hyperswitch_connectors/src/connectors/recurly.rs | hyperswitch_connectors | impl_block | null | null | null | 68 | null | Recurly | api::UasPreAuthenticationV2 for | 0 | 0 | null | null |
// Implementation: impl RequestIdStore for for KafkaStore
// File: crates/router/src/db.rs
// Module: router
// Methods: 1 total (0 public)
impl RequestIdStore for for KafkaStore | crates/router/src/db.rs | router | impl_block | null | null | null | 44 | null | KafkaStore | RequestIdStore for | 1 | 0 | null | null |
// Function: elimination_routing_update_configs
// File: crates/router/src/core/routing.rs
// Module: router
pub fn elimination_routing_update_configs(
state: SessionState,
request: routing_types::EliminationRoutingConfig,
algorithm_id: common_utils::id_type::RoutingId,
profile_id: common_utils::id_typ... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 86 | elimination_routing_update_configs | null | null | null | null | null | null |
// Function: get_scope
// File: crates/router/src/services/authorization/roles.rs
// Module: router
pub fn get_scope(&self) -> RoleScope | crates/router/src/services/authorization/roles.rs | router | function_signature | null | null | null | 34 | get_scope | null | null | null | null | null | null |
// Function: get_metrics
// File: crates/analytics/src/refunds/core.rs
// Module: analytics
pub fn get_metrics(
pool: &AnalyticsProvider,
ex_rates: &Option<ExchangeRates>,
auth: &AuthInfo,
req: GetRefundMetricRequest,
) -> AnalyticsResult<RefundsMetricsResponse<RefundMetricsBucketResponse>> | crates/analytics/src/refunds/core.rs | analytics | function_signature | null | null | null | 77 | get_metrics | null | null | null | null | null | null |
// Implementation: impl ClientSecretId
// File: crates/common_utils/src/id_type/client_secret.rs
// Module: common_utils
// Methods: 1 total (1 public)
impl ClientSecretId | crates/common_utils/src/id_type/client_secret.rs | common_utils | impl_block | null | null | null | 41 | null | ClientSecretId | null | 1 | 1 | null | null |
// Implementation: impl api::PaymentToken for for Nexinets
// File: crates/hyperswitch_connectors/src/connectors/nexinets.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Nexinets | crates/hyperswitch_connectors/src/connectors/nexinets.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nexinets | api::PaymentToken for | 0 | 0 | null | null |
// Implementation: impl std::fmt::Display for for TrustpaymentsErrorCode
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl std::fmt::Display for for TrustpaymentsErrorCode | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | TrustpaymentsErrorCode | std::fmt::Display for | 1 | 0 | null | null |
// Struct: TaxjarErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/taxjar/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TaxjarErrorResponse | crates/hyperswitch_connectors/src/connectors/taxjar/transformers.rs | hyperswitch_connectors | struct_definition | TaxjarErrorResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/generic_link.rs
// Module: diesel_models
// Public functions: 2
// Public structs: 7
use common_utils::{
consts,
link_utils::{
EnabledPaymentMethod, GenericLinkStatus, GenericLinkUiConfig, PaymentMethodCollectStatus,
PayoutLinkData, PayoutLinkStatus,
},
};
... | crates/diesel_models/src/generic_link.rs | diesel_models | full_file | null | null | null | 1,672 | null | null | null | null | null | null | null |
// Function: get_error_reason
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
pub fn get_error_reason(
error_info: Option<String>,
detailed_error_info: Option<String>,
avs_error_info: Option<String>,
) -> Option<String> | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 72 | get_error_reason | null | null | null | null | null | null |
// Implementation: impl PartialEq for for DisputeMetricsBucketIdentifier
// File: crates/api_models/src/analytics/disputes.rs
// Module: api_models
// Methods: 1 total (0 public)
impl PartialEq for for DisputeMetricsBucketIdentifier | crates/api_models/src/analytics/disputes.rs | api_models | impl_block | null | null | null | 52 | null | DisputeMetricsBucketIdentifier | PartialEq for | 1 | 0 | null | null |
// Function: call_multiple_connectors_service
// File: crates/router/src/core/payments.rs
// Module: router
pub fn call_multiple_connectors_service<F, Op, Req, D>(
state: &SessionState,
merchant_context: &domain::MerchantContext,
connectors: api::SessionConnectorDatas,
_operation: &Op,
mut payment_... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 257 | call_multiple_connectors_service | null | null | null | null | null | null |
// Struct: ApiKeyExpiryTrackingData
// File: crates/diesel_models/src/api_keys.rs
// Module: diesel_models
// Implementations: 0
pub struct ApiKeyExpiryTrackingData | crates/diesel_models/src/api_keys.rs | diesel_models | struct_definition | ApiKeyExpiryTrackingData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl Capturable for for PaymentsCaptureData
// File: crates/router/src/types.rs
// Module: router
// Methods: 2 total (0 public)
impl Capturable for for PaymentsCaptureData | crates/router/src/types.rs | router | impl_block | null | null | null | 44 | null | PaymentsCaptureData | Capturable for | 2 | 0 | null | null |
// Struct: GigadatConnectorMetadataObject
// File: crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GigadatConnectorMetadataObject | crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs | hyperswitch_connectors | struct_definition | GigadatConnectorMetadataObject | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: CeleroCustomer
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CeleroCustomer | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | struct_definition | CeleroCustomer | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl BizEmailProd
// File: crates/router/src/services/email/types.rs
// Module: router
// Methods: 1 total (1 public)
impl BizEmailProd | crates/router/src/services/email/types.rs | router | impl_block | null | null | null | 38 | null | BizEmailProd | null | 1 | 1 | null | null |
// Implementation: impl api::PaymentAuthorizeSessionToken for for Square
// File: crates/hyperswitch_connectors/src/connectors/square.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorizeSessionToken for for Square | crates/hyperswitch_connectors/src/connectors/square.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Square | api::PaymentAuthorizeSessionToken for | 0 | 0 | null | null |
// Struct: ResponseRouterData
// File: crates/router/src/types.rs
// Module: router
// Implementations: 0
pub struct ResponseRouterData<Flow, R, Request, Response> | crates/router/src/types.rs | router | struct_definition | ResponseRouterData | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl PaymentCapture for for Threedsecureio
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentCapture for for Threedsecureio | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Threedsecureio | PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl ValidateStatusForOperation for for ExternalVaultProxyPaymentIntent
// File: crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs
// Module: router
// Methods: 1 total (0 public)
impl ValidateStatusForOperation for for ExternalVaultProxyPaymentIntent | crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs | router | impl_block | null | null | null | 63 | null | ExternalVaultProxyPaymentIntent | ValidateStatusForOperation for | 1 | 0 | null | null |
// Struct: RoleInfo
// File: crates/router/src/services/authorization/roles.rs
// Module: router
// Implementations: 1
pub struct RoleInfo | crates/router/src/services/authorization/roles.rs | router | struct_definition | RoleInfo | 1 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Breadpay
// File: crates/hyperswitch_connectors/src/connectors/breadpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Breadpay | crates/hyperswitch_connectors/src/connectors/breadpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Breadpay | api::PaymentToken for | 0 | 0 | null | null |
// Struct: ThreedsecureioRouterData
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreedsecureioRouterData<T> | crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs | hyperswitch_connectors | struct_definition | ThreedsecureioRouterData | 0 | [] | 57 | null | null | null | null | null | null | null |
// Struct: VaultFingerprintRequest
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct VaultFingerprintRequest | crates/router/src/types/payment_methods.rs | router | struct_definition | VaultFingerprintRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/noon.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/noon.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Function: convert_from_prost_timestamp
// File: crates/external_services/src/lib.rs
// Module: external_services
// Documentation: Converts a `prost_types::Timestamp` to an `time::PrimitiveDateTime`.
pub fn convert_from_prost_timestamp(
ts: &prost_types::Timestamp,
) -> error_stack::Result<time::Primit... | crates/external_services/src/lib.rs | external_services | function_signature | null | null | null | 81 | convert_from_prost_timestamp | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Flexiti
// File: crates/hyperswitch_connectors/src/connectors/flexiti.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Flexiti | crates/hyperswitch_connectors/src/connectors/flexiti.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Flexiti | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl UserRoleInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 7 total (0 public)
impl UserRoleInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 45 | null | KafkaStore | UserRoleInterface for | 7 | 0 | null | null |
// Struct: FiuuPaymentSyncRequest
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiuuPaymentSyncRequest | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | FiuuPaymentSyncRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl Iterator for for IntoIter
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (0 public)
impl Iterator for for IntoIter | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 50 | null | IntoIter | Iterator for | 1 | 0 | null | null |
// Implementation: impl Fiserv
// File: crates/hyperswitch_connectors/src/connectors/fiserv.rs
// Module: hyperswitch_connectors
// Methods: 2 total (2 public)
impl Fiserv | crates/hyperswitch_connectors/src/connectors/fiserv.rs | hyperswitch_connectors | impl_block | null | null | null | 48 | null | Fiserv | null | 2 | 2 | null | null |
// Function: get_role_from_token_with_groups
// File: crates/router/src/core/user_role/role.rs
// Module: router
pub fn get_role_from_token_with_groups(
state: SessionState,
user_from_token: UserFromToken,
) -> UserResponse<Vec<PermissionGroup>> | crates/router/src/core/user_role/role.rs | router | function_signature | null | null | null | 61 | get_role_from_token_with_groups | null | null | null | null | null | null |
// Implementation: impl FutureUsage
// File: crates/common_enums/src/enums.rs
// Module: common_enums
// Methods: 1 total (1 public)
impl FutureUsage | crates/common_enums/src/enums.rs | common_enums | impl_block | null | null | null | 39 | null | FutureUsage | null | 1 | 1 | null | null |
// Struct: Authenticate
// File: crates/hyperswitch_domain_models/src/router_flow_types/unified_authentication_service.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Authenticate | crates/hyperswitch_domain_models/src/router_flow_types/unified_authentication_service.rs | hyperswitch_domain_models | struct_definition | Authenticate | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: WelcomeToCommunity
// File: crates/router/src/services/email/types.rs
// Module: router
// Implementations: 1
// Traits: EmailData
pub struct WelcomeToCommunity | crates/router/src/services/email/types.rs | router | struct_definition | WelcomeToCommunity | 1 | [
"EmailData"
] | 41 | 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 |
// File: crates/router/src/core/mandate/utils.rs
// Module: router
// Public functions: 1
use std::marker::PhantomData;
use common_utils::{errors::CustomResult, ext_traits::ValueExt};
use diesel_models::Mandate;
use error_stack::ResultExt;
use crate::{
core::{errors, payments::helpers},
types::{self, domain,... | crates/router/src/core/mandate/utils.rs | router | full_file | null | null | null | 822 | null | null | null | null | null | null | null |
// Struct: TrustlyInfo
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustlyInfo | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | TrustlyInfo | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Hipay
// File: crates/hyperswitch_connectors/src/connectors/hipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Hipay | crates/hyperswitch_connectors/src/connectors/hipay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Hipay | api::PaymentToken for | 0 | 0 | null | null |
// File: crates/api_models/src/user/sample_data.rs
// Module: api_models
// Public structs: 1
use common_enums::{AuthenticationType, CountryAlpha2};
use time::PrimitiveDateTime;
use crate::enums::Connector;
#[derive(serde::Deserialize, Debug, serde::Serialize)]
pub struct SampleDataRequest {
pub record: Option<u... | crates/api_models/src/user/sample_data.rs | api_models | full_file | null | null | null | 250 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Hipay
// File: crates/hyperswitch_connectors/src/connectors/hipay.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Hipay | crates/hyperswitch_connectors/src/connectors/hipay.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Hipay | ConnectorCommon for | 5 | 0 | null | null |
// Struct: StripebillingRecordBackResponse
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripebillingRecordBackResponse | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | StripebillingRecordBackResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: validate_amount_to_capture
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Documentation: Validate the amount to capture that is sent in the request
pub fn validate_amount_to_capture(
&self,
request_amount_to_capture: Minor... | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 75 | validate_amount_to_capture | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: ExtractedPayload
// File: crates/router/src/services/authentication/detached.rs
// Module: router
// Implementations: 1
pub struct ExtractedPayload | crates/router/src/services/authentication/detached.rs | router | struct_definition | ExtractedPayload | 1 | [] | 37 | null | null | null | null | null | null | null |
// Function: find_by_global_customer_id_merchant_id_status
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
pub fn find_by_global_customer_id_merchant_id_status(
conn: &PgPooledConn,
customer_id: &common_utils::id_type::GlobalCustomerId,
merchant_id: &common_ut... | crates/diesel_models/src/query/payment_method.rs | diesel_models | function_signature | null | null | null | 108 | find_by_global_customer_id_merchant_id_status | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Sift
// File: crates/hyperswitch_connectors/src/connectors/sift.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Sift | crates/hyperswitch_connectors/src/connectors/sift.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Sift | ConnectorSpecifications for | 3 | 0 | null | null |
// File: crates/common_utils/src/signals.rs
// Module: common_utils
// Public functions: 6
// Public structs: 1
//! Provide Interface for worker services to handle signals
#[cfg(not(target_os = "windows"))]
use futures::StreamExt;
#[cfg(not(target_os = "windows"))]
use router_env::logger;
use tokio::sync::mpsc;
/// ... | crates/common_utils/src/signals.rs | common_utils | full_file | null | null | null | 550 | null | null | null | null | null | null | null |
// Struct: GetSubscriptionEstimateRequest
// File: crates/hyperswitch_domain_models/src/router_request_types/subscriptions.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GetSubscriptionEstimateRequest | crates/hyperswitch_domain_models/src/router_request_types/subscriptions.rs | hyperswitch_domain_models | struct_definition | GetSubscriptionEstimateRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Sift
// File: crates/hyperswitch_connectors/src/connectors/sift.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Sift | crates/hyperswitch_connectors/src/connectors/sift.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Sift | api::MandateSetup for | 0 | 0 | null | null |
// Struct: HeaderPayload
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 1
pub struct HeaderPayload | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | struct_definition | HeaderPayload | 1 | [] | 40 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/tesouro.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/tesouro.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Struct: NoonSubscription
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonSubscription | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonSubscription | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: error_message
// File: crates/router_derive/src/macros/api_error.rs
// Module: router_derive
pub fn error_message(&self) -> String | crates/router_derive/src/macros/api_error.rs | router_derive | function_signature | null | null | null | 36 | error_message | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Breadpay
// File: crates/hyperswitch_connectors/src/connectors/breadpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Breadpay | crates/hyperswitch_connectors/src/connectors/breadpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Breadpay | api::PaymentSync for | 0 | 0 | null | null |
// Struct: LinkTokenResponse
// File: crates/pm_auth/src/types.rs
// Module: pm_auth
// Implementations: 0
pub struct LinkTokenResponse | crates/pm_auth/src/types.rs | pm_auth | struct_definition | LinkTokenResponse | 0 | [] | 35 | null | null | null | null | null | null | null |
// Function: sync_refund_with_gateway
// File: crates/router/src/core/refunds_v2.rs
// Module: router
pub fn sync_refund_with_gateway(
state: &SessionState,
merchant_context: &domain::MerchantContext,
payment_attempt: &storage::PaymentAttempt,
payment_intent: &storage::PaymentIntent,
refund: &diese... | crates/router/src/core/refunds_v2.rs | router | function_signature | null | null | null | 98 | sync_refund_with_gateway | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 8
use std::collections::HashMap;
use common_enums::enums;
pub use common_utils::request::Method;
use common_utils::{
errors::CustomResult, ext_traits::ValueExt, id_type, pii::Email... | crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 2,600 | null | null | null | null | null | null | null |
// Implementation: impl Default for for SuccessBasedRoutingConfig
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (0 public)
impl Default for for SuccessBasedRoutingConfig | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 47 | null | SuccessBasedRoutingConfig | Default for | 1 | 0 | null | null |
// Struct: CashtoCodeCurrencyAuthKeyType
// File: crates/connector_configs/src/connector.rs
// Module: connector_configs
// Implementations: 0
pub struct CashtoCodeCurrencyAuthKeyType | crates/connector_configs/src/connector.rs | connector_configs | struct_definition | CashtoCodeCurrencyAuthKeyType | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: list_by_profile_id_initial_attempt_id
// File: crates/diesel_models/src/query/events.rs
// Module: diesel_models
pub fn list_by_profile_id_initial_attempt_id(
conn: &PgPooledConn,
profile_id: &common_utils::id_type::ProfileId,
initial_attempt_id: &str,
) -> StorageResult<Vec<Se... | crates/diesel_models/src/query/events.rs | diesel_models | function_signature | null | null | null | 78 | list_by_profile_id_initial_attempt_id | null | null | null | null | null | null |
// Function: retrieve_dispute
// File: crates/router/src/routes/disputes.rs
// Module: router
pub fn retrieve_dispute(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
json_payload: web::Query<dispute_models::DisputeRetrieveBody>,
) -> HttpResponse | crates/router/src/routes/disputes.rs | router | function_signature | null | null | null | 72 | retrieve_dispute | null | null | null | null | null | null |
// Struct: VirInterpreterBackend
// File: crates/euclid/src/backend/vir_interpreter.rs
// Module: euclid
// Implementations: 1
pub struct VirInterpreterBackend<O> | crates/euclid/src/backend/vir_interpreter.rs | euclid | struct_definition | VirInterpreterBackend | 1 | [] | 42 | null | null | null | null | null | null | null |
// Function: fetch_payment_method
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
pub fn fetch_payment_method(
&self,
payment_method_id: &str,
) -> RouterResult<domain::PaymentMethod> | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | function_signature | null | null | null | 57 | fetch_payment_method | null | null | null | null | null | null |
// Function: perform_session_token_routing
// File: crates/router/src/core/payments.rs
// Module: router
pub fn perform_session_token_routing<F, D>(
state: SessionState,
business_profile: &domain::Profile,
merchant_context: domain::MerchantContext,
payment_data: &D,
connectors: api::SessionConnecto... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 100 | perform_session_token_routing | null | null | null | null | null | null |
// Implementation: impl DBOperation
// File: crates/diesel_models/src/kv.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl DBOperation | crates/diesel_models/src/kv.rs | diesel_models | impl_block | null | null | null | 40 | null | DBOperation | null | 1 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Itaubank
// File: crates/hyperswitch_connectors/src/connectors/itaubank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Itaubank | crates/hyperswitch_connectors/src/connectors/itaubank.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Itaubank | api::PaymentCapture for | 0 | 0 | null | null |
// Function: check_payments_receivable
// File: crates/router/src/types/api/connector_onboarding/paypal.rs
// Module: router
pub fn check_payments_receivable(&self) -> Option<api::PayPalOnboardingStatus> | crates/router/src/types/api/connector_onboarding/paypal.rs | router | function_signature | null | null | null | 51 | check_payments_receivable | null | null | null | null | null | null |
// Function: is_separate_authentication_supported
// File: crates/common_enums/src/connector_enums.rs
// Module: common_enums
pub fn is_separate_authentication_supported(self) -> bool | crates/common_enums/src/connector_enums.rs | common_enums | function_signature | null | null | null | 41 | is_separate_authentication_supported | null | null | null | null | null | null |
// Function: percentage
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn percentage(input: &str) -> ParseResult<&str, u8> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 42 | percentage | null | null | null | null | null | null |
// Implementation: impl DashboardMetadataInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 6 total (0 public)
impl DashboardMetadataInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 47 | null | KafkaStore | DashboardMetadataInterface for | 6 | 0 | null | null |
// Function: get_string_repr
// File: crates/common_utils/src/id_type/global_id/payment_methods.rs
// Module: common_utils
// Documentation: Get the string representation of the id
pub fn get_string_repr(&self) -> &str | crates/common_utils/src/id_type/global_id/payment_methods.rs | common_utils | function_signature | null | null | null | 50 | get_string_repr | null | null | null | null | null | null |
// Function: set_dynamic_routing_volume_split
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn set_dynamic_routing_volume_split(
state: web::Data<AppState>,
req: HttpRequest,
query: web::Query<api_models::routing::DynamicRoutingVolumeSplitQuery>,
path: web::Path<routing_types::Togg... | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 85 | set_dynamic_routing_volume_split | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 72 | null | Juspaythreedsserver | api::Refund for | 0 | 0 | null | null |
// Implementation: impl OrganizationBridge for for OrganizationNew
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
// Methods: 3 total (0 public)
impl OrganizationBridge for for OrganizationNew | crates/diesel_models/src/organization.rs | diesel_models | impl_block | null | null | null | 46 | null | OrganizationNew | OrganizationBridge for | 3 | 0 | null | null |
// Struct: CardCancelResponse
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardCancelResponse | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | CardCancelResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: VaultRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct VaultRequestData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | VaultRequestData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Trustpay
// File: crates/hyperswitch_connectors/src/connectors/trustpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Trustpay | crates/hyperswitch_connectors/src/connectors/trustpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Trustpay | api::ConnectorAccessToken for | 0 | 0 | null | null |
storage_model.surcharge_amount,
storage_model.tax_amount,
),
payment_id: storage_model.payment_id,
merchant_id: storage_model.merchant_id.clone(),
attempt_id: storage_model.attempt_id,
status: storage_model.status,
c... | crates/storage_impl/src/payments/payment_attempt.rs#chunk2 | storage_impl | chunk | null | null | null | 1,319 | null | null | null | null | null | null | null |
// Struct: ProfileGeneralUpdate
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ProfileGeneralUpdate | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | struct_definition | ProfileGeneralUpdate | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric
for for PaymentsGenericRequestWithResourceId
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 1 total (0 public)
impl common_utils::events::ApiEventMetric
for for PaymentsGenericRequestWithResourceId | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 66 | null | PaymentsGenericRequestWithResourceId | common_utils::events::ApiEventMetric
for | 1 | 0 | null | null |
// Struct: Mollie
// File: crates/hyperswitch_connectors/src/connectors/mollie.rs
// Module: hyperswitch_connectors
// Implementations: 20
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentToken, api::PaymentAuthorize, api::PaymentsCompleteAuthorize, api::PaymentSyn... | crates/hyperswitch_connectors/src/connectors/mollie.rs | hyperswitch_connectors | struct_definition | Mollie | 20 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentToken",
"api::PaymentAuthorize",
"api::PaymentsCompleteAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"C... | 141 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Forte
// File: crates/hyperswitch_connectors/src/connectors/forte.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Forte | crates/hyperswitch_connectors/src/connectors/forte.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Forte | ConnectorCommon for | 5 | 0 | null | null |
// Function: list_initial_webhook_delivery_attempts_with_jwtauth
// File: crates/router/src/routes/webhook_events.rs
// Module: router
pub fn list_initial_webhook_delivery_attempts_with_jwtauth(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<EventListConstraints>,
) -> impl Responder | crates/router/src/routes/webhook_events.rs | router | function_signature | null | null | null | 76 | list_initial_webhook_delivery_attempts_with_jwtauth | null | null | null | null | null | null |
// Function: refunds_retrieve_with_body
// File: crates/router/src/routes/refunds.rs
// Module: router
pub fn refunds_retrieve_with_body(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<refunds::RefundsRetrieveRequest>,
) -> HttpResponse | crates/router/src/routes/refunds.rs | router | function_signature | null | null | null | 66 | refunds_retrieve_with_body | null | null | null | null | null | null |
// Implementation: impl ProphetpayTokenType
// File: crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ProphetpayTokenType | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | ProphetpayTokenType | null | 1 | 0 | null | null |
// Implementation: impl PartnerReferralRequest
// File: crates/router/src/types/api/connector_onboarding/paypal.rs
// Module: router
// Methods: 1 total (1 public)
impl PartnerReferralRequest | crates/router/src/types/api/connector_onboarding/paypal.rs | router | impl_block | null | null | null | 45 | null | PartnerReferralRequest | null | 1 | 1 | null | null |
// Struct: NovalnetAuthorizationResponse
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetAuthorizationResponse | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetAuthorizationResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl RefundSync for for Signifyd
// File: crates/hyperswitch_connectors/src/connectors/signifyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RefundSync for for Signifyd | crates/hyperswitch_connectors/src/connectors/signifyd.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Signifyd | RefundSync for | 0 | 0 | null | null |
// Implementation: impl FromEncoded for for Secret
// File: crates/external_services/src/hashicorp_vault/core.rs
// Module: external_services
// Methods: 1 total (0 public)
impl FromEncoded for for Secret | crates/external_services/src/hashicorp_vault/core.rs | external_services | impl_block | null | null | null | 48 | null | Secret | FromEncoded for | 1 | 0 | null | null |
// Trait: FromEncoded
// File: crates/external_services/src/hashicorp_vault/core.rs
// Module: external_services
// Documentation: A trait for types that can be constructed from encoded data in the form of a String.
pub trait FromEncoded: Sized | crates/external_services/src/hashicorp_vault/core.rs | external_services | trait_definition | null | null | null | 55 | null | null | FromEncoded | null | null | null | null |
// Struct: AdyenStoredCardIdentification
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdyenStoredCardIdentification | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | struct_definition | AdyenStoredCardIdentification | 0 | [] | 56 | null | null | null | null | null | null | null |
// Function: get_schedule_time_based_on_retry_type
// File: crates/router/src/types/storage/revenue_recovery.rs
// Module: router
pub fn get_schedule_time_based_on_retry_type(
&self,
state: &SessionState,
merchant_id: &id_type::MerchantId,
retry_count: i32,
payment_attempt: &Pay... | crates/router/src/types/storage/revenue_recovery.rs | router | function_signature | null | null | null | 103 | get_schedule_time_based_on_retry_type | null | null | null | null | null | null |
// Struct: ThreeD
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeD | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | ThreeD | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: new_normal
// File: crates/masking/src/maskable.rs
// Module: masking
// Documentation: Create a new non-masked data
pub fn new_normal(item: T) -> Self | crates/masking/src/maskable.rs | masking | function_signature | null | null | null | 44 | new_normal | 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.