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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// File: crates/api_models/src/errors/actix.rs
// Module: api_models
use super::types::ApiErrorResponse;
impl actix_web::ResponseError for ApiErrorResponse {
fn status_code(&self) -> reqwest::StatusCode {
use reqwest::StatusCode;
match self {
Self::Unauthorized(_) => StatusCode::UNAUT... | crates/api_models/src/errors/actix.rs | api_models | full_file | null | null | null | 286 | null | null | null | null | null | null | null |
// Function: fetch_merchant_id_payment_method_id_customer_id_from_callback_mapper
// File: crates/router/src/core/webhooks/network_tokenization_incoming.rs
// Module: router
pub fn fetch_merchant_id_payment_method_id_customer_id_from_callback_mapper(
&self,
state: &SessionState,
) -> RouterResult<(... | crates/router/src/core/webhooks/network_tokenization_incoming.rs | router | function_signature | null | null | null | 82 | fetch_merchant_id_payment_method_id_customer_id_from_callback_mapper | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Paystack
// File: crates/hyperswitch_connectors/src/connectors/paystack.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Paystack | crates/hyperswitch_connectors/src/connectors/paystack.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paystack | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl TenantId
// File: crates/common_utils/src/id_type/tenant.rs
// Module: common_utils
// Methods: 2 total (2 public)
impl TenantId | crates/common_utils/src/id_type/tenant.rs | common_utils | impl_block | null | null | null | 39 | null | TenantId | null | 2 | 2 | null | null |
// Function: is_signature_network
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_signature_network(&self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 36 | is_signature_network | null | null | null | null | null | null |
// Module Structure
// File: crates/scheduler/src/settings.rs
// Module: scheduler
// Public exports:
pub use crate::configs::settings::SchedulerSettings;
| crates/scheduler/src/settings.rs | scheduler | module_structure | null | null | null | 34 | null | null | null | null | null | 0 | 1 |
// Function: get_authorization_info_with_group_tag
// File: crates/router/src/core/user_role.rs
// Module: router
pub fn get_authorization_info_with_group_tag(
) -> UserResponse<user_role_api::AuthorizationInfoResponse> | crates/router/src/core/user_role.rs | router | function_signature | null | null | null | 50 | get_authorization_info_with_group_tag | null | null | null | null | null | null |
// Implementation: impl FrmMetricAccumulator for for TriggeredAttemptsAccumulator
// File: crates/analytics/src/frm/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl FrmMetricAccumulator for for TriggeredAttemptsAccumulator | crates/analytics/src/frm/accumulator.rs | analytics | impl_block | null | null | null | 60 | null | TriggeredAttemptsAccumulator | FrmMetricAccumulator for | 2 | 0 | null | null |
// Struct: FormattingLayer
// File: crates/router_env/src/logger/formatter.rs
// Module: router_env
// Implementations: 1
pub struct FormattingLayer<W, F> | crates/router_env/src/logger/formatter.rs | router_env | struct_definition | FormattingLayer | 1 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Amazonpay
// File: crates/hyperswitch_connectors/src/connectors/amazonpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Amazonpay | crates/hyperswitch_connectors/src/connectors/amazonpay.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Amazonpay | api::MandateSetup for | 0 | 0 | null | null |
// Struct: InespayRouterData
// File: crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct InespayRouterData<T> | crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs | hyperswitch_connectors | struct_definition | InespayRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: CheckoutResponse
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutResponse | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Stax
// File: crates/hyperswitch_connectors/src/connectors/stax.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Stax | crates/hyperswitch_connectors/src/connectors/stax.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Stax | api::Payment for | 0 | 0 | null | null |
// Implementation: impl api::subscriptions::Subscriptions for for Chargebee
// File: crates/hyperswitch_connectors/src/connectors/chargebee.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::subscriptions::Subscriptions for for Chargebee | crates/hyperswitch_connectors/src/connectors/chargebee.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Chargebee | api::subscriptions::Subscriptions for | 0 | 0 | null | null |
// Struct: ChargebeeTransactionData
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeTransactionData | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeTransactionData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: MerchantAcceptorResolver
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantAcceptorResolver | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | MerchantAcceptorResolver | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: get_three_ds_account_id
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
pub fn get_three_ds_account_id(
&self,
currency: Currency,
) -> Result<Secret<String>, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 68 | get_three_ds_account_id | null | null | null | null | null | null |
// Implementation: impl RoutingApproach
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (1 public)
impl RoutingApproach | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 39 | null | RoutingApproach | null | 1 | 1 | null | null |
// Implementation: impl KafkaPaymentIntentEvent
// File: crates/router/src/services/kafka/payment_intent_event.rs
// Module: router
// Methods: 1 total (1 public)
impl KafkaPaymentIntentEvent | crates/router/src/services/kafka/payment_intent_event.rs | router | impl_block | null | null | null | 43 | null | KafkaPaymentIntentEvent | null | 1 | 1 | null | null |
// Struct: NameIdUnit
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct NameIdUnit<N: Debug + Clone, I: Debug + Clone> | crates/api_models/src/user.rs | api_models | struct_definition | NameIdUnit | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: CeleroAddressResponse
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CeleroAddressResponse | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | struct_definition | CeleroAddressResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/phonepe.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Request, RequestBuilder, RequestCo... | crates/hyperswitch_connectors/src/connectors/phonepe.rs | hyperswitch_connectors | full_file | null | null | null | 4,866 | null | null | null | null | null | null | null |
// Function: refunds_update
// File: crates/router/src/routes/refunds.rs
// Module: router
pub fn refunds_update(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<refunds::RefundUpdateRequest>,
path: web::Path<String>,
) -> HttpResponse | crates/router/src/routes/refunds.rs | router | function_signature | null | null | null | 68 | refunds_update | null | null | null | null | null | null |
// Struct: BlackhawknetworkAuthType
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BlackhawknetworkAuthType | crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs | hyperswitch_connectors | struct_definition | BlackhawknetworkAuthType | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: ConnectorTokenReferenceRecord
// File: crates/hyperswitch_domain_models/src/mandates.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ConnectorTokenReferenceRecord | crates/hyperswitch_domain_models/src/mandates.rs | hyperswitch_domain_models | struct_definition | ConnectorTokenReferenceRecord | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: get_order_tax_amount
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_order_tax_amount(&self) -> Option<MinorUnit> | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 48 | get_order_tax_amount | null | null | null | null | null | null |
// Function: get_user_id
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_user_id(&self) -> String | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 33 | get_user_id | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Mpgs
// File: crates/hyperswitch_connectors/src/connectors/mpgs.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Mpgs | crates/hyperswitch_connectors/src/connectors/mpgs.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Mpgs | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: AirwallexWebhookObjectResource
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AirwallexWebhookObjectResource | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AirwallexWebhookObjectResource | 0 | [] | 57 | null | null | null | null | null | null | null |
// Function: toggle_elimination_routing
// File: crates/openapi/src/routes/routing.rs
// Module: openapi
pub fn toggle_elimination_routing() | crates/openapi/src/routes/routing.rs | openapi | function_signature | null | null | null | 33 | toggle_elimination_routing | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Paytm
// File: crates/hyperswitch_connectors/src/connectors/paytm.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Paytm | crates/hyperswitch_connectors/src/connectors/paytm.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Paytm | api::Payment for | 0 | 0 | null | null |
// Struct: BamboraapacSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BamboraapacSyncResponse | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | BamboraapacSyncResponse | 0 | [] | 58 | null | null | null | null | null | null | null |
// Struct: BlackhawknetworkTokenResponse
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BlackhawknetworkTokenResponse | crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs | hyperswitch_connectors | struct_definition | BlackhawknetworkTokenResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl SerializableSecret for for u16
// File: crates/masking/src/serde.rs
// Module: masking
// Methods: 0 total (0 public)
impl SerializableSecret for for u16 | crates/masking/src/serde.rs | masking | impl_block | null | null | null | 46 | null | u16 | SerializableSecret for | 0 | 0 | null | null |
// Function: connector_retrieve
// File: crates/router/src/routes/admin.rs
// Module: router
pub fn connector_retrieve(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<(
common_utils::id_type::MerchantId,
common_utils::id_type::MerchantConnectorAccountId,
) | crates/router/src/routes/admin.rs | router | function_signature | null | null | null | 73 | connector_retrieve | null | null | null | null | null | null |
// Struct: PaymentFacilitator
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentFacilitator | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | struct_definition | PaymentFacilitator | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Klarna
// File: crates/hyperswitch_connectors/src/connectors/klarna.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Klarna | crates/hyperswitch_connectors/src/connectors/klarna.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Klarna | ConnectorCommon for | 6 | 0 | null | null |
// Struct: FiservRouterData
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservRouterData<T> | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | FiservRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
// File: crates/router/src/db/dashboard_metadata.rs
// Module: router
use common_utils::id_type;
use diesel_models::{enums, user::dashboard_metadata as storage};
use error_stack::{report, ResultExt};
use router_env::{instrument, tracing};
use storage_impl::MockDb;
use crate::{
connection,
core::errors::{self,... | crates/router/src/db/dashboard_metadata.rs | router | full_file | null | null | null | 2,693 | null | null | null | null | null | null | null |
// Implementation: impl HyperswitchAiInteraction
// File: crates/diesel_models/src/query/hyperswitch_ai_interaction.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl HyperswitchAiInteraction | crates/diesel_models/src/query/hyperswitch_ai_interaction.rs | diesel_models | impl_block | null | null | null | 49 | null | HyperswitchAiInteraction | null | 1 | 0 | null | null |
// Struct: BackfillQuery
// File: crates/api_models/src/revenue_recovery_data_backfill.rs
// Module: api_models
// Implementations: 0
pub struct BackfillQuery | crates/api_models/src/revenue_recovery_data_backfill.rs | api_models | struct_definition | BackfillQuery | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl MaskedHeaders
// File: crates/api_models/src/admin.rs
// Module: api_models
// Methods: 2 total (1 public)
impl MaskedHeaders | crates/api_models/src/admin.rs | api_models | impl_block | null | null | null | 38 | null | MaskedHeaders | null | 2 | 1 | null | null |
// Struct: PaymentLink
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentLink | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | PaymentLink | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Novalnet
// File: crates/hyperswitch_connectors/src/connectors/novalnet.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Novalnet | crates/hyperswitch_connectors/src/connectors/novalnet.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Novalnet | ConnectorCommon for | 6 | 0 | null | null |
// Struct: ApplePayData
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayData | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl Iatapay
// File: crates/hyperswitch_connectors/src/connectors/iatapay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Iatapay | crates/hyperswitch_connectors/src/connectors/iatapay.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Iatapay | null | 1 | 1 | null | null |
// Implementation: impl Profile
// File: crates/diesel_models/src/query/business_profile.rs
// Module: diesel_models
// Methods: 6 total (0 public)
impl Profile | crates/diesel_models/src/query/business_profile.rs | diesel_models | impl_block | null | null | null | 37 | null | Profile | null | 6 | 0 | null | null |
// Struct: PeachpaymentsErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PeachpaymentsErrorResponse | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | struct_definition | PeachpaymentsErrorResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: DisputeMetricsAccumulator
// File: crates/analytics/src/disputes/accumulators.rs
// Module: analytics
// Implementations: 1
pub struct DisputeMetricsAccumulator | crates/analytics/src/disputes/accumulators.rs | analytics | struct_definition | DisputeMetricsAccumulator | 1 | [] | 45 | null | null | null | null | null | null | null |
// Function: create_invoice_entry
// File: crates/router/src/core/subscription.rs
// Module: router
pub fn create_invoice_entry(
self,
state: &SessionState,
merchant_connector_id: common_utils::id_type::MerchantConnectorAccountId,
payment_intent_id: Option<common_utils::id_type::Payment... | crates/router/src/core/subscription.rs | router | function_signature | null | null | null | 141 | create_invoice_entry | null | null | null | null | null | null |
// Function: payment_get_intent_using_merchant_reference_id
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payment_get_intent_using_merchant_reference_id(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
path: web::Path<common_utils::id_type::PaymentReferenceId>,
) -> i... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 81 | payment_get_intent_using_merchant_reference_id | null | null | null | null | null | null |
// Implementation: impl NextFlow
// File: crates/router/src/types/domain/user/decision_manager.rs
// Module: router
// Methods: 5 total (1 public)
impl NextFlow | crates/router/src/types/domain/user/decision_manager.rs | router | impl_block | null | null | null | 39 | null | NextFlow | null | 5 | 1 | null | null |
// Struct: MerchantAccountId
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantAccountId | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | MerchantAccountId | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Noon
// File: crates/hyperswitch_connectors/src/connectors/noon.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Noon | crates/hyperswitch_connectors/src/connectors/noon.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Noon | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl api::PaymentToken for for Razorpay
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Razorpay | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Razorpay | api::PaymentToken for | 0 | 0 | null | null |
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
// Public functions: 9
// Public structs: 4
use std::{fmt::Debug, sync::Arc};
use common_enums::enums::MerchantStorageScheme;
use common_utils::{fallback_reverse_lookup_not_found, types::keymanager::KeyManagerState};
use diesel_models::{error... | crates/storage_impl/src/kv_router_store.rs | storage_impl | full_file | null | null | null | 3,943 | null | null | null | null | null | null | null |
// Function: refund_metadata_update_core
// File: crates/router/src/core/refunds_v2.rs
// Module: router
pub fn refund_metadata_update_core(
state: SessionState,
merchant_account: domain::MerchantAccount,
req: refunds::RefundMetadataUpdateRequest,
global_refund_id: id_type::GlobalRefundId,
) -> errors:... | crates/router/src/core/refunds_v2.rs | router | function_signature | null | null | null | 87 | refund_metadata_update_core | null | null | null | null | null | null |
// Function: get_payment_body
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
pub fn get_payment_body(
req: &BamboraapacRouterData<&types::PaymentsAuthorizeRouterData>,
) -> Result<Vec<u8>, Error> | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 72 | get_payment_body | null | null | null | null | null | null |
// Function: set_three_d_s_cres
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
pub fn set_three_d_s_cres(mut self, cres: String) -> Self | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 55 | set_three_d_s_cres | null | null | null | null | null | null |
// Struct: AdditionalData
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdditionalData | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | AdditionalData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: validate_for_valid_refunds
// File: crates/router/src/core/utils/refunds_validator.rs
// Module: router
pub fn validate_for_valid_refunds(
payment_attempt: &hyperswitch_domain_models::payments::payment_attempt::PaymentAttempt,
connector: api_models::enums::Connector,
) -> RouterResult<()> | crates/router/src/core/utils/refunds_validator.rs | router | function_signature | null | null | null | 69 | validate_for_valid_refunds | null | null | null | null | null | null |
// File: crates/router_env/src/logger/storage.rs
// Module: router_env
// Public functions: 2
// Public structs: 2
//! Storing [layer](https://docs.rs/tracing-subscriber/0.3.15/tracing_subscriber/layer/trait.Layer.html) for Router.
use std::{collections::HashMap, fmt, time::Instant};
use tracing::{
field::{Field... | crates/router_env/src/logger/storage.rs | router_env | full_file | null | null | null | 1,401 | null | null | null | null | null | null | null |
// Function: payments_start_redirection
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_start_redirection(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
payload: web::Query<api_models::payments::PaymentStartRedirectionParams>,
path: web::Path<common_utils... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 91 | payments_start_redirection | null | null | null | null | null | null |
// Implementation: impl Deref for for RequestExtendedAuthorizationBool
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Methods: 1 total (0 public)
impl Deref for for RequestExtendedAuthorizationBool | crates/common_types/src/primitive_wrappers.rs | common_types | impl_block | null | null | null | 51 | null | RequestExtendedAuthorizationBool | Deref for | 1 | 0 | null | null |
// Struct: UpdateContractEventResponse
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct UpdateContractEventResponse | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | UpdateContractEventResponse | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Function: get_filters
// File: crates/analytics/src/payments/core.rs
// Module: analytics
pub fn get_filters(
pool: &AnalyticsProvider,
req: GetPaymentFiltersRequest,
auth: &AuthInfo,
) -> AnalyticsResult<PaymentFiltersResponse> | crates/analytics/src/payments/core.rs | analytics | function_signature | null | null | null | 59 | get_filters | null | null | null | null | null | null |
// Struct: JCSVoucherData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct JCSVoucherData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | JCSVoucherData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: GooglePayPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GooglePayPaymentInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | GooglePayPaymentInformation | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: get_metrics
// File: crates/analytics/src/frm/core.rs
// Module: analytics
pub fn get_metrics(
pool: &AnalyticsProvider,
merchant_id: &common_utils::id_type::MerchantId,
req: GetFrmMetricRequest,
) -> AnalyticsResult<MetricsResponse<FrmMetricsBucketResponse>> | crates/analytics/src/frm/core.rs | analytics | function_signature | null | null | null | 71 | get_metrics | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Gpayments
// File: crates/hyperswitch_connectors/src/connectors/gpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Gpayments | crates/hyperswitch_connectors/src/connectors/gpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Gpayments | api::Refund for | 0 | 0 | null | null |
// Struct: RecurlyWebhookBody
// File: crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct RecurlyWebhookBody | crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs | hyperswitch_connectors | struct_definition | RecurlyWebhookBody | 1 | [] | 54 | null | null | null | null | null | null | null |
// Struct: ApplePayTokenizedCard
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayTokenizedCard | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayTokenizedCard | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl Deref for for NewUserPassword
// File: crates/router/src/types/domain/user.rs
// Module: router
// Methods: 1 total (0 public)
impl Deref for for NewUserPassword | crates/router/src/types/domain/user.rs | router | impl_block | null | null | null | 46 | null | NewUserPassword | Deref for | 1 | 0 | null | null |
// Struct: ConnectorTokenDetails
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct ConnectorTokenDetails | crates/api_models/src/payment_methods.rs | api_models | struct_definition | ConnectorTokenDetails | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Finix
// File: crates/hyperswitch_connectors/src/connectors/finix.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Finix | crates/hyperswitch_connectors/src/connectors/finix.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Finix | api::RefundSync for | 0 | 0 | null | null |
// Struct: PlaidRecipientCreateRequest
// File: crates/pm_auth/src/connector/plaid/transformers.rs
// Module: pm_auth
// Implementations: 0
pub struct PlaidRecipientCreateRequest | crates/pm_auth/src/connector/plaid/transformers.rs | pm_auth | struct_definition | PlaidRecipientCreateRequest | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: get_surcharge_results_size
// File: crates/router/src/core/payments/types.rs
// Module: router
pub fn get_surcharge_results_size(&self) -> usize | crates/router/src/core/payments/types.rs | router | function_signature | null | null | null | 38 | get_surcharge_results_size | null | null | null | null | null | null |
// File: crates/diesel_models/src/authorization.rs
// Module: diesel_models
// Public functions: 1
// Public structs: 3
use common_utils::types::MinorUnit;
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use serde::{Deserialize, Serialize};
use time::PrimitiveDateTime;
use crate::{enums as... | crates/diesel_models/src/authorization.rs | diesel_models | full_file | null | null | null | 774 | null | null | null | null | null | null | null |
// File: crates/router/src/core/unified_connector_service.rs
// Module: router
// Public functions: 15
use std::{str::FromStr, time::Instant};
use api_models::admin;
#[cfg(feature = "v2")]
use base64::Engine;
use common_enums::{connector_enums::Connector, AttemptStatus, GatewaySystem, PaymentMethodType};
#[cfg(featur... | crates/router/src/core/unified_connector_service.rs | router | full_file | null | null | null | 7,365 | null | null | null | null | null | null | null |
// Struct: AuthenticationDetails
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct AuthenticationDetails | crates/api_models/src/payment_methods.rs | api_models | struct_definition | AuthenticationDetails | 0 | [] | 34 | null | null | null | null | null | null | null |
// Implementation: impl CaptureNew
// File: crates/diesel_models/src/query/capture.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl CaptureNew | crates/diesel_models/src/query/capture.rs | diesel_models | impl_block | null | null | null | 39 | null | CaptureNew | null | 1 | 0 | null | null |
// Struct: MomoRedirection
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct MomoRedirection | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | MomoRedirection | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/hyperwallet.rs
// Module: router
use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData};
use masking::Secret;
use router::types::{self, api, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy... | crates/router/tests/connectors/hyperwallet.rs | router | full_file | null | null | null | 2,932 | null | null | null | null | null | null | null |
// Implementation: impl EncryptedJsonType
// File: crates/hyperswitch_domain_models/src/type_encryption.rs
// Module: hyperswitch_domain_models
// Methods: 2 total (2 public)
impl EncryptedJsonType | crates/hyperswitch_domain_models/src/type_encryption.rs | hyperswitch_domain_models | impl_block | null | null | null | 48 | null | EncryptedJsonType | null | 2 | 2 | null | null |
// Struct: CreditorBank
// File: crates/hyperswitch_connectors/src/connectors/nordea/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CreditorBank | crates/hyperswitch_connectors/src/connectors/nordea/requests.rs | hyperswitch_connectors | struct_definition | CreditorBank | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: build_webhook_transform_request
// File: crates/router/src/core/unified_connector_service/transformers.rs
// Module: router
// Documentation: Build UCS webhook transform request from webhook components
pub fn build_webhook_transform_request(
_webhook_body: &[u8],
request_details: &hyperswitch_int... | crates/router/src/core/unified_connector_service/transformers.rs | router | function_signature | null | null | null | 131 | build_webhook_transform_request | null | null | null | null | null | null |
// Function: convert_connector_service_status_code
// File: crates/router/src/core/unified_connector_service/transformers.rs
// Module: router
pub fn convert_connector_service_status_code(
status_code: u32,
) -> Result<u16, error_stack::Report<UnifiedConnectorServiceError>> | crates/router/src/core/unified_connector_service/transformers.rs | router | function_signature | null | null | null | 63 | convert_connector_service_status_code | null | null | null | null | null | null |
// Function: organization_create
// File: crates/openapi/src/routes/organization.rs
// Module: openapi
pub fn organization_create() | crates/openapi/src/routes/organization.rs | openapi | function_signature | null | null | null | 29 | organization_create | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Nordea
// File: crates/hyperswitch_connectors/src/connectors/nordea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Nordea | crates/hyperswitch_connectors/src/connectors/nordea.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Nordea | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: routing_update_default_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn routing_update_default_config(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::ProfileId>,
json_payload: web::Json<Vec<routing_types::RoutableConnectorCh... | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 84 | routing_update_default_config | null | null | null | null | null | null |
// Implementation: impl StrongEq for for String
// File: crates/masking/src/strong_secret.rs
// Module: masking
// Methods: 1 total (0 public)
impl StrongEq for for String | crates/masking/src/strong_secret.rs | masking | impl_block | null | null | null | 43 | null | String | StrongEq for | 1 | 0 | null | null |
// Function: get_entity_id_and_type
// File: crates/diesel_models/src/user_role.rs
// Module: diesel_models
pub fn get_entity_id_and_type(&self) -> Option<(String, EntityType)> | crates/diesel_models/src/user_role.rs | diesel_models | function_signature | null | null | null | 44 | get_entity_id_and_type | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Mpgs
// File: crates/hyperswitch_connectors/src/connectors/mpgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Mpgs | crates/hyperswitch_connectors/src/connectors/mpgs.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Mpgs | api::MandateSetup for | 0 | 0 | null | null |
// Struct: RequiredFieldsOverrideRequest
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct RequiredFieldsOverrideRequest | crates/api_models/src/payouts.rs | api_models | struct_definition | RequiredFieldsOverrideRequest | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: DirectChargeRefund
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct DirectChargeRefund | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | DirectChargeRefund | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: refund_list
// File: crates/router/src/core/refunds.rs
// Module: router
pub fn refund_list(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id_list: Option<Vec<common_utils::id_type::ProfileId>>,
req: api_models::refunds::RefundListRequest,
) -> RouterResponse<api_... | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 89 | refund_list | null | null | null | null | null | null |
// Implementation: impl EventInfo for for AuditEvent
// File: crates/router/src/events/audit_events.rs
// Module: router
// Methods: 2 total (0 public)
impl EventInfo for for AuditEvent | crates/router/src/events/audit_events.rs | router | impl_block | null | null | null | 45 | null | AuditEvent | EventInfo for | 2 | 0 | null | null |
// Implementation: impl Checkbook
// File: crates/hyperswitch_connectors/src/connectors/checkbook.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Checkbook | crates/hyperswitch_connectors/src/connectors/checkbook.rs | hyperswitch_connectors | impl_block | null | null | null | 45 | null | Checkbook | null | 1 | 1 | null | null |
// Implementation: impl Cashtocode
// File: crates/hyperswitch_connectors/src/connectors/cashtocode.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Cashtocode | crates/hyperswitch_connectors/src/connectors/cashtocode.rs | hyperswitch_connectors | impl_block | null | null | null | 49 | null | Cashtocode | null | 1 | 1 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.