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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Implementation: impl api::PaymentSync for for Globepay
// File: crates/hyperswitch_connectors/src/connectors/globepay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Globepay | crates/hyperswitch_connectors/src/connectors/globepay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Globepay | api::PaymentSync for | 0 | 0 | null | null |
// Struct: MandateAmountData
// File: crates/diesel_models/src/enums.rs
// Module: diesel_models
// Implementations: 0
pub struct MandateAmountData | crates/diesel_models/src/enums.rs | diesel_models | struct_definition | MandateAmountData | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: GenerateNetworkTokenResponsePayload
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct GenerateNetworkTokenResponsePayload | crates/router/src/types/payment_methods.rs | router | struct_definition | GenerateNetworkTokenResponsePayload | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl IncomingWebhook for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Paypal | IncomingWebhook for | 4 | 0 | null | null |
// Function: get_theme_using_theme_id
// File: crates/router/src/core/user/theme.rs
// Module: router
pub fn get_theme_using_theme_id(
state: SessionState,
theme_id: String,
) -> UserResponse<theme_api::GetThemeResponse> | crates/router/src/core/user/theme.rs | router | function_signature | null | null | null | 57 | get_theme_using_theme_id | null | null | null | null | null | null |
// Struct: NewUserOrganization
// File: crates/router/src/types/domain/user.rs
// Module: router
// Implementations: 1
pub struct NewUserOrganization | crates/router/src/types/domain/user.rs | router | struct_definition | NewUserOrganization | 1 | [] | 35 | null | null | null | null | null | null | null |
// Struct: PaymeRouterData
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymeRouterData<T> | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | PaymeRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl PMAuthConfigValidation
// File: crates/router/src/core/admin.rs
// Module: router
// Methods: 2 total (0 public)
impl PMAuthConfigValidation | crates/router/src/core/admin.rs | router | impl_block | null | null | null | 41 | null | PMAuthConfigValidation | null | 2 | 0 | null | null |
// Struct: DynamicRoutingConfigParamsInterpolator
// File: crates/router/src/core/routing/helpers.rs
// Module: router
// Implementations: 1
pub struct DynamicRoutingConfigParamsInterpolator | crates/router/src/core/routing/helpers.rs | router | struct_definition | DynamicRoutingConfigParamsInterpolator | 1 | [] | 40 | null | null | null | null | null | null | null |
// Struct: DeutschebankThreeDSCompleteAuthorizeRequest
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankThreeDSCompleteAuthorizeRequest | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankThreeDSCompleteAuthorizeRequest | 0 | [] | 56 | null | null | null | null | null | null | null |
// Struct: ReturnLink
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ReturnLink | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | ReturnLink | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: update_gateway_score_open_router
// File: crates/router/src/core/routing.rs
// Module: router
pub fn update_gateway_score_open_router(
state: SessionState,
req_body: UpdateScorePayload,
) -> RouterResponse<UpdateScoreResponse> | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 56 | update_gateway_score_open_router | null | null | null | null | null | null |
// Function: authorization_attempt_status_from_transaction_state
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
pub fn authorization_attempt_status_from_transaction_state(
getnet_status: GetnetPaymentStatus,
is_auto_capture: bool,
) -> AttemptStat... | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 68 | authorization_attempt_status_from_transaction_state | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Gocardless
// File: crates/hyperswitch_connectors/src/connectors/gocardless.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Gocardless | crates/hyperswitch_connectors/src/connectors/gocardless.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Gocardless | ConnectorCommon for | 6 | 0 | null | null |
// Struct: GooglePayWalletData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GooglePayWalletData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | GooglePayWalletData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl SuccessBasedAlgorithm
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (1 public)
impl SuccessBasedAlgorithm | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 39 | null | SuccessBasedAlgorithm | null | 1 | 1 | null | null |
// Struct: CryptopayErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CryptopayErrorResponse | crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs | hyperswitch_connectors | struct_definition | CryptopayErrorResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Coinbase
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Coinbase | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | impl_block | null | null | null | 52 | null | Coinbase | ConnectorCommon for | 5 | 0 | null | null |
// Struct: SupportedPaymentMethodsForMandate
// File: crates/payment_methods/src/configs/settings.rs
// Module: payment_methods
// Implementations: 0
pub struct SupportedPaymentMethodsForMandate | crates/payment_methods/src/configs/settings.rs | payment_methods | struct_definition | SupportedPaymentMethodsForMandate | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: AuthReversalResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthReversalResponse | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | AuthReversalResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl RelayRequestInner
// File: crates/router/src/core/relay.rs
// Module: router
// Methods: 1 total (1 public)
impl RelayRequestInner | crates/router/src/core/relay.rs | router | impl_block | null | null | null | 38 | null | RelayRequestInner | null | 1 | 1 | null | null |
// Struct: AddressUpdateMems
// File: crates/diesel_models/src/kv.rs
// Module: diesel_models
// Implementations: 0
pub struct AddressUpdateMems | crates/diesel_models/src/kv.rs | diesel_models | struct_definition | AddressUpdateMems | 0 | [] | 39 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/services.rs
// Module: router
// Public submodules:
pub mod api;
pub mod authentication;
pub mod authorization;
pub mod connector_integration_interface;
pub mod email;
pub mod encryption;
pub mod jwt;
pub mod kafka;
pub mod logger;
pub mod pm_auth;
pub mod card_testing_gu... | crates/router/src/services.rs | router | module_structure | null | null | null | 122 | null | null | null | null | null | 12 | 2 |
// Struct: SurchargeDecisionManagerRecord
// File: crates/api_models/src/surcharge_decision_configs.rs
// Module: api_models
// Implementations: 1
// Traits: events::ApiEventMetric
pub struct SurchargeDecisionManagerRecord | crates/api_models/src/surcharge_decision_configs.rs | api_models | struct_definition | SurchargeDecisionManagerRecord | 1 | [
"events::ApiEventMetric"
] | 52 | null | null | null | null | null | null | null |
// Struct: MbWayRedirection
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct MbWayRedirection | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | MbWayRedirection | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Facilitapay
// File: crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Facilitapay | crates/hyperswitch_connectors/src/connectors/facilitapay.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Facilitapay | api::ConnectorAccessToken for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 15
use std::collections::HashMap;
use common_enums::enums;
use common_utils::{
consts::{PROPHETPAY_REDIRECT_URL, PROPHETPAY_TOKEN},
errors::CustomResult,
request::Method,
}... | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 5,093 | null | null | null | null | null | null | null |
// Function: decode_jwt
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn decode_jwt<T>(token: &str, state: &impl SessionStateInfo) -> RouterResult<T>
where
T: serde::de::DeserializeOwned, | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 57 | decode_jwt | null | null | null | null | null | null |
// Implementation: impl Opennode
// File: crates/hyperswitch_connectors/src/connectors/opennode.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Opennode | crates/hyperswitch_connectors/src/connectors/opennode.rs | hyperswitch_connectors | impl_block | null | null | null | 47 | null | Opennode | null | 1 | 1 | null | null |
// Function: payment_setup_mandate
// File: crates/external_services/src/grpc_client/unified_connector_service.rs
// Module: external_services
// Documentation: Performs Payment Setup Mandate
pub fn payment_setup_mandate(
&self,
payment_register_request: payments_grpc::PaymentServiceRegisterRequest,
... | crates/external_services/src/grpc_client/unified_connector_service.rs | external_services | function_signature | null | null | null | 108 | payment_setup_mandate | null | null | null | null | null | null |
// Struct: DummyConnectorRouterData
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DummyConnectorRouterData<T> | crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs | hyperswitch_connectors | struct_definition | DummyConnectorRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl Connector
// File: crates/common_enums/src/connector_enums.rs
// Module: common_enums
// Methods: 17 total (17 public)
impl Connector | crates/common_enums/src/connector_enums.rs | common_enums | impl_block | null | null | null | 41 | null | Connector | null | 17 | 17 | null | null |
// Implementation: impl ToTokens for for DieselEnumMeta
// File: crates/router_derive/src/macros/diesel.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl ToTokens for for DieselEnumMeta | crates/router_derive/src/macros/diesel.rs | router_derive | impl_block | null | null | null | 51 | null | DieselEnumMeta | ToTokens for | 1 | 0 | null | null |
// File: crates/test_utils/tests/connectors/globalpay_ui.rs
// Module: test_utils
use serial_test::serial;
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct GlobalpaySeleniumTest;
impl SeleniumTest for GlobalpaySeleniumTest {
fn get_connector_name(&self) -> String {
"glob... | crates/test_utils/tests/connectors/globalpay_ui.rs | test_utils | full_file | null | null | null | 1,725 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Fiuu
// File: crates/hyperswitch_connectors/src/connectors/fiuu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Fiuu | crates/hyperswitch_connectors/src/connectors/fiuu.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Fiuu | api::RefundSync for | 0 | 0 | null | null |
// Function: insert
// File: crates/diesel_models/src/query/mandate.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<Mandate> | crates/diesel_models/src/query/mandate.rs | diesel_models | function_signature | null | null | null | 45 | insert | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/routes/app.rs
// Module: router
pub fn new(
conf: settings::Settings<SecuredSecret>,
shut_down_signal: oneshot::Sender<() | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 47 | new | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Boku
// File: crates/hyperswitch_connectors/src/connectors/boku.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Boku | crates/hyperswitch_connectors/src/connectors/boku.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Boku | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Moneris
// File: crates/hyperswitch_connectors/src/connectors/moneris.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Moneris | crates/hyperswitch_connectors/src/connectors/moneris.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Moneris | ConnectorValidation for | 1 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/powertranz.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/powertranz.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// File: crates/masking/src/boxed.rs
// Module: masking
//! `Box` types containing secrets
//!
//! There is not alias type by design.
#[cfg(feature = "serde")]
use super::{SerializableSecret, Serialize};
#[cfg(feature = "serde")]
impl<S: Serialize> SerializableSecret for Box<S> {}
| crates/masking/src/boxed.rs | masking | full_file | null | null | null | 68 | null | null | null | null | null | null | null |
// Implementation: impl NoonOrderNvp
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl NoonOrderNvp | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 52 | null | NoonOrderNvp | null | 1 | 1 | null | null |
// Implementation: impl DynamicRoutingAlgoAccessor for for EliminationRoutingAlgorithm
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 2 total (0 public)
impl DynamicRoutingAlgoAccessor for for EliminationRoutingAlgorithm | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 55 | null | EliminationRoutingAlgorithm | DynamicRoutingAlgoAccessor for | 2 | 0 | null | null |
// File: crates/diesel_models/src/query/hyperswitch_ai_interaction.rs
// Module: diesel_models
// Public functions: 2
use diesel::{associations::HasTable, ExpressionMethods};
use crate::{
hyperswitch_ai_interaction::{HyperswitchAiInteraction, HyperswitchAiInteractionNew},
query::generics,
schema::hyperswi... | crates/diesel_models/src/query/hyperswitch_ai_interaction.rs | diesel_models | full_file | null | null | null | 265 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsCompleteAuthorize for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsCompleteAuthorize for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Cybersource | api::PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// Function: toggle_blocklist_guard_for_merchant
// File: crates/router/src/core/blocklist/utils.rs
// Module: router
pub fn toggle_blocklist_guard_for_merchant(
state: &SessionState,
merchant_id: &common_utils::id_type::MerchantId,
query: api_blocklist::ToggleBlocklistQuery,
) -> CustomResult<api_blocklis... | crates/router/src/core/blocklist/utils.rs | router | function_signature | null | null | null | 90 | toggle_blocklist_guard_for_merchant | null | null | null | null | null | null |
// File: crates/router/src/types/connector_transformers.rs
// Module: router
use api_models::enums as api_enums;
use super::ForeignTryFrom;
impl ForeignTryFrom<api_enums::Connector> for common_enums::RoutableConnectors {
type Error = error_stack::Report<common_utils::errors::ValidationError>;
fn foreign_try... | crates/router/src/types/connector_transformers.rs | router | full_file | null | null | null | 2,797 | null | null | null | null | null | null | null |
// Implementation: impl ApplicationResponse
// File: crates/hyperswitch_domain_models/src/api.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl ApplicationResponse | crates/hyperswitch_domain_models/src/api.rs | hyperswitch_domain_models | impl_block | null | null | null | 42 | null | ApplicationResponse | null | 1 | 1 | null | null |
// Implementation: impl ErrorCategory
// File: crates/common_enums/src/enums.rs
// Module: common_enums
// Methods: 1 total (1 public)
impl ErrorCategory | crates/common_enums/src/enums.rs | common_enums | impl_block | null | null | null | 39 | null | ErrorCategory | null | 1 | 1 | null | null |
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
// Public functions: 17
// Public structs: 6
use std::borrow::Cow;
use common_enums::enums as api_enums;
use common_types::{domain::AcquirerConfig, primitive_wrappers};
use common_utils::{
crypto::{OptionalEncry... | crates/hyperswitch_domain_models/src/business_profile.rs#chunk0 | hyperswitch_domain_models | chunk | null | null | null | 8,182 | null | null | null | null | null | null | null |
// Implementation: impl EliminationAnalyserConfig
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (1 public)
impl EliminationAnalyserConfig | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 43 | null | EliminationAnalyserConfig | null | 1 | 1 | null | null |
// Implementation: impl ConnectorCommon for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Paypal | ConnectorCommon for | 6 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Archipel
// File: crates/hyperswitch_connectors/src/connectors/archipel.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Archipel | crates/hyperswitch_connectors/src/connectors/archipel.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Archipel | ConnectorCommon for | 6 | 0 | null | null |
// Implementation: impl utils::ConnectorErrorTypeMapping for for Trustpay
// File: crates/hyperswitch_connectors/src/connectors/trustpay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl utils::ConnectorErrorTypeMapping for for Trustpay | crates/hyperswitch_connectors/src/connectors/trustpay.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Trustpay | utils::ConnectorErrorTypeMapping for | 1 | 0 | null | null |
// Struct: SwishQrData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SwishQrData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | SwishQrData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl PaymentMethodsController for for PmCards
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
// Methods: 21 total (0 public)
impl PaymentMethodsController for for PmCards | crates/router/src/core/payment_methods/cards.rs | router | impl_block | null | null | null | 50 | null | PmCards | PaymentMethodsController for | 21 | 0 | null | null |
// Struct: InvalidCrmConfig
// File: crates/external_services/src/crm.rs
// Module: external_services
// Implementations: 2
// Traits: std::error::Error, std::fmt::Display
pub struct InvalidCrmConfig | crates/external_services/src/crm.rs | external_services | struct_definition | InvalidCrmConfig | 2 | [
"std::error::Error",
"std::fmt::Display"
] | 54 | null | null | null | null | null | null | null |
// Implementation: impl IterMut
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (0 public)
impl IterMut | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 44 | null | IterMut | null | 1 | 0 | null | null |
// Struct: DisputeRetrieveRequest
// File: crates/api_models/src/disputes.rs
// Module: api_models
// Implementations: 0
pub struct DisputeRetrieveRequest | crates/api_models/src/disputes.rs | api_models | struct_definition | DisputeRetrieveRequest | 0 | [] | 39 | null | null | null | null | null | null | null |
// File: crates/router/src/db.rs
// Module: router
// Public functions: 1
pub mod address;
pub mod api_keys;
pub mod authentication;
pub mod authorization;
pub mod blocklist;
pub mod blocklist_fingerprint;
pub mod blocklist_lookup;
pub mod business_profile;
pub mod callback_mapper;
pub mod capture;
pub mod configs;
pu... | crates/router/src/db.rs | router | full_file | null | null | null | 3,145 | null | null | null | null | null | null | null |
// Function: generate_authorization_signature
// File: crates/hyperswitch_connectors/src/connectors/fiserv.rs
// Module: hyperswitch_connectors
pub fn generate_authorization_signature(
&self,
auth: fiserv::FiservAuthType,
request_id: &str,
payload: &str,
timestamp: i128,
) -... | crates/hyperswitch_connectors/src/connectors/fiserv.rs | hyperswitch_connectors | function_signature | null | null | null | 90 | generate_authorization_signature | null | null | null | null | null | null |
// Implementation: impl api::payments::MandateSetup for for Prophetpay
// File: crates/hyperswitch_connectors/src/connectors/prophetpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::payments::MandateSetup for for Prophetpay | crates/hyperswitch_connectors/src/connectors/prophetpay.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Prophetpay | api::payments::MandateSetup for | 0 | 0 | null | null |
// File: crates/hyperswitch_interfaces/src/api/subscriptions_v2.rs
// Module: hyperswitch_interfaces
//! SubscriptionsV2
use hyperswitch_domain_models::{
router_data_v2::flow_common_types::{
GetSubscriptionEstimateData, GetSubscriptionPlanPricesData, GetSubscriptionPlansData,
SubscriptionCreateData... | crates/hyperswitch_interfaces/src/api/subscriptions_v2.rs | hyperswitch_interfaces | full_file | null | null | null | 505 | null | null | null | null | null | null | null |
// Struct: GetSearchRequestWithIndex
// File: crates/api_models/src/analytics/search.rs
// Module: api_models
// Implementations: 0
pub struct GetSearchRequestWithIndex | crates/api_models/src/analytics/search.rs | api_models | struct_definition | GetSearchRequestWithIndex | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: get_authentication_connector_data
// File: crates/router/src/core/authentication/utils.rs
// Module: router
pub fn get_authentication_connector_data(
state: &SessionState,
key_store: &domain::MerchantKeyStore,
business_profile: &domain::Profile,
authentication_connector: Option<String>,
) ... | crates/router/src/core/authentication/utils.rs | router | function_signature | null | null | null | 91 | get_authentication_connector_data | null | null | null | null | null | null |
// Function: list_routing_configs_for_profile
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn list_routing_configs_for_profile(
state: web::Data<AppState>,
req: HttpRequest,
query: web::Query<RoutingRetrieveQuery>,
transaction_type: Option<enums::TransactionType>,
) -> impl Respon... | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 74 | list_routing_configs_for_profile | null | null | null | null | null | null |
// Struct: HyperswitchAiDataRequest
// File: crates/hyperswitch_domain_models/src/chat.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct HyperswitchAiDataRequest | crates/hyperswitch_domain_models/src/chat.rs | hyperswitch_domain_models | struct_definition | HyperswitchAiDataRequest | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: create_payment_method_card_core
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn create_payment_method_card_core(
state: &SessionState,
req: api::PaymentMethodCreate,
merchant_context: &domain::MerchantContext,
profile: &domain::Profile,
merchant_id: &id_type... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 143 | create_payment_method_card_core | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/gigadat.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/gigadat.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Implementation: impl api::ConnectorCustomer for for Dwolla
// File: crates/hyperswitch_connectors/src/connectors/dwolla.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorCustomer for for Dwolla | crates/hyperswitch_connectors/src/connectors/dwolla.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Dwolla | api::ConnectorCustomer for | 0 | 0 | null | null |
// Implementation: impl api::PaymentSync for for Dwolla
// File: crates/hyperswitch_connectors/src/connectors/dwolla.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Dwolla | crates/hyperswitch_connectors/src/connectors/dwolla.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Dwolla | api::PaymentSync for | 0 | 0 | null | null |
// Struct: MerchantConnectorAccountNew
// File: crates/diesel_models/src/merchant_connector_account.rs
// Module: diesel_models
// Implementations: 0
pub struct MerchantConnectorAccountNew | crates/diesel_models/src/merchant_connector_account.rs | diesel_models | struct_definition | MerchantConnectorAccountNew | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: get_client_builder
// File: crates/external_services/src/http_client/client.rs
// Module: external_services
pub fn get_client_builder(
proxy_config: &Proxy,
) -> CustomResult<reqwest::ClientBuilder, HttpClientError> | crates/external_services/src/http_client/client.rs | external_services | function_signature | null | null | null | 53 | get_client_builder | null | null | null | null | null | null |
// Struct: AuthenticationDataWithMultipleProfiles
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 1
// Traits: AuthInfo
pub struct AuthenticationDataWithMultipleProfiles | crates/router/src/services/authentication.rs | router | struct_definition | AuthenticationDataWithMultipleProfiles | 1 | [
"AuthInfo"
] | 44 | null | null | null | null | null | null | null |
.store
.update_dynamic_routing_stats(
payment_attempt.attempt_id.clone(),
&payment_attempt.merchant_id.to_owned(),
dynamic_routing_update,
)
.await
... | crates/router/src/core/routing/helpers.rs#chunk1 | router | chunk | null | null | null | 8,182 | null | null | null | null | null | null | null |
// Function: extract_domain
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn extract_domain(&self) -> UserResult<&str> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 35 | extract_domain | null | null | null | null | null | null |
// Struct: AdyenSplitData
// File: crates/common_types/src/domain.rs
// Module: common_types
// Implementations: 0
// Documentation: Fee information for Split Payments to be charged on the payment being collected for Adyen
pub struct AdyenSplitData | crates/common_types/src/domain.rs | common_types | struct_definition | AdyenSplitData | 0 | [] | 57 | null | null | null | null | null | null | null |
// Struct: PaymentMethodsUpdateForm
// File: crates/router/src/core/payment_methods/migration.rs
// Module: router
// Implementations: 1
pub struct PaymentMethodsUpdateForm | crates/router/src/core/payment_methods/migration.rs | router | struct_definition | PaymentMethodsUpdateForm | 1 | [] | 39 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/stripebilling.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/stripebilling.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Struct: BusinessGenericLinkConfig
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 1
pub struct BusinessGenericLinkConfig | crates/api_models/src/admin.rs | api_models | struct_definition | BusinessGenericLinkConfig | 1 | [] | 37 | null | null | null | null | null | null | null |
// Function: get_secret
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_secret(self) -> Secret<String, pii::EmailStrategy> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 37 | get_secret | null | null | null | null | null | null |
// Struct: MandateResponse
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MandateResponse | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | MandateResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: RefundCount
// File: crates/api_models/src/analytics/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundCount | crates/api_models/src/analytics/refunds.rs | api_models | struct_definition | RefundCount | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: Browser
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Browser | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | Browser | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: validate_payout_list_request_for_joins
// File: crates/router/src/core/payouts/validator.rs
// Module: router
pub fn validate_payout_list_request_for_joins(
limit: u32,
) -> CustomResult<(), errors::ApiErrorResponse> | crates/router/src/core/payouts/validator.rs | router | function_signature | null | null | null | 59 | validate_payout_list_request_for_joins | null | null | null | null | null | null |
// Struct: ContractBasedRoutingSetupPayloadWrapper
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct ContractBasedRoutingSetupPayloadWrapper | crates/api_models/src/routing.rs | api_models | struct_definition | ContractBasedRoutingSetupPayloadWrapper | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: DuitNowQrCodeResponse
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DuitNowQrCodeResponse | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | DuitNowQrCodeResponse | 0 | [] | 56 | null | null | null | null | null | null | null |
// Implementation: impl Payment for for Payone
// File: crates/hyperswitch_connectors/src/connectors/payone.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl Payment for for Payone | crates/hyperswitch_connectors/src/connectors/payone.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Payone | Payment for | 0 | 0 | null | null |
// Implementation: impl Novalnet
// File: crates/hyperswitch_connectors/src/connectors/novalnet.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Novalnet | crates/hyperswitch_connectors/src/connectors/novalnet.rs | hyperswitch_connectors | impl_block | null | null | null | 48 | null | Novalnet | null | 1 | 1 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Coinbase
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Coinbase | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Coinbase | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Implementation: impl api::PayoutCreate for for Ebanx
// File: crates/hyperswitch_connectors/src/connectors/ebanx.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutCreate for for Ebanx | crates/hyperswitch_connectors/src/connectors/ebanx.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Ebanx | api::PayoutCreate for | 0 | 0 | null | null |
// Function: is_pre_processing_required_before_authorize
// File: crates/common_enums/src/connector_enums.rs
// Module: common_enums
pub fn is_pre_processing_required_before_authorize(self) -> bool | crates/common_enums/src/connector_enums.rs | common_enums | function_signature | null | null | null | 45 | is_pre_processing_required_before_authorize | null | null | null | null | null | null |
// Function: supports_access_token_for_payout
// File: crates/common_enums/src/connector_enums.rs
// Module: common_enums
pub fn supports_access_token_for_payout(self, payout_method: Option<PayoutType>) -> bool | crates/common_enums/src/connector_enums.rs | common_enums | function_signature | null | null | null | 51 | supports_access_token_for_payout | null | null | null | null | null | null |
// Function: update
// File: crates/diesel_models/src/query/process_tracker.rs
// Module: diesel_models
pub fn update(
self,
conn: &PgPooledConn,
process: ProcessTrackerUpdate,
) -> StorageResult<Self> | crates/diesel_models/src/query/process_tracker.rs | diesel_models | function_signature | null | null | null | 54 | update | null | null | null | null | null | null |
// Module Structure
// File: crates/diesel_models/src/user.rs
// Module: diesel_models
// Public submodules:
pub mod dashboard_metadata;
pub mod sample_data;
pub mod theme;
| crates/diesel_models/src/user.rs | diesel_models | module_structure | null | null | null | 40 | null | null | null | null | null | 3 | 0 |
// Implementation: impl PaymentSync for for Netcetera
// File: crates/hyperswitch_connectors/src/connectors/netcetera.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentSync for for Netcetera | crates/hyperswitch_connectors/src/connectors/netcetera.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Netcetera | PaymentSync for | 0 | 0 | null | null |
// Struct: GooglePayData
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GooglePayData | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | GooglePayData | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/flows/session_update_flow.rs
// Module: router
use async_trait::async_trait;
use super::ConstructFlowSpecificData;
use crate::{
core::{
errors::{ConnectorErrorExt, RouterResult},
payments::{self, access_token, helpers, transformers, Feature, PaymentData},
... | crates/router/src/core/payments/flows/session_update_flow.rs | router | full_file | null | null | null | 955 | null | null | null | null | null | null | null |
// File: crates/analytics/src/disputes/metrics/dispute_status_metric.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
disputes::{DisputeDimensions, DisputeFilters, DisputeMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchExt;
use erro... | crates/analytics/src/disputes/metrics/dispute_status_metric.rs | analytics | full_file | null | null | null | 850 | null | null | null | null | null | null | null |
// Function: get_total_blocked_amount
// File: crates/router/src/core/payments/types.rs
// Module: router
pub fn get_total_blocked_amount(&self) -> common_types::MinorUnit | crates/router/src/core/payments/types.rs | router | function_signature | null | null | null | 40 | get_total_blocked_amount | 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.