text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Struct: PayloadCardsResponseData
// File: crates/hyperswitch_connectors/src/connectors/payload/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayloadCardsResponseData | crates/hyperswitch_connectors/src/connectors/payload/responses.rs | hyperswitch_connectors | struct_definition | PayloadCardsResponseData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl MandateSetup for for Netcetera
// File: crates/hyperswitch_connectors/src/connectors/netcetera.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl MandateSetup for for Netcetera | crates/hyperswitch_connectors/src/connectors/netcetera.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Netcetera | MandateSetup for | 0 | 0 | null | null |
// Implementation: impl fmt::Display for for InterpreterError
// File: crates/euclid/src/backend/interpreter/types.rs
// Module: euclid
// Methods: 1 total (0 public)
impl fmt::Display for for InterpreterError | crates/euclid/src/backend/interpreter/types.rs | euclid | impl_block | null | null | null | 50 | null | InterpreterError | fmt::Display for | 1 | 0 | null | null |
// Function: get_connector_with_networks
// File: crates/router/src/core/payments.rs
// Module: router
pub fn get_connector_with_networks(
connectors: &mut IntoIter<api::ConnectorRoutingData>,
) -> Option<(api::ConnectorData, enums::CardNetwork)> | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 61 | get_connector_with_networks | null | null | null | null | null | null |
// File: crates/router/src/services/kafka/payment_intent.rs
// Module: router
// Public functions: 2
// Public structs: 2
#[cfg(feature = "v2")]
use ::common_types::{
payments,
primitive_wrappers::{EnablePartialAuthorizationBool, RequestExtendedAuthorizationBool},
};
#[cfg(feature = "v2")]
use common_enums;
#[... | crates/router/src/services/kafka/payment_intent.rs | router | full_file | null | null | null | 3,241 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Checkout
// File: crates/hyperswitch_connectors/src/connectors/checkout.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Checkout | crates/hyperswitch_connectors/src/connectors/checkout.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Checkout | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 49 | null | Cybersource | null | 1 | 1 | null | null |
// Function: make_new_payment_attempt
// File: crates/router/src/core/payments/retry.rs
// Module: router
pub fn make_new_payment_attempt(
_connector: String,
_old_payment_attempt: storage::PaymentAttempt,
_new_attempt_count: i16,
_is_step_up: bool,
) -> storage::PaymentAttempt | crates/router/src/core/payments/retry.rs | router | function_signature | null | null | null | 74 | make_new_payment_attempt | null | null | null | null | null | null |
// Function: forgot_password
// File: crates/router/src/core/user.rs
// Module: router
pub fn forgot_password(
state: SessionState,
request: user_api::ForgotPasswordRequest,
auth_id: Option<String>,
theme_id: Option<String>,
) -> UserResponse<()> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 61 | forgot_password | null | null | null | null | null | null |
// Function: list_roles_with_info
// File: crates/router/src/core/user_role/role.rs
// Module: router
pub fn list_roles_with_info(
state: SessionState,
user_from_token: UserFromToken,
request: role_api::ListRolesQueryParams,
) -> UserResponse<role_api::ListRolesResponse> | crates/router/src/core/user_role/role.rs | router | function_signature | null | null | null | 71 | list_roles_with_info | null | null | null | null | null | null |
// Implementation: impl PaymentMethodData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Methods: 6 total (6 public)
impl PaymentMethodData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 46 | null | PaymentMethodData | null | 6 | 6 | null | null |
// Function: get_status
// File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
// Module: hyperswitch_connectors
pub fn get_status(&self) -> String | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 43 | get_status | null | null | null | null | null | null |
// Function: update
// File: crates/diesel_models/src/query/merchant_connector_account.rs
// Module: diesel_models
pub fn update(
self,
conn: &PgPooledConn,
merchant_connector_account: MerchantConnectorAccountUpdateInternal,
) -> StorageResult<Self> | crates/diesel_models/src/query/merchant_connector_account.rs | diesel_models | function_signature | null | null | null | 60 | update | null | null | null | null | null | null |
// Struct: PlaidExchangeTokenRequest
// File: crates/pm_auth/src/connector/plaid/transformers.rs
// Module: pm_auth
// Implementations: 0
pub struct PlaidExchangeTokenRequest | crates/pm_auth/src/connector/plaid/transformers.rs | pm_auth | struct_definition | PlaidExchangeTokenRequest | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: RiskifiedFulfillmentRequest
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RiskifiedFulfillmentRequest | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | RiskifiedFulfillmentRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: CardDetails
// File: crates/router/src/compatibility/stripe/customers/types.rs
// Module: router
// Implementations: 0
pub struct CardDetails | crates/router/src/compatibility/stripe/customers/types.rs | router | struct_definition | CardDetails | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Custombilling
// File: crates/hyperswitch_connectors/src/connectors/custombilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Custombilling | crates/hyperswitch_connectors/src/connectors/custombilling.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Custombilling | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl api::Refund for for Santander
// File: crates/hyperswitch_connectors/src/connectors/santander.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Santander | crates/hyperswitch_connectors/src/connectors/santander.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Santander | api::Refund for | 0 | 0 | null | null |
// Struct: RefundsRetrieveRequest
// File: crates/api_models/src/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundsRetrieveRequest | crates/api_models/src/refunds.rs | api_models | struct_definition | RefundsRetrieveRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: TsysErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TsysErrorResponse | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs | hyperswitch_connectors | struct_definition | TsysErrorResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Klarna
// File: crates/hyperswitch_connectors/src/connectors/klarna.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Klarna | crates/hyperswitch_connectors/src/connectors/klarna.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Klarna | api::Payment for | 0 | 0 | null | null |
// Struct: SqlxClient
// File: crates/analytics/src/sqlx.rs
// Module: analytics
// Implementations: 18
// Traits: Default, super::payments::filters::PaymentFilterAnalytics, super::payments::metrics::PaymentMetricAnalytics, super::payments::distribution::PaymentDistributionAnalytics, super::payment_intents::filters::Pa... | crates/analytics/src/sqlx.rs | analytics | struct_definition | SqlxClient | 18 | [
"Default",
"super::payments::filters::PaymentFilterAnalytics",
"super::payments::metrics::PaymentMetricAnalytics",
"super::payments::distribution::PaymentDistributionAnalytics",
"super::payment_intents::filters::PaymentIntentFilterAnalytics",
"super::payment_intents::metrics::PaymentIntentMetricAnalytics"... | 211 | null | null | null | null | null | null | null |
// File: crates/router_env/src/cargo_workspace.rs
// Module: router_env
// Public functions: 2
/// Sets the `CARGO_WORKSPACE_MEMBERS` environment variable to include a comma-separated list of
/// names of all crates in the current cargo workspace.
///
/// This function should be typically called within build scripts, ... | crates/router_env/src/cargo_workspace.rs | router_env | full_file | null | null | null | 563 | null | null | null | null | null | null | null |
// Implementation: impl PaymentsCompleteAuthorize for for Globalpay
// File: crates/hyperswitch_connectors/src/connectors/globalpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentsCompleteAuthorize for for Globalpay | crates/hyperswitch_connectors/src/connectors/globalpay.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Globalpay | PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// File: crates/router/src/routes/poll.rs
// Module: router
// Public functions: 1
use actix_web::{web, HttpRequest, HttpResponse};
use router_env::{instrument, tracing, Flow};
use super::app::AppState;
use crate::{
core::{api_locking, poll},
services::{api, authentication as auth},
types::{api::PollId, d... | crates/router/src/routes/poll.rs | router | full_file | null | null | null | 398 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Peachpayments
// File: crates/hyperswitch_connectors/src/connectors/peachpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Peachpayments | crates/hyperswitch_connectors/src/connectors/peachpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Peachpayments | ConnectorValidation for | 0 | 0 | null | null |
// Function: generate_exp
// File: crates/router/src/services/jwt.rs
// Module: router
pub fn generate_exp(
exp_duration: std::time::Duration,
) -> CustomResult<std::time::Duration, UserErrors> | crates/router/src/services/jwt.rs | router | function_signature | null | null | null | 50 | generate_exp | null | null | null | null | null | null |
// Function: get_banks
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn get_banks(
state: &routes::SessionState,
pm_type: common_enums::enums::PaymentMethodType,
connectors: Vec<String>,
) -> Result<Vec<BankCodeResponse>, errors::ApiErrorResponse> | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 73 | get_banks | null | null | null | null | null | null |
// Function: get_avs_definition
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
pub fn get_avs_definition(code: &str) -> Option<&'static str> | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 55 | get_avs_definition | null | null | null | null | null | null |
// Function: update_payment_processor_token_schedule_time
// File: crates/router/src/types/storage/revenue_recovery_redis_operation.rs
// Module: router
pub fn update_payment_processor_token_schedule_time(
state: &SessionState,
connector_customer_id: &str,
payment_processor_token: &str,
... | crates/router/src/types/storage/revenue_recovery_redis_operation.rs | router | function_signature | null | null | null | 83 | update_payment_processor_token_schedule_time | null | null | null | null | null | null |
// Implementation: impl WebhooksFlowError
// File: crates/router/src/core/errors.rs
// Module: router
// Methods: 1 total (0 public)
impl WebhooksFlowError | crates/router/src/core/errors.rs | router | impl_block | null | null | null | 39 | null | WebhooksFlowError | null | 1 | 0 | null | null |
// Struct: ClientProcessorInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ClientProcessorInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | ClientProcessorInformation | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl Hash for for SdkEventMetricsBucketIdentifier
// File: crates/api_models/src/analytics/sdk_events.rs
// Module: api_models
// Methods: 1 total (0 public)
impl Hash for for SdkEventMetricsBucketIdentifier | crates/api_models/src/analytics/sdk_events.rs | api_models | impl_block | null | null | null | 53 | null | SdkEventMetricsBucketIdentifier | Hash for | 1 | 0 | null | null |
// Implementation: impl NuveiAuthorizePreprocessingCommon for for SetupMandateRequestData
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Methods: 16 total (0 public)
impl NuveiAuthorizePreprocessingCommon for for SetupMandateRequestData | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 77 | null | SetupMandateRequestData | NuveiAuthorizePreprocessingCommon for | 16 | 0 | null | null |
// Function: find_by_role_id
// File: crates/diesel_models/src/query/role.rs
// Module: diesel_models
pub fn find_by_role_id(conn: &PgPooledConn, role_id: &str) -> StorageResult<Self> | crates/diesel_models/src/query/role.rs | diesel_models | function_signature | null | null | null | 52 | find_by_role_id | null | null | null | null | null | null |
// Function: mk_add_locker_request_hs
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn mk_add_locker_request_hs(
jwekey: &settings::Jwekey,
locker: &settings::Locker,
payload: &StoreLockerReq,
locker_choice: api_enums::LockerChoice,
tenant_id: id_type::Tenant... | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 109 | mk_add_locker_request_hs | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Square
// File: crates/hyperswitch_connectors/src/connectors/square.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Square | crates/hyperswitch_connectors/src/connectors/square.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Square | api::Payment for | 0 | 0 | null | null |
// Struct: Gocardless
// File: crates/hyperswitch_connectors/src/connectors/gocardless.rs
// Module: hyperswitch_connectors
// Implementations: 19
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, a... | crates/hyperswitch_connectors/src/connectors/gocardless.rs | hyperswitch_connectors | struct_definition | Gocardless | 19 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"api::ConnectorCustomer",
"api::Paym... | 136 | null | null | null | null | null | null | null |
// Function: filter_by_optional_merchant_id
// File: crates/diesel_models/src/query/hyperswitch_ai_interaction.rs
// Module: diesel_models
pub fn filter_by_optional_merchant_id(
conn: &PgPooledConn,
merchant_id: Option<&common_utils::id_type::MerchantId>,
limit: i64,
offset: i64,
) ... | crates/diesel_models/src/query/hyperswitch_ai_interaction.rs | diesel_models | function_signature | null | null | null | 88 | filter_by_optional_merchant_id | null | null | null | null | null | null |
// Struct: ChargebeeCustomer
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct ChargebeeCustomer | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeCustomer | 1 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/injector/src/types.rs
// Module: injector
// Public functions: 2
// Public structs: 5
pub mod models {
use std::collections::HashMap;
use async_trait::async_trait;
use common_utils::pii::SecretSerdeValue;
use masking::Secret;
use router_env::logger;
use serde::{Deserialize, Ser... | crates/injector/src/types.rs | injector | full_file | null | null | null | 1,714 | null | null | null | null | null | null | null |
// Function: update_default_routing_config_for_profile
// File: crates/router/src/core/routing.rs
// Module: router
pub fn update_default_routing_config_for_profile(
state: SessionState,
merchant_context: domain::MerchantContext,
updated_config: Vec<routing_types::RoutableConnectorChoice>,
profile_id: ... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 101 | update_default_routing_config_for_profile | null | null | null | null | null | null |
// Function: find_by_role_id_org_id_tenant_id
// File: crates/diesel_models/src/query/role.rs
// Module: diesel_models
pub fn find_by_role_id_org_id_tenant_id(
conn: &PgPooledConn,
role_id: &str,
org_id: &id_type::OrganizationId,
tenant_id: &id_type::TenantId,
) -> StorageResult<Sel... | crates/diesel_models/src/query/role.rs | diesel_models | function_signature | null | null | null | 89 | find_by_role_id_org_id_tenant_id | null | null | null | null | null | null |
// Struct: DigitalvirgoPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DigitalvirgoPaymentsRequest | crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs | hyperswitch_connectors | struct_definition | DigitalvirgoPaymentsRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: GenericExpiredLinkData
// File: crates/hyperswitch_domain_models/src/api.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GenericExpiredLinkData | crates/hyperswitch_domain_models/src/api.rs | hyperswitch_domain_models | struct_definition | GenericExpiredLinkData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/connector_response.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<ConnectorResponse> | crates/diesel_models/src/query/connector_response.rs | diesel_models | function_signature | null | null | null | 45 | insert | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Celero
// File: crates/hyperswitch_connectors/src/connectors/celero.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Celero | crates/hyperswitch_connectors/src/connectors/celero.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Celero | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl Parse for for ResourceInput
// File: crates/router_derive/src/macros/generate_permissions.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl Parse for for ResourceInput | crates/router_derive/src/macros/generate_permissions.rs | router_derive | impl_block | null | null | null | 48 | null | ResourceInput | Parse for | 1 | 0 | null | null |
// Function: payouts_confirm
// File: crates/openapi/src/routes/payouts.rs
// Module: openapi
pub fn payouts_confirm() | crates/openapi/src/routes/payouts.rs | openapi | function_signature | null | null | null | 30 | payouts_confirm | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Helcim
// File: crates/hyperswitch_connectors/src/connectors/helcim.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Helcim | crates/hyperswitch_connectors/src/connectors/helcim.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Helcim | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: Refunds
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 2
pub struct Refunds | crates/router/src/routes/app.rs | router | struct_definition | Refunds | 2 | [] | 32 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Function: toggle_connector_agnostic_mit
// File: crates/router/src/routes/profiles.rs
// Module: router
pub fn toggle_connector_agnostic_mit(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<(
common_utils::id_type::MerchantId,
common_utils::id_type::ProfileId,
) | crates/router/src/routes/profiles.rs | router | function_signature | null | null | null | 79 | toggle_connector_agnostic_mit | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Paytm
// File: crates/hyperswitch_connectors/src/connectors/paytm.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Paytm | crates/hyperswitch_connectors/src/connectors/paytm.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Paytm | api::RefundSync for | 0 | 0 | null | null |
// Function: get_organization_type
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
pub fn get_organization_type(&self) -> common_enums::OrganizationType | crates/diesel_models/src/organization.rs | diesel_models | function_signature | null | null | null | 40 | get_organization_type | null | null | null | null | null | null |
// Function: delete_payment_token
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn delete_payment_token(
state: &routes::SessionState,
key_for_token: &str,
intent_status: enums::IntentStatus,
) -> RouterResult<()> | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 62 | delete_payment_token | null | null | null | null | null | null |
// Function: list_profile
// File: crates/router/src/core/admin.rs
// Module: router
pub fn list_profile(
state: SessionState,
merchant_id: id_type::MerchantId,
profile_id_list: Option<Vec<id_type::ProfileId>>,
) -> RouterResponse<Vec<api_models::admin::ProfileResponse>> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 70 | list_profile | null | null | null | null | null | null |
// Implementation: impl std::fmt::Display for for BackfillError
// File: crates/api_models/src/revenue_recovery_data_backfill.rs
// Module: api_models
// Methods: 1 total (0 public)
impl std::fmt::Display for for BackfillError | crates/api_models/src/revenue_recovery_data_backfill.rs | api_models | impl_block | null | null | null | 57 | null | BackfillError | std::fmt::Display for | 1 | 0 | null | null |
// Struct: PriorityLogicOutput
// File: crates/api_models/src/open_router.rs
// Module: api_models
// Implementations: 0
pub struct PriorityLogicOutput | crates/api_models/src/open_router.rs | api_models | struct_definition | PriorityLogicOutput | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: OpenIdConnect
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct OpenIdConnect | crates/api_models/src/user.rs | api_models | struct_definition | OpenIdConnect | 0 | [] | 35 | null | null | null | null | null | null | null |
// Function: construct_pre_authentication_router_data
// File: crates/router/src/core/authentication/transformers.rs
// Module: router
pub fn construct_pre_authentication_router_data<F: Clone>(
state: &SessionState,
authentication_connector: String,
card: hyperswitch_domain_models::payment_method_data::Car... | crates/router/src/core/authentication/transformers.rs | router | function_signature | null | null | null | 143 | construct_pre_authentication_router_data | null | null | null | null | null | null |
// Struct: InespayRefundWebhookData
// File: crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct InespayRefundWebhookData | crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs | hyperswitch_connectors | struct_definition | InespayRefundWebhookData | 0 | [] | 58 | null | null | null | null | null | null | null |
// Struct: EliminationRoutingEventBucketConfig
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct EliminationRoutingEventBucketConfig | crates/api_models/src/routing.rs | api_models | struct_definition | EliminationRoutingEventBucketConfig | 0 | [] | 42 | null | null | null | null | null | null | null |
// Function: validate
// File: crates/scheduler/src/settings.rs
// Module: scheduler
pub fn validate(&self) -> Result<(), ApplicationError> | crates/scheduler/src/settings.rs | scheduler | function_signature | null | null | null | 32 | validate | null | null | null | null | null | null |
// Function: postgres_url
// File: crates/hsdev/src/input_file.rs
// Module: hsdev
pub fn postgres_url(&self) -> String | crates/hsdev/src/input_file.rs | hsdev | function_signature | null | null | null | 33 | postgres_url | null | null | null | null | null | null |
// Function: call_connector_service_prerequisites_for_external_vault_proxy
// File: crates/router/src/core/payments.rs
// Module: router
pub fn call_connector_service_prerequisites_for_external_vault_proxy<
F,
RouterDReq,
ApiRequest,
D,
>(
state: &SessionState,
req_state: ReqState,
merchant... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 383 | call_connector_service_prerequisites_for_external_vault_proxy | null | null | null | null | null | null |
// Struct: ConfigUpdateInternal
// File: crates/diesel_models/src/configs.rs
// Module: diesel_models
// Implementations: 1
pub struct ConfigUpdateInternal | crates/diesel_models/src/configs.rs | diesel_models | struct_definition | ConfigUpdateInternal | 1 | [] | 37 | null | null | null | null | null | null | null |
// Function: is_expired
// File: crates/cards/src/lib.rs
// Module: cards
pub fn is_expired(&self) -> Result<bool, error_stack::Report<errors::ValidationError>> | crates/cards/src/lib.rs | cards | function_signature | null | null | null | 40 | is_expired | null | null | null | null | null | null |
// Struct: CheckoutCustomer
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutCustomer | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutCustomer | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: TransactionProcessingDetails
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TransactionProcessingDetails | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | TransactionProcessingDetails | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Public functions: 25
//! Contains the id type for merchant account
//!
//! Ids for merchant account are derived from the merchant name
//! If there are any special characters, they are removed
use std::fmt::Display;
use crate::{
date... | crates/common_utils/src/id_type/merchant.rs | common_utils | full_file | null | null | null | 1,831 | null | null | null | null | null | null | null |
// Struct: PaymentInstrument
// File: crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentInstrument | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs | hyperswitch_connectors | struct_definition | PaymentInstrument | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: find_authentication_by_merchant_id_connector_authentication_id
// File: crates/diesel_models/src/query/authentication.rs
// Module: diesel_models
pub fn find_authentication_by_merchant_id_connector_authentication_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
... | crates/diesel_models/src/query/authentication.rs | diesel_models | function_signature | null | null | null | 81 | find_authentication_by_merchant_id_connector_authentication_id | null | null | null | null | null | null |
// Function: transfer_user_key
// File: crates/router/src/routes/user.rs
// Module: router
pub fn transfer_user_key(
state: web::Data<AppState>,
req: HttpRequest,
payload: web::Json<user_api::UserKeyTransferRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 60 | transfer_user_key | null | null | null | null | null | null |
// Struct: RelayRefund
// File: crates/router/src/core/relay.rs
// Module: router
// Implementations: 1
// Traits: RelayInterface
pub struct RelayRefund | crates/router/src/core/relay.rs | router | struct_definition | RelayRefund | 1 | [
"RelayInterface"
] | 41 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Rapyd
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Rapyd | crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Rapyd | api::PaymentCapture for | 0 | 0 | null | null |
// File: crates/hyperswitch_domain_models/src/router_data_v2.rs
// Module: hyperswitch_domain_models
// Public structs: 1
pub mod flow_common_types;
use std::{marker::PhantomData, ops::Deref};
use common_utils::id_type;
#[cfg(feature = "frm")]
pub use flow_common_types::FrmFlowData;
#[cfg(feature = "payouts")]
pub u... | crates/hyperswitch_domain_models/src/router_data_v2.rs | hyperswitch_domain_models | full_file | null | null | null | 373 | null | null | null | null | null | null | null |
// Implementation: impl Default for for NetworkTokenizationBuilder
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
// Methods: 1 total (0 public)
impl Default for for NetworkTokenizationBuilder | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | impl_block | null | null | null | 51 | null | NetworkTokenizationBuilder | Default for | 1 | 0 | null | null |
// Implementation: impl api::Payment for for Rapyd
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Rapyd | crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Rapyd | api::Payment for | 0 | 0 | null | null |
// Function: verify_totp
// File: crates/router/src/core/user.rs
// Module: router
pub fn verify_totp(
state: SessionState,
user_token: auth::UserIdFromAuth,
req: user_api::VerifyTotpRequest,
) -> UserResponse<user_api::TokenResponse> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 66 | verify_totp | null | null | null | null | null | null |
// Function: check_totp_in_redis
// File: crates/router/src/utils/user/two_factor_auth.rs
// Module: router
pub fn check_totp_in_redis(state: &SessionState, user_id: &str) -> UserResult<bool> | crates/router/src/utils/user/two_factor_auth.rs | router | function_signature | null | null | null | 52 | check_totp_in_redis | null | null | null | null | null | null |
// Struct: TrustpayRedirectResponse
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpayRedirectResponse | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | TrustpayRedirectResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/connector_configs/src/response_modifier.rs
// Module: connector_configs
// Public functions: 1
use crate::common_config::{
CardProvider, ConnectorApiIntegrationPayload, DashboardPaymentMethodPayload,
DashboardRequestPayload, Provider,
};
impl ConnectorApiIntegrationPayload {
pub fn get_tra... | crates/connector_configs/src/response_modifier.rs | connector_configs | full_file | null | null | null | 2,963 | null | null | null | null | null | null | null |
// Struct: CardholderAuthentication
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardholderAuthentication | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | CardholderAuthentication | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/router/src/db/user_role.rs
// Module: router
// Public structs: 2
use common_utils::id_type;
use diesel_models::{
enums::{self, UserStatus},
user_role as storage,
};
use error_stack::{report, ResultExt};
use router_env::{instrument, tracing};
use super::MockDb;
use crate::{
connection,
... | crates/router/src/db/user_role.rs | router | full_file | null | null | null | 4,409 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/katapult.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/katapult.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Struct: Keys
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
// Implementations: 2
// Traits: Iterator
pub struct Keys<K> | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | struct_definition | Keys | 2 | [
"Iterator"
] | 46 | null | null | null | null | null | null | null |
// Struct: TwoFactorAuthStatusResponse
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct TwoFactorAuthStatusResponse | crates/api_models/src/user.rs | api_models | struct_definition | TwoFactorAuthStatusResponse | 0 | [] | 39 | null | null | null | null | null | null | null |
// Function: validate
// File: crates/external_services/src/email.rs
// Module: external_services
// Documentation: Validation for the Email client specific configurations
pub fn validate(&self) -> Result<(), &'static str> | crates/external_services/src/email.rs | external_services | function_signature | null | null | null | 46 | validate | null | null | null | null | null | null |
// File: crates/api_models/src/subscription.rs
// Module: api_models
// Public functions: 3
// Public structs: 7
use common_types::payments::CustomerAcceptance;
use common_utils::{errors::ValidationError, events::ApiEventMetric, types::MinorUnit};
use masking::Secret;
use utoipa::ToSchema;
use crate::{
enums as a... | crates/api_models/src/subscription.rs | api_models | full_file | null | null | null | 1,878 | null | null | null | null | null | null | null |
// Function: get_theme_using_optional_theme_id
// File: crates/router/src/utils/user/theme.rs
// Module: router
pub fn get_theme_using_optional_theme_id(
state: &SessionState,
theme_id: Option<String>,
) -> UserResult<Option<Theme>> | crates/router/src/utils/user/theme.rs | router | function_signature | null | null | null | 57 | get_theme_using_optional_theme_id | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Payload
// File: crates/hyperswitch_connectors/src/connectors/payload.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Payload | crates/hyperswitch_connectors/src/connectors/payload.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Payload | api::PaymentCapture for | 0 | 0 | null | null |
// File: crates/router/src/core/payments/operations/payment_attempt_record.rs
// Module: router
// Public structs: 1
use std::marker::PhantomData;
use api_models::{enums::FrmSuggestion, payments::PaymentsAttemptRecordRequest};
use async_trait::async_trait;
use common_utils::{
errors::CustomResult,
ext_traits:... | crates/router/src/core/payments/operations/payment_attempt_record.rs | router | full_file | null | null | null | 2,769 | null | null | null | null | null | null | null |
// Implementation: impl EmailToken
// File: crates/router/src/services/email/types.rs
// Module: router
// Methods: 4 total (3 public)
impl EmailToken | crates/router/src/services/email/types.rs | router | impl_block | null | null | null | 36 | null | EmailToken | null | 4 | 3 | null | null |
// Implementation: impl api::ConnectorCustomer for for HyperswitchVault
// File: crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorCustomer for for HyperswitchVault | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | HyperswitchVault | api::ConnectorCustomer for | 0 | 0 | null | null |
// Struct: NuveiWebhookTransactionId
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiWebhookTransactionId | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiWebhookTransactionId | 0 | [] | 57 | null | null | null | null | null | null | null |
// Struct: FiuuWebhookStatus
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiuuWebhookStatus | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | FiuuWebhookStatus | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorValidation for for Adyenplatform
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorValidation for for Adyenplatform | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Adyenplatform | api::ConnectorValidation for | 0 | 0 | null | null |
// Function: get_refund_filter_for_dimension
// File: crates/analytics/src/refunds/filters.rs
// Module: analytics
pub fn get_refund_filter_for_dimension<T>(
dimension: RefundDimensions,
auth: &AuthInfo,
time_range: &TimeRange,
pool: &T,
) -> FiltersResult<Vec<RefundFilterRow>>
where
T: AnalyticsDa... | crates/analytics/src/refunds/filters.rs | analytics | function_signature | null | null | null | 137 | get_refund_filter_for_dimension | 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.