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: insert_recovery_code_attempts_in_redis
// File: crates/router/src/utils/user/two_factor_auth.rs
// Module: router
pub fn insert_recovery_code_attempts_in_redis(
state: &SessionState,
user_id: &str,
user_recovery_code_attempts: u8,
) -> UserResult<()> | crates/router/src/utils/user/two_factor_auth.rs | router | function_signature | null | null | null | 66 | insert_recovery_code_attempts_in_redis | null | null | null | null | null | null |
// Struct: MandateRevokeResponseData
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct MandateRevokeResponseData | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | struct_definition | MandateRevokeResponseData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: try_from_string
// File: crates/common_utils/src/id_type/tenant.rs
// Module: common_utils
// Documentation: Get tenant id from String
pub fn try_from_string(tenant_id: String) -> CustomResult<Self, ValidationError> | crates/common_utils/src/id_type/tenant.rs | common_utils | function_signature | null | null | null | 53 | try_from_string | null | null | null | null | null | null |
// Function: get_user_theme_using_lineage
// File: crates/router/src/core/user/theme.rs
// Module: router
pub fn get_user_theme_using_lineage(
state: SessionState,
user_from_token: UserFromToken,
entity_type: EntityType,
) -> UserResponse<theme_api::GetThemeResponse> | crates/router/src/core/user/theme.rs | router | function_signature | null | null | null | 68 | get_user_theme_using_lineage | null | null | null | null | null | null |
// Implementation: impl ConnectorResponse
// File: crates/diesel_models/src/query/connector_response.rs
// Module: diesel_models
// Methods: 2 total (0 public)
impl ConnectorResponse | crates/diesel_models/src/query/connector_response.rs | diesel_models | impl_block | null | null | null | 40 | null | ConnectorResponse | null | 2 | 0 | null | null |
// Struct: PaymentIntentConfirm
// File: crates/router/src/core/payments/operations/payment_confirm_intent.rs
// Module: router
// Implementations: 1
// Traits: ValidateStatusForOperation
pub struct PaymentIntentConfirm | crates/router/src/core/payments/operations/payment_confirm_intent.rs | router | struct_definition | PaymentIntentConfirm | 1 | [
"ValidateStatusForOperation"
] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Digitalvirgo
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Digitalvirgo | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Digitalvirgo | api::PaymentSync for | 0 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Gigadat
// File: crates/hyperswitch_connectors/src/connectors/gigadat.rs
// Module: hyperswitch_connectors
// Methods: 2 total (0 public)
impl ConnectorValidation for for Gigadat | crates/hyperswitch_connectors/src/connectors/gigadat.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Gigadat | ConnectorValidation for | 2 | 0 | null | null |
// Implementation: impl db::payment_method_session::PaymentMethodsSessionInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 0 total (0 public)
impl db::payment_method_session::PaymentMethodsSessionInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 61 | null | KafkaStore | db::payment_method_session::PaymentMethodsSessionInterface for | 0 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Rapyd
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Rapyd | crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Rapyd | ConnectorValidation for | 0 | 0 | null | null |
// File: crates/hyperswitch_domain_models/src/payouts.rs
// Module: hyperswitch_domain_models
// Public structs: 1
pub mod payout_attempt;
#[allow(clippy::module_inception)]
pub mod payouts;
use common_enums as storage_enums;
use common_utils::{consts, id_type};
use time::PrimitiveDateTime;
pub enum PayoutFetchConst... | crates/hyperswitch_domain_models/src/payouts.rs | hyperswitch_domain_models | full_file | null | null | null | 863 | null | null | null | null | null | null | null |
// Struct: VgsTokenRequestItem
// File: crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VgsTokenRequestItem | crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs | hyperswitch_connectors | struct_definition | VgsTokenRequestItem | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: RefundInputData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundInputData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | RefundInputData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: UserCompanyName
// File: crates/router/src/types/domain/user.rs
// Module: router
// Implementations: 1
pub struct UserCompanyName | crates/router/src/types/domain/user.rs | router | struct_definition | UserCompanyName | 1 | [] | 33 | null | null | null | null | null | null | null |
// Function: network_tokenize_and_vault_the_pmd
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn network_tokenize_and_vault_the_pmd(
state: &SessionState,
payment_method_data: &domain::PaymentMethodVaultingData,
merchant_context: &domain::MerchantContext,
network_tokenization... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 118 | network_tokenize_and_vault_the_pmd | null | null | null | null | null | null |
// Function: should_validate_connectors_in_routing_config
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn should_validate_connectors_in_routing_config(&self) -> bool | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 42 | should_validate_connectors_in_routing_config | null | null | null | null | null | null |
// Trait: GetKeymanagerTenant
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
pub trait GetKeymanagerTenant | crates/common_utils/src/types/keymanager.rs | common_utils | trait_definition | null | null | null | 32 | null | null | GetKeymanagerTenant | null | null | null | null |
// Struct: PlaidAuthType
// File: crates/pm_auth/src/connector/plaid/transformers.rs
// Module: pm_auth
// Implementations: 0
pub struct PlaidAuthType | crates/pm_auth/src/connector/plaid/transformers.rs | pm_auth | struct_definition | PlaidAuthType | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl Derives
// File: crates/router_derive/src/macros/operation.rs
// Module: router_derive
// Methods: 2 total (0 public)
impl Derives | crates/router_derive/src/macros/operation.rs | router_derive | impl_block | null | null | null | 41 | null | Derives | null | 2 | 0 | null | null |
// Function: payment_intents_update
// File: crates/router/src/compatibility/stripe/payment_intents.rs
// Module: router
pub fn payment_intents_update(
state: web::Data<routes::AppState>,
qs_config: web::Data<serde_qs::Config>,
req: HttpRequest,
form_payload: web::Bytes,
path: web::Path<common_util... | crates/router/src/compatibility/stripe/payment_intents.rs | router | function_signature | null | null | null | 92 | payment_intents_update | null | null | null | null | null | null |
pub struct SamsungPayApplicationCredentials {
pub merchant_display_name: String,
pub merchant_business_country: api_enums::CountryAlpha2,
pub allowed_brands: Vec<String>,
}
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
pub struct PaypalSdkMetaData {
pub client_id: String,
}
#[derive(De... | crates/api_models/src/payments.rs#chunk9 | api_models | chunk | null | null | null | 8,186 | null | null | null | null | null | null | null |
// Function: with_config_path
// File: crates/drainer/src/settings.rs
// Module: drainer
pub fn with_config_path(config_path: Option<PathBuf>) -> Result<Self, errors::DrainerError> | crates/drainer/src/settings.rs | drainer | function_signature | null | null | null | 45 | with_config_path | null | null | null | null | null | null |
// Function: retry_delete_tokenize
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn retry_delete_tokenize(
db: &dyn db::StorageInterface,
pm: enums::PaymentMethod,
pt: storage::ProcessTracker,
) -> Result<(), errors::ProcessTrackerError> | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 67 | retry_delete_tokenize | null | null | null | null | null | null |
// Struct: CustomerResponseObject
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustomerResponseObject | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | CustomerResponseObject | 0 | [] | 49 | null | null | null | null | null | null | null |
// Trait: SdkEventMetric
// File: crates/analytics/src/sdk_events/metrics.rs
// Module: analytics
pub trait SdkEventMetric<T> | crates/analytics/src/sdk_events/metrics.rs | analytics | trait_definition | null | null | null | 34 | null | null | SdkEventMetric | null | null | null | null |
// File: crates/router/src/workflows/payment_sync.rs
// Module: router
// Public functions: 3
// Public structs: 1
#[cfg(feature = "v2")]
use common_utils::ext_traits::AsyncExt;
use common_utils::ext_traits::{OptionExt, StringExt, ValueExt};
use diesel_models::process_tracker::business_status;
use error_stack::ResultE... | crates/router/src/workflows/payment_sync.rs | router | full_file | null | null | null | 2,677 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Flexiti
// File: crates/hyperswitch_connectors/src/connectors/flexiti.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Flexiti | crates/hyperswitch_connectors/src/connectors/flexiti.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Flexiti | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Worldpayxml
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Worldpayxml | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Worldpayxml | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Implementation: impl api::Payment for for Facilitapay
// File: crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Facilitapay | crates/hyperswitch_connectors/src/connectors/facilitapay.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Facilitapay | api::Payment for | 0 | 0 | null | null |
// Implementation: impl Default for for RequestBuilder
// File: crates/common_utils/src/request.rs
// Module: common_utils
// Methods: 1 total (0 public)
impl Default for for RequestBuilder | crates/common_utils/src/request.rs | common_utils | impl_block | null | null | null | 42 | null | RequestBuilder | Default for | 1 | 0 | null | null |
// Struct: PaymentStatus
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentStatus | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | PaymentStatus | 0 | [] | 46 | null | null | null | null | null | null | null |
self, req, connectors,
)?)
.build(),
))
}
fn handle_response(
&self,
data: &PaymentsIncrementalAuthorizationRouterData,
event_builder: Option<&mut ConnectorEvent>,
res: Response,
) -> CustomResult<
RouterDat... | crates/hyperswitch_connectors/src/connectors/stripe.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 8,186 | null | null | null | null | null | null | null |
// Struct: ListCountriesCurrenciesRequest
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct ListCountriesCurrenciesRequest | crates/api_models/src/payment_methods.rs | api_models | struct_definition | ListCountriesCurrenciesRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payments/metrics/sessionized_metrics.rs
// Module: analytics
mod avg_ticket_size;
mod connector_success_rate;
mod debit_routing;
mod failure_reasons;
mod payment_count;
mod payment_processed_amount;
mod payment_success_count;
mod payments_distribution;
mod retries_count;
mod success_rate;... | crates/analytics/src/payments/metrics/sessionized_metrics.rs | analytics | full_file | null | null | null | 194 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/router/src/types/storage/capture.rs
// Module: router
pub use diesel_models::capture::*;
| crates/router/src/types/storage/capture.rs | router | full_file | null | null | null | 24 | null | null | null | null | null | null | null |
// Function: get_profile_auth_events_filters
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_profile_auth_events_filters(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<GetAuthEventFilterRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 70 | get_profile_auth_events_filters | null | null | null | null | null | null |
None
}
} else {
logger::info!(
payment_method=?payment_data.payment_attempt.payment_method,
click_to_pay_enabled=?business_profile.is_click_to_pay_enabled,
"skipping unified authentication service... | crates/router/src/core/payments/helpers.rs#chunk7 | router | chunk | null | null | null | 5,188 | null | null | null | null | null | null | null |
// Struct: ResultsResponseData
// File: crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ResultsResponseData | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs | hyperswitch_connectors | struct_definition | ResultsResponseData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: BucketInformationEventResponse
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct BucketInformationEventResponse | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | BucketInformationEventResponse | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: GpaymentsPostAuthenticationResponse
// File: crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GpaymentsPostAuthenticationResponse | crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs | hyperswitch_connectors | struct_definition | GpaymentsPostAuthenticationResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Jpmorgan
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Jpmorgan | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Jpmorgan | api::RefundExecute for | 0 | 0 | null | null |
// Function: record_attempt_core
// File: crates/router/src/core/payments.rs
// Module: router
pub fn record_attempt_core(
state: SessionState,
req_state: ReqState,
merchant_context: domain::MerchantContext,
profile: domain::Profile,
req: api_models::payments::PaymentsAttemptRecordRequest,
paym... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 104 | record_attempt_core | null | null | null | null | null | null |
// Struct: GenericVariableInput
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GenericVariableInput<T> | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | GenericVariableInput | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: ErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorResponse | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | ErrorResponse | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: get_new_merchant
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_new_merchant(&self) -> NewUserMerchant | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 37 | get_new_merchant | null | null | null | null | null | null |
// File: crates/masking/src/diesel.rs
// Module: masking
//! Diesel-related.
use diesel::{
backend::Backend,
deserialize::{self, FromSql, Queryable},
expression::AsExpression,
internal::derives::as_expression::Bound,
serialize::{self, Output, ToSql},
sql_types,
};
use crate::{Secret, Strategy... | crates/masking/src/diesel.rs | masking | full_file | null | null | null | 1,035 | null | null | null | null | null | null | null |
// Function: new
// File: crates/diesel_models/src/invoice.rs
// Module: diesel_models
pub fn new(
subscription_id: common_utils::id_type::SubscriptionId,
merchant_id: common_utils::id_type::MerchantId,
profile_id: common_utils::id_type::ProfileId,
merchant_connector_id: common_utils::i... | crates/diesel_models/src/invoice.rs | diesel_models | function_signature | null | null | null | 154 | new | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/core/mandate.rs
// Module: router
// Public submodules:
pub mod helpers;
pub mod utils;
| crates/router/src/core/mandate.rs | router | module_structure | null | null | null | 34 | null | null | null | null | null | 2 | 0 |
// Struct: OrderDetailsWithAmount
// File: crates/diesel_models/src/types.rs
// Module: diesel_models
// Implementations: 1
// Traits: masking::SerializableSecret
pub struct OrderDetailsWithAmount | crates/diesel_models/src/types.rs | diesel_models | struct_definition | OrderDetailsWithAmount | 1 | [
"masking::SerializableSecret"
] | 46 | null | null | null | null | null | null | null |
// Struct: AirwallexIntentRequest
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AirwallexIntentRequest | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AirwallexIntentRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: payments_update
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_update(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsRequest>,
path: web::Path<common_utils::id_type::PaymentId>,
) -> impl Respon... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 82 | payments_update | null | null | null | null | null | null |
// Implementation: impl Serializer for for PIISerializer
// File: crates/masking/src/serde.rs
// Module: masking
// Methods: 31 total (0 public)
impl Serializer for for PIISerializer | crates/masking/src/serde.rs | masking | impl_block | null | null | null | 45 | null | PIISerializer | Serializer for | 31 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Loonio
// File: crates/hyperswitch_connectors/src/connectors/loonio.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Loonio | crates/hyperswitch_connectors/src/connectors/loonio.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Loonio | ConnectorCommon for | 6 | 0 | null | null |
// Implementation: impl GatewayStatusMap
// File: crates/diesel_models/src/query/gsm.rs
// Module: diesel_models
// Methods: 4 total (0 public)
impl GatewayStatusMap | crates/diesel_models/src/query/gsm.rs | diesel_models | impl_block | null | null | null | 41 | null | GatewayStatusMap | null | 4 | 0 | null | null |
// Struct: OnlineMandate
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
// Implementations: 0
pub struct OnlineMandate | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | struct_definition | OnlineMandate | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: CartDetails
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CartDetails | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | CartDetails | 0 | [] | 46 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs
// Module: analytics
use std::collections::HashSet;
use api_models::{
analytics::{
payment_intents::{
PaymentIntentDimensions, PaymentIntentFilters, PaymentIntentMetricsBucketIdentifier,
}... | crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs | analytics | full_file | null | null | null | 1,097 | null | null | null | null | null | null | null |
// Function: new
// File: crates/external_services/src/file_storage/aws_s3.rs
// Module: external_services
// Documentation: Creates a new AWS S3 file storage client.
pub fn new(config: &AwsFileStorageConfig) -> Self | crates/external_services/src/file_storage/aws_s3.rs | external_services | function_signature | null | null | null | 52 | new | null | null | null | null | null | null |
// Function: perform_redis_lock
// File: crates/router/src/core/webhooks/utils.rs
// Module: router
pub fn perform_redis_lock<A>(
state: &A,
unique_locking_key: &str,
merchant_id: common_utils::id_type::MerchantId,
) -> RouterResult<Option<String>>
where
A: SessionStateInfo, | crates/router/src/core/webhooks/utils.rs | router | function_signature | null | null | null | 75 | perform_redis_lock | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Struct: ErrorDistributionRow
// File: crates/analytics/src/payments/accumulator.rs
// Module: analytics
// Implementations: 0
pub struct ErrorDistributionRow | crates/analytics/src/payments/accumulator.rs | analytics | struct_definition | ErrorDistributionRow | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: BankOfAmericaStandardErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankOfAmericaStandardErrorResponse | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | BankOfAmericaStandardErrorResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: FiservCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservCaptureRequest | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | FiservCaptureRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/euclid/src/types.rs
// Module: euclid
// Public functions: 4
// Public structs: 4
pub mod transformers;
use common_utils::types::MinorUnit;
use euclid_macros::EnumNums;
use serde::{Deserialize, Serialize};
use strum::VariantNames;
use crate::{
dssa::types::EuclidAnalysable,
enums,
fronten... | crates/euclid/src/types.rs | euclid | full_file | null | null | null | 2,956 | null | null | null | null | null | null | null |
// Implementation: impl ActivePaymentsMetricAccumulator for for CountAccumulator
// File: crates/analytics/src/active_payments/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl ActivePaymentsMetricAccumulator for for CountAccumulator | crates/analytics/src/active_payments/accumulator.rs | analytics | impl_block | null | null | null | 59 | null | CountAccumulator | ActivePaymentsMetricAccumulator for | 2 | 0 | null | null |
// Struct: NoonActionOrder
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonActionOrder | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonActionOrder | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: DatatransRouterData
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DatatransRouterData<T> | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | struct_definition | DatatransRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: SubmitEvidenceResponse
// File: crates/hyperswitch_domain_models/src/router_response_types/disputes.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SubmitEvidenceResponse | crates/hyperswitch_domain_models/src/router_response_types/disputes.rs | hyperswitch_domain_models | struct_definition | SubmitEvidenceResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: merchant_account_update
// File: crates/openapi/src/routes/merchant_account.rs
// Module: openapi
pub fn merchant_account_update() | crates/openapi/src/routes/merchant_account.rs | openapi | function_signature | null | null | null | 32 | merchant_account_update | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Checkout
// File: crates/hyperswitch_connectors/src/connectors/checkout.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Checkout | crates/hyperswitch_connectors/src/connectors/checkout.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Checkout | api::PaymentSync for | 0 | 0 | null | null |
// Implementation: impl api::RefundExecute for for Braintree
// File: crates/hyperswitch_connectors/src/connectors/braintree.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Braintree | crates/hyperswitch_connectors/src/connectors/braintree.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Braintree | api::RefundExecute for | 0 | 0 | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for RelayResponse
// File: crates/api_models/src/relay.rs
// Module: api_models
// Methods: 0 total (0 public)
impl common_utils::events::ApiEventMetric for for RelayResponse | crates/api_models/src/relay.rs | api_models | impl_block | null | null | null | 57 | null | RelayResponse | common_utils::events::ApiEventMetric for | 0 | 0 | null | null |
// File: crates/analytics/src/metrics.rs
// Module: analytics
use router_env::{global_meter, histogram_metric_f64, histogram_metric_u64};
global_meter!(GLOBAL_METER, "ROUTER_API");
histogram_metric_f64!(METRIC_FETCH_TIME, GLOBAL_METER);
histogram_metric_u64!(BUCKETS_FETCHED, GLOBAL_METER);
pub mod request;
| crates/analytics/src/metrics.rs | analytics | full_file | null | null | null | 84 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/globalpay.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/globalpay.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Struct: GigadatRouterData
// File: crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GigadatRouterData<T> | crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs | hyperswitch_connectors | struct_definition | GigadatRouterData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: make_pm_graph
// File: crates/router/src/core/payment_methods/utils.rs
// Module: router
pub fn make_pm_graph(
builder: &mut cgraph::ConstraintGraphBuilder<dir::DirValue>,
domain_id: cgraph::DomainId,
payment_methods: &[masking::Secret<serde_json::value::Value>],
connector: String,
pm_... | crates/router/src/core/payment_methods/utils.rs | router | function_signature | null | null | null | 140 | make_pm_graph | null | null | null | null | null | null |
// Implementation: impl FileUpload for for Checkout
// File: crates/hyperswitch_connectors/src/connectors/checkout.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl FileUpload for for Checkout | crates/hyperswitch_connectors/src/connectors/checkout.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Checkout | FileUpload for | 1 | 0 | null | null |
// Struct: DlocalPaymentsCaptureResponse
// File: crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DlocalPaymentsCaptureResponse | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs | hyperswitch_connectors | struct_definition | DlocalPaymentsCaptureResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Authipay
// File: crates/hyperswitch_connectors/src/connectors/authipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Authipay | crates/hyperswitch_connectors/src/connectors/authipay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Authipay | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Trustpay
// File: crates/hyperswitch_connectors/src/connectors/trustpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Trustpay | crates/hyperswitch_connectors/src/connectors/trustpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Trustpay | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl Ebanx
// File: crates/hyperswitch_connectors/src/connectors/ebanx.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Ebanx | crates/hyperswitch_connectors/src/connectors/ebanx.rs | hyperswitch_connectors | impl_block | null | null | null | 49 | null | Ebanx | null | 1 | 1 | null | null |
// Struct: NextFlow
// File: crates/router/src/types/domain/user/decision_manager.rs
// Module: router
// Implementations: 1
pub struct NextFlow | crates/router/src/types/domain/user/decision_manager.rs | router | struct_definition | NextFlow | 1 | [] | 36 | null | null | null | null | null | null | null |
// Struct: ThreeDSDecisionRule
// File: crates/common_types/src/three_ds_decision_rule_engine.rs
// Module: common_types
// Implementations: 2
// Traits: EuclidDirFilter
pub struct ThreeDSDecisionRule | crates/common_types/src/three_ds_decision_rule_engine.rs | common_types | struct_definition | ThreeDSDecisionRule | 2 | [
"EuclidDirFilter"
] | 50 | null | null | null | null | null | null | null |
// Implementation: impl api::revenue_recovery_v2::BillingConnectorPaymentsSyncIntegrationV2 for for Recurly
// File: crates/hyperswitch_connectors/src/connectors/recurly.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::revenue_recovery_v2::BillingConnectorPaymentsSyncIntegrationV2 for for ... | crates/hyperswitch_connectors/src/connectors/recurly.rs | hyperswitch_connectors | impl_block | null | null | null | 82 | null | Recurly | api::revenue_recovery_v2::BillingConnectorPaymentsSyncIntegrationV2 for | 0 | 0 | null | null |
// Struct: CheckoutAuthType
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutAuthType | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutAuthType | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: PaystackPSyncData
// File: crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaystackPSyncData | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs | hyperswitch_connectors | struct_definition | PaystackPSyncData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/fiuu.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/fiuu.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Struct: PaymeRedirectResponseData
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymeRedirectResponseData | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | PaymeRedirectResponseData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: proxy_create_domain_model
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn proxy_create_domain_model(
payment_intent: &super::PaymentIntent,
cell_id: id_type::CellId,
storage_scheme: storage_enums::MerchantStorage... | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 110 | proxy_create_domain_model | null | null | null | null | null | null |
// Struct: CalSuccessRateEventResponse
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct CalSuccessRateEventResponse | crates/api_models/src/routing.rs | api_models | struct_definition | CalSuccessRateEventResponse | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: OrganizationCreateRequest
// File: crates/api_models/src/organization.rs
// Module: api_models
// Implementations: 0
pub struct OrganizationCreateRequest | crates/api_models/src/organization.rs | api_models | struct_definition | OrganizationCreateRequest | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: RoutableConnectorChoice
// File: crates/euclid/src/frontend/ast.rs
// Module: euclid
// Implementations: 0
pub struct RoutableConnectorChoice | crates/euclid/src/frontend/ast.rs | euclid | struct_definition | RoutableConnectorChoice | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: GpayDashboardPayLoad
// File: crates/connector_configs/src/common_config.rs
// Module: connector_configs
// Implementations: 0
pub struct GpayDashboardPayLoad | crates/connector_configs/src/common_config.rs | connector_configs | struct_definition | GpayDashboardPayLoad | 0 | [] | 41 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/itaubank.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::{fmt::Write, sync::LazyLock};
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
use common_enums::enums;
use common_utils::{... | crates/hyperswitch_connectors/src/connectors/itaubank.rs | hyperswitch_connectors | full_file | null | null | null | 6,366 | null | null | null | null | null | null | null |
// Function: get_vault_response_for_retrieve_payment_method_data_v1
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn get_vault_response_for_retrieve_payment_method_data_v1<F>(
router_data: VaultRouterData<F>,
) -> RouterResult<hyperswitch_domain_models::vault::PaymentMethodVaulting... | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 78 | get_vault_response_for_retrieve_payment_method_data_v1 | null | null | null | null | null | null |
// Function: refresh_connector_auth
// File: crates/router/src/core/payouts/access_token.rs
// Module: router
pub fn refresh_connector_auth(
state: &SessionState,
connector: &api_types::ConnectorData,
_merchant_context: &domain::MerchantContext,
router_data: &types::RouterData<
api_types::Acces... | crates/router/src/core/payouts/access_token.rs | router | function_signature | null | null | null | 106 | refresh_connector_auth | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/routing.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/routing.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: FacilitapayPerson
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FacilitapayPerson | crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs | hyperswitch_connectors | struct_definition | FacilitapayPerson | 0 | [] | 53 | 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.