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: rust_locker_migration
// File: crates/router/src/core/locker_migration.rs
// Module: router
pub fn rust_locker_migration(
state: SessionState,
merchant_id: &id_type::MerchantId,
) -> CustomResult<services::ApplicationResponse<MigrateCardResponse>, errors::ApiErrorResponse> | crates/router/src/core/locker_migration.rs | router | function_signature | null | null | null | 68 | rust_locker_migration | null | null | null | null | null | null |
// Struct: MandateData
// File: crates/euclid/src/backend/inputs.rs
// Module: euclid
// Implementations: 0
pub struct MandateData | crates/euclid/src/backend/inputs.rs | euclid | struct_definition | MandateData | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: get_kind
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn get_kind(&self) -> RoutingAlgorithmKind | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 34 | get_kind | null | null | null | null | null | null |
// Struct: BraintreeCancelRequest
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BraintreeCancelRequest | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | BraintreeCancelRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: ConnectorsList
// File: crates/router/src/types.rs
// Module: router
// Implementations: 0
pub struct ConnectorsList | crates/router/src/types.rs | router | struct_definition | ConnectorsList | 0 | [] | 33 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/user.rs
// Module: diesel_models
// Public structs: 3
use common_utils::{encryption::Encryption, pii, types::user::LineageContext};
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use masking::Secret;
use time::PrimitiveDateTime;
use crate::{diesel_impl::O... | crates/diesel_models/src/user.rs | diesel_models | full_file | null | null | null | 1,072 | null | null | null | null | null | null | null |
// Struct: TaxCalculationResponseData
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct TaxCalculationResponseData | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | struct_definition | TaxCalculationResponseData | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/customers.rs
// Module: diesel_models
// Public functions: 4
// Public structs: 6
use common_enums::ApiVersion;
use common_utils::{encryption::Encryption, pii, types::Description};
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use time::PrimitiveDateTime;... | crates/diesel_models/src/customers.rs | diesel_models | full_file | null | null | null | 2,434 | null | null | null | null | null | null | null |
// File: crates/cards/src/lib.rs
// Module: cards
// Public functions: 6
// Public structs: 4
pub mod validate;
use std::ops::Deref;
use common_utils::{date_time, errors};
use error_stack::report;
use masking::{PeekInterface, StrongSecret};
use serde::{de, Deserialize, Serialize};
use time::{Date, Duration, Primitive... | crates/cards/src/lib.rs | cards | full_file | null | null | null | 1,390 | null | null | null | null | null | null | null |
// Struct: GocardlessBankAccountRequest
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GocardlessBankAccountRequest | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | GocardlessBankAccountRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: GlobalRefundId
// File: crates/common_utils/src/id_type/global_id/refunds.rs
// Module: common_utils
// Implementations: 1
pub struct GlobalRefundId | crates/common_utils/src/id_type/global_id/refunds.rs | common_utils | struct_definition | GlobalRefundId | 1 | [] | 42 | null | null | null | null | null | null | null |
// Struct: WiseAddressDetails
// File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WiseAddressDetails | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs | hyperswitch_connectors | struct_definition | WiseAddressDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_organization_id_from_header
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn get_organization_id_from_header(&self) -> RouterResult<id_type::OrganizationId> | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 44 | get_organization_id_from_header | null | null | null | null | null | null |
// Module Structure
// File: crates/payment_methods/src/core/migration.rs
// Module: payment_methods
// Public submodules:
pub mod payment_methods;
// Public exports:
pub use payment_methods::migrate_payment_method;
| crates/payment_methods/src/core/migration.rs | payment_methods | module_structure | null | null | null | 46 | null | null | null | null | null | 1 | 1 |
// Implementation: impl UserKeyStore
// File: crates/diesel_models/src/query/user_key_store.rs
// Module: diesel_models
// Methods: 2 total (0 public)
impl UserKeyStore | crates/diesel_models/src/query/user_key_store.rs | diesel_models | impl_block | null | null | null | 42 | null | UserKeyStore | null | 2 | 0 | null | null |
// Struct: Shift4NonThreeDsResponse
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Shift4NonThreeDsResponse | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | Shift4NonThreeDsResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Blackhawknetwork
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Blackhawknetwork | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Blackhawknetwork | ConnectorCommon for | 6 | 0 | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Silverflow
// File: crates/hyperswitch_connectors/src/connectors/silverflow.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Silverflow | crates/hyperswitch_connectors/src/connectors/silverflow.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Silverflow | api::Refund for | 0 | 0 | null | null |
// Struct: PaymentCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentCaptureRequest | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | PaymentCaptureRequest | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: find_by_merchant_id_idempotent_event_id
// File: crates/diesel_models/src/query/events.rs
// Module: diesel_models
pub fn find_by_merchant_id_idempotent_event_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
idempotent_event_id: &str,
) -> StorageResult... | crates/diesel_models/src/query/events.rs | diesel_models | function_signature | null | null | null | 85 | find_by_merchant_id_idempotent_event_id | null | null | null | null | null | null |
// Function: get_active_payments_metrics
// File: crates/router/src/analytics.rs
// Module: router
// Documentation: Panics if `json_payload` array does not contain one `GetActivePaymentsMetricRequest` element.
pub fn get_active_payments_metrics(
state: web::Data<AppState>,
req: actix_web::HttpRequest... | crates/router/src/analytics.rs | router | function_signature | null | null | null | 96 | get_active_payments_metrics | null | null | null | null | null | null |
// Struct: TransactionError
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TransactionError | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | TransactionError | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Silverflow
// File: crates/hyperswitch_connectors/src/connectors/silverflow.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Silverflow | crates/hyperswitch_connectors/src/connectors/silverflow.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Silverflow | api::PaymentSync for | 0 | 0 | null | null |
// Struct: CustomerDeviceDataInput
// File: crates/euclid/src/backend/inputs.rs
// Module: euclid
// Implementations: 0
pub struct CustomerDeviceDataInput | crates/euclid/src/backend/inputs.rs | euclid | struct_definition | CustomerDeviceDataInput | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Novalnet
// File: crates/hyperswitch_connectors/src/connectors/novalnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Novalnet | crates/hyperswitch_connectors/src/connectors/novalnet.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Novalnet | api::PaymentSync for | 0 | 0 | null | null |
// Struct: DlocalPaymentsSyncRequest
// File: crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DlocalPaymentsSyncRequest | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs | hyperswitch_connectors | struct_definition | DlocalPaymentsSyncRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: parse_stream_entries
// File: crates/drainer/src/utils.rs
// Module: drainer
pub fn parse_stream_entries<'a>(
read_result: &'a StreamReadResult,
stream_name: &str,
) -> errors::DrainerResult<&'a StreamEntries> | crates/drainer/src/utils.rs | drainer | function_signature | null | null | null | 61 | parse_stream_entries | null | null | null | null | null | null |
// Function: get_possible_values_for_enum
// File: crates/router_derive/src/macros/helpers.rs
// Module: router_derive
// Documentation: Get all the variants of a enum in the form of a string
pub fn get_possible_values_for_enum<T>() -> String
where
T: strum::IntoEnumIterator + ToString, | crates/router_derive/src/macros/helpers.rs | router_derive | function_signature | null | null | null | 72 | get_possible_values_for_enum | null | null | null | null | null | null |
// Struct: PaymentAuthConnectorData
// File: crates/pm_auth/src/types/api.rs
// Module: pm_auth
// Implementations: 0
pub struct PaymentAuthConnectorData | crates/pm_auth/src/types/api.rs | pm_auth | struct_definition | PaymentAuthConnectorData | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: StaxCustomerRequest
// File: crates/hyperswitch_connectors/src/connectors/stax/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StaxCustomerRequest | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs | hyperswitch_connectors | struct_definition | StaxCustomerRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/flows/capture_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/capture_flow.rs | router | full_file | null | null | null | 1,082 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Wellsfargo
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Wellsfargo | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Wellsfargo | ConnectorValidation for | 1 | 0 | null | null |
// Implementation: impl CoBadgedCardNetworks
// File: crates/api_models/src/open_router.rs
// Module: api_models
// Methods: 2 total (2 public)
impl CoBadgedCardNetworks | crates/api_models/src/open_router.rs | api_models | impl_block | null | null | null | 45 | null | CoBadgedCardNetworks | null | 2 | 2 | null | null |
// File: crates/api_models/src/user.rs
// Module: api_models
// Public structs: 59
use std::fmt::Debug;
use common_enums::{EntityType, TokenPurpose};
use common_utils::{crypto::OptionalEncryptableName, id_type, pii};
use masking::Secret;
use utoipa::ToSchema;
use crate::user_role::UserStatus;
pub mod dashboard_metad... | crates/api_models/src/user.rs | api_models | full_file | null | null | null | 2,970 | null | null | null | null | null | null | null |
// Struct: NomupayRouterData
// File: crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NomupayRouterData<T> | crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs | hyperswitch_connectors | struct_definition | NomupayRouterData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Bambora
// File: crates/hyperswitch_connectors/src/connectors/bambora.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Bambora | crates/hyperswitch_connectors/src/connectors/bambora.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Bambora | ConnectorValidation for | 0 | 0 | null | null |
// Implementation: impl Database
// File: crates/drainer/src/settings.rs
// Module: drainer
// Methods: 1 total (0 public)
impl Database | crates/drainer/src/settings.rs | drainer | impl_block | null | null | null | 34 | null | Database | null | 1 | 0 | null | null |
// Struct: AcquirerConfig
// File: crates/common_types/src/domain.rs
// Module: common_types
// Implementations: 0
pub struct AcquirerConfig | crates/common_types/src/domain.rs | common_types | struct_definition | AcquirerConfig | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Tokenex
// File: crates/hyperswitch_connectors/src/connectors/tokenex.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Tokenex | crates/hyperswitch_connectors/src/connectors/tokenex.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Tokenex | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Volt
// File: crates/hyperswitch_connectors/src/connectors/volt.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Volt | crates/hyperswitch_connectors/src/connectors/volt.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Volt | api::PaymentSync for | 0 | 0 | null | null |
// Function: get_connector_auth_type
// File: crates/router/src/core/pm_auth/helpers.rs
// Module: router
pub fn get_connector_auth_type(
merchant_connector_account: domain::MerchantConnectorAccount,
) -> errors::CustomResult<pm_auth_types::ConnectorAuthType, ApiErrorResponse> | crates/router/src/core/pm_auth/helpers.rs | router | function_signature | null | null | null | 61 | get_connector_auth_type | null | null | null | null | null | null |
// File: crates/router/src/routes/admin.rs
// Module: router
// Public functions: 34
use actix_web::{web, HttpRequest, HttpResponse};
use router_env::{instrument, tracing, Flow};
use super::app::AppState;
use crate::{
core::{admin::*, api_locking, errors},
services::{api, authentication as auth, authorization... | crates/router/src/routes/admin.rs | router | full_file | null | null | null | 7,835 | null | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Implementation: impl Refunds
// File: crates/router/src/compatibility/stripe/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Refunds | crates/router/src/compatibility/stripe/app.rs | router | impl_block | null | null | null | 39 | null | Refunds | null | 1 | 1 | null | null |
// Implementation: impl api::MandateSetup for for Placetopay
// File: crates/hyperswitch_connectors/src/connectors/placetopay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Placetopay | crates/hyperswitch_connectors/src/connectors/placetopay.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Placetopay | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl api::Refund for for Hyperwallet
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Hyperwallet | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Hyperwallet | api::Refund for | 0 | 0 | null | null |
// Function: into_inner
// File: crates/external_services/src/email.rs
// Module: external_services
// Documentation: Get the inner String
pub fn into_inner(self) -> String | crates/external_services/src/email.rs | external_services | function_signature | null | null | null | 39 | into_inner | null | null | null | null | null | null |
// Struct: TokenizePaymentMethodRequest
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct TokenizePaymentMethodRequest | crates/api_models/src/payment_methods.rs | api_models | struct_definition | TokenizePaymentMethodRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl DummyConnectorPaymentData
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Methods: 1 total (1 public)
impl DummyConnectorPaymentData | crates/router/src/routes/dummy_connector/types.rs | router | impl_block | null | null | null | 42 | null | DummyConnectorPaymentData | null | 1 | 1 | null | null |
// Struct: ProphetpayTokenResponse
// File: crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProphetpayTokenResponse | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs | hyperswitch_connectors | struct_definition | ProphetpayTokenResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: ReplicaStore
// File: crates/storage_impl/src/database/store.rs
// Module: storage_impl
// Implementations: 1
// Traits: DatabaseStore
pub struct ReplicaStore | crates/storage_impl/src/database/store.rs | storage_impl | struct_definition | ReplicaStore | 1 | [
"DatabaseStore"
] | 40 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Authorizedotnet
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Authorizedotnet | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Authorizedotnet | api::PaymentSession for | 0 | 0 | null | null |
// Function: make_domain
// File: crates/hyperswitch_constraint_graph/src/builder.rs
// Module: hyperswitch_constraint_graph
pub fn make_domain(
&mut self,
domain_identifier: String,
domain_description: &str,
) -> Result<DomainId, GraphError<V>> | crates/hyperswitch_constraint_graph/src/builder.rs | hyperswitch_constraint_graph | function_signature | null | null | null | 64 | make_domain | null | null | null | null | null | null |
// File: crates/analytics/src/refunds/filters.rs
// Module: analytics
// Public functions: 1
// Public structs: 1
use api_models::analytics::{
refunds::{RefundDimensions, RefundType},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchExt;
use diesel_models::enums::{Currency, RefundStatus};
use e... | crates/analytics/src/refunds/filters.rs | analytics | full_file | null | null | null | 503 | null | null | null | null | null | null | null |
// Struct: Card
// File: crates/hyperswitch_connectors/src/connectors/forte/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Card | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs | hyperswitch_connectors | struct_definition | Card | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: number_comparison
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn number_comparison(input: &str) -> ParseResult<&str, ast::NumberComparison> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 46 | number_comparison | null | null | null | null | null | null |
// Struct: CryptopayWebhookDetails
// File: crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CryptopayWebhookDetails | crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs | hyperswitch_connectors | struct_definition | CryptopayWebhookDetails | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: create_theme
// File: crates/router/src/routes/user/theme.rs
// Module: router
pub fn create_theme(
state: web::Data<AppState>,
req: HttpRequest,
payload: web::Json<theme_api::CreateThemeRequest>,
) -> HttpResponse | crates/router/src/routes/user/theme.rs | router | function_signature | null | null | null | 58 | create_theme | null | null | null | null | null | null |
// Function: authentication_sync_post_update
// File: crates/router/src/routes/authentication.rs
// Module: router
pub fn authentication_sync_post_update(
state: web::Data<app::AppState>,
req: HttpRequest,
path: web::Path<(
common_utils::id_type::MerchantId,
common_utils::id_type::Authentic... | crates/router/src/routes/authentication.rs | router | function_signature | null | null | null | 76 | authentication_sync_post_update | null | null | null | null | null | null |
// Struct: ConnectorPayload
// File: crates/injector/src/types.rs
// Module: injector
// Implementations: 0
pub struct ConnectorPayload | crates/injector/src/types.rs | injector | struct_definition | ConnectorPayload | 0 | [] | 33 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/multisafepay.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/multisafepay.rs | hyperswitch_connectors | module_structure | null | null | null | 42 | null | null | null | null | null | 1 | 0 |
// Struct: MultisafepayAuthType
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MultisafepayAuthType | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | MultisafepayAuthType | 0 | [] | 59 | null | null | null | null | null | null | null |
// Struct: PaymentSuccessRate
// File: crates/api_models/src/analytics/payments.rs
// Module: api_models
// Implementations: 0
pub struct PaymentSuccessRate | crates/api_models/src/analytics/payments.rs | api_models | struct_definition | PaymentSuccessRate | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: RecoveryDataBackfill
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct RecoveryDataBackfill | crates/router/src/routes/app.rs | router | struct_definition | RecoveryDataBackfill | 1 | [] | 36 | null | null | null | null | null | null | null |
// Function: get_webhook_details_as_value
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_webhook_details_as_value(
&self,
) -> CustomResult<Option<serde_json::Value>, errors::ParsingError> | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 56 | get_webhook_details_as_value | null | null | null | null | null | null |
// Function: delete_customer
// File: crates/router/src/core/customers.rs
// Module: router
pub fn delete_customer(
state: SessionState,
merchant_context: domain::MerchantContext,
id: id_type::GlobalCustomerId,
) -> errors::CustomerResponse<customers::CustomerDeleteResponse> | crates/router/src/core/customers.rs | router | function_signature | null | null | null | 64 | delete_customer | null | null | null | null | null | null |
.to_lowercase();
let (_, sig_value) = security_header
.split_once('=')
.ok_or(errors::ConnectorError::WebhookSourceVerificationFailed)?;
hex::decode(sig_value).change_context(errors::ConnectorError::WebhookSignatureNotFound)
}
fn get_webhook_source_verificati... | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 2,253 | null | null | null | null | null | null | null |
// Struct: Customers
// File: crates/router/src/compatibility/stripe/app.rs
// Module: router
// Implementations: 1
pub struct Customers | crates/router/src/compatibility/stripe/app.rs | router | struct_definition | Customers | 1 | [] | 34 | null | null | null | null | null | null | null |
// Struct: DummySignal
// File: crates/common_utils/src/signals.rs
// Module: common_utils
// Implementations: 1
pub struct DummySignal | crates/common_utils/src/signals.rs | common_utils | struct_definition | DummySignal | 1 | [] | 34 | null | null | null | null | null | null | null |
// Struct: AuthenticationDetails
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct AuthenticationDetails | crates/router/src/types/payment_methods.rs | router | struct_definition | AuthenticationDetails | 0 | [] | 33 | null | null | null | null | null | null | null |
// Implementation: impl api::PayoutFulfill for for Adyen
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutFulfill for for Adyen | crates/hyperswitch_connectors/src/connectors/adyen.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Adyen | api::PayoutFulfill for | 0 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Gocardless
// File: crates/hyperswitch_connectors/src/connectors/gocardless.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Gocardless | crates/hyperswitch_connectors/src/connectors/gocardless.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Gocardless | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: PaysafePaymentHandleRequest
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafePaymentHandleRequest | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafePaymentHandleRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl fmt::Display for for ApiMethod
// File: crates/hyperswitch_interfaces/src/events/routing_api_logs.rs
// Module: hyperswitch_interfaces
// Methods: 1 total (0 public)
impl fmt::Display for for ApiMethod | crates/hyperswitch_interfaces/src/events/routing_api_logs.rs | hyperswitch_interfaces | impl_block | null | null | null | 54 | null | ApiMethod | fmt::Display for | 1 | 0 | null | null |
// Struct: Amazonpay
// File: crates/hyperswitch_connectors/src/connectors/amazonpay.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api... | crates/hyperswitch_connectors/src/connectors/amazonpay.rs | hyperswitch_connectors | struct_definition | Amazonpay | 17 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"ConnectorCommon",
"ConnectorValidat... | 126 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Gigadat
// File: crates/hyperswitch_connectors/src/connectors/gigadat.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Gigadat | crates/hyperswitch_connectors/src/connectors/gigadat.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Gigadat | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: PmAssigned
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
// Implementations: 1
// Traits: State
pub struct PmAssigned | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | struct_definition | PmAssigned | 1 | [
"State"
] | 45 | null | null | null | null | null | null | null |
alias: auth.username.expose(),
version: TRUSTPAYMENTS_API_VERSION.to_string(),
request: vec![TrustpaymentsSyncRequestData {
requesttypedescriptions: vec!["TRANSACTIONQUERY".to_string()],
filter: TrustpaymentsFilter {
sitereference: ... | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 2,272 | null | null | null | null | null | null | null |
// Struct: RuleDeleteRequest
// File: crates/router/src/services/authentication/decision.rs
// Module: router
// Implementations: 0
pub struct RuleDeleteRequest | crates/router/src/services/authentication/decision.rs | router | struct_definition | RuleDeleteRequest | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: RequestIdMiddleware
// File: crates/router/src/middleware.rs
// Module: router
// Implementations: 0
pub struct RequestIdMiddleware<S> | crates/router/src/middleware.rs | router | struct_definition | RequestIdMiddleware | 0 | [] | 36 | null | null | null | null | null | null | null |
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Public functions: 4
// Public structs: 14
use api_models::enums::Currency;
use common_utils::{errors::CustomResult, generate_id_with_default_len, pii};
use error_stack::report;
use masking::Secret;
use router_env::types::FlowMetric;
use st... | crates/router/src/routes/dummy_connector/types.rs | router | full_file | null | null | null | 3,102 | null | null | null | null | null | null | null |
// Function: get_disputes_aggregate
// File: crates/router/src/routes/disputes.rs
// Module: router
pub fn get_disputes_aggregate(
state: web::Data<AppState>,
req: HttpRequest,
query_param: web::Query<common_utils::types::TimeRange>,
) -> HttpResponse | crates/router/src/routes/disputes.rs | router | function_signature | null | null | null | 69 | get_disputes_aggregate | null | null | null | null | null | null |
// Implementation: impl ErasedMaskSerialize for for T
// File: crates/masking/src/serde.rs
// Module: masking
// Methods: 1 total (0 public)
impl ErasedMaskSerialize for for T | crates/masking/src/serde.rs | masking | impl_block | null | null | null | 46 | null | T | ErasedMaskSerialize for | 1 | 0 | null | null |
// File: crates/router/src/types/storage/user_role.rs
// Module: router
pub use diesel_models::user_role::*;
| crates/router/src/types/storage/user_role.rs | router | full_file | null | null | null | 25 | null | null | null | null | null | null | null |
// Function: user_connect_account
// File: crates/router/src/routes/user.rs
// Module: router
pub fn user_connect_account(
state: web::Data<AppState>,
http_req: HttpRequest,
json_payload: web::Json<user_api::ConnectAccountRequest>,
query: web::Query<user_api::AuthIdAndThemeIdQueryParam>,
) -> HttpRespo... | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 78 | user_connect_account | null | null | null | null | null | null |
// Struct: BillingConnectorPaymentsSyncResponse
// File: crates/hyperswitch_domain_models/src/router_response_types/revenue_recovery.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct BillingConnectorPaymentsSyncResponse | crates/hyperswitch_domain_models/src/router_response_types/revenue_recovery.rs | hyperswitch_domain_models | struct_definition | BillingConnectorPaymentsSyncResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: EbanxPayoutResponseDetails
// File: crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct EbanxPayoutResponseDetails | crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs | hyperswitch_connectors | struct_definition | EbanxPayoutResponseDetails | 0 | [] | 57 | null | null | null | null | null | null | null |
// Struct: MollieRouterData
// File: crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MollieRouterData<T> | crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs | hyperswitch_connectors | struct_definition | MollieRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Jpmorgan
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Jpmorgan | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Jpmorgan | api::MandateSetup for | 0 | 0 | null | null |
// Function: create_token_vault_api
// File: crates/router/src/routes/tokenization.rs
// Module: router
pub fn create_token_vault_api(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<api_models::tokenization::GenericTokenizationRequest>,
) -> HttpResponse | crates/router/src/routes/tokenization.rs | router | function_signature | null | null | null | 69 | create_token_vault_api | null | null | null | null | null | null |
// File: crates/storage_impl/src/mock_db/redis_conn.rs
// Module: storage_impl
use std::sync::Arc;
use redis_interface::errors::RedisError;
use super::MockDb;
use crate::redis::kv_store::RedisConnInterface;
impl RedisConnInterface for MockDb {
fn get_redis_conn(
&self,
) -> Result<Arc<redis_interfac... | crates/storage_impl/src/mock_db/redis_conn.rs | storage_impl | full_file | null | null | null | 105 | null | null | null | null | null | null | null |
// Struct: StripeMandateResponse
// File: crates/router/src/compatibility/stripe/webhooks.rs
// Module: router
// Implementations: 0
pub struct StripeMandateResponse | crates/router/src/compatibility/stripe/webhooks.rs | router | struct_definition | StripeMandateResponse | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: organization_retrieve
// File: crates/router/src/routes/admin.rs
// Module: router
pub fn organization_retrieve(
state: web::Data<AppState>,
req: HttpRequest,
org_id: web::Path<common_utils::id_type::OrganizationId>,
) -> HttpResponse | crates/router/src/routes/admin.rs | router | function_signature | null | null | null | 62 | organization_retrieve | null | null | null | null | null | null |
// Struct: PaymentsCollection
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentsCollection | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaymentsCollection | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Nmi
// File: crates/hyperswitch_connectors/src/connectors/nmi.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Nmi | crates/hyperswitch_connectors/src/connectors/nmi.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Nmi | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Iatapay
// File: crates/hyperswitch_connectors/src/connectors/iatapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Iatapay | crates/hyperswitch_connectors/src/connectors/iatapay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Iatapay | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Function: update_by_merchant_id_payout_id
// File: crates/diesel_models/src/query/payout_attempt.rs
// Module: diesel_models
pub fn update_by_merchant_id_payout_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
payout_id: &common_utils::id_type::PayoutId,
payo... | crates/diesel_models/src/query/payout_attempt.rs | diesel_models | function_signature | null | null | null | 96 | update_by_merchant_id_payout_id | null | null | null | null | null | null |
// Function: create_connector
// File: crates/router/src/core/admin.rs
// Module: router
pub fn create_connector(
state: SessionState,
req: api::MerchantConnectorCreate,
merchant_context: domain::MerchantContext,
auth_profile_id: Option<id_type::ProfileId>,
) -> RouterResponse<api_models::admin::Mercha... | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 77 | create_connector | 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.