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: DynamicRoutingStatsUpdate
// File: crates/diesel_models/src/dynamic_routing_stats.rs
// Module: diesel_models
// Implementations: 0
pub struct DynamicRoutingStatsUpdate | crates/diesel_models/src/dynamic_routing_stats.rs | diesel_models | struct_definition | DynamicRoutingStatsUpdate | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: get_currency
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn get_currency(&self) -> storage_enums::Currency | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 42 | get_currency | null | null | null | null | null | null |
// Function: set_config
// File: crates/router/src/core/configs.rs
// Module: router
pub fn set_config(state: SessionState, config: api::Config) -> RouterResponse<api::Config> | crates/router/src/core/configs.rs | router | function_signature | null | null | null | 45 | set_config | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Payone
// File: crates/hyperswitch_connectors/src/connectors/payone.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Payone | crates/hyperswitch_connectors/src/connectors/payone.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Payone | ConnectorValidation for | 0 | 0 | null | null |
// Implementation: impl std::fmt::Display for for AnalyticsProvider
// File: crates/analytics/src/lib.rs
// Module: analytics
// Methods: 1 total (0 public)
impl std::fmt::Display for for AnalyticsProvider | crates/analytics/src/lib.rs | analytics | impl_block | null | null | null | 49 | null | AnalyticsProvider | std::fmt::Display for | 1 | 0 | null | null |
// Function: is_password_rotate_required
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn is_password_rotate_required(&self, state: &SessionState) -> UserResult<bool> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 44 | is_password_rotate_required | null | null | null | null | null | null |
// Function: unlock_connector_customer_status
// File: crates/router/src/types/storage/revenue_recovery_redis_operation.rs
// Module: router
pub fn unlock_connector_customer_status(
state: &SessionState,
connector_customer_id: &str,
) -> CustomResult<bool, errors::StorageError> | crates/router/src/types/storage/revenue_recovery_redis_operation.rs | router | function_signature | null | null | null | 62 | unlock_connector_customer_status | null | null | null | null | null | null |
// Implementation: impl Refund for for Signifyd
// File: crates/hyperswitch_connectors/src/connectors/signifyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl Refund for for Signifyd | crates/hyperswitch_connectors/src/connectors/signifyd.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Signifyd | Refund for | 0 | 0 | null | null |
// Implementation: impl KafkaSettings
// File: crates/router/src/services/kafka.rs
// Module: router
// Methods: 1 total (1 public)
impl KafkaSettings | crates/router/src/services/kafka.rs | router | impl_block | null | null | null | 36 | null | KafkaSettings | null | 1 | 1 | null | null |
// Function: set_role_info_in_cache
// File: crates/router/src/services/authorization.rs
// Module: router
pub fn set_role_info_in_cache<A>(
state: &A,
role_id: &str,
role_info: &roles::RoleInfo,
expiry: i64,
) -> RouterResult<()>
where
A: SessionStateInfo + Sync, | crates/router/src/services/authorization.rs | router | function_signature | null | null | null | 81 | set_role_info_in_cache | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl api::PaymentSync for for Fiservemea
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Fiservemea | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Fiservemea | api::PaymentSync for | 0 | 0 | null | null |
// Function: merchant_account_toggle_kv
// File: crates/router/src/routes/admin.rs
// Module: router
pub fn merchant_account_toggle_kv(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::MerchantId>,
json_payload: web::Json<admin::ToggleKVRequest>,
) -> HttpResponse | crates/router/src/routes/admin.rs | router | function_signature | null | null | null | 77 | merchant_account_toggle_kv | null | null | null | null | null | null |
// Implementation: impl super::payment_intents::filters::PaymentIntentFilterAnalytics for for SqlxClient
// File: crates/analytics/src/sqlx.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::payment_intents::filters::PaymentIntentFilterAnalytics for for SqlxClient | crates/analytics/src/sqlx.rs | analytics | impl_block | null | null | null | 66 | null | SqlxClient | super::payment_intents::filters::PaymentIntentFilterAnalytics for | 0 | 0 | null | null |
// Implementation: impl api::PaymentToken for for Boku
// File: crates/hyperswitch_connectors/src/connectors/boku.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Boku | crates/hyperswitch_connectors/src/connectors/boku.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Boku | api::PaymentToken for | 0 | 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 |
// File: crates/router/src/services/authentication/detached.rs
// Module: router
// Public functions: 2
// Public structs: 1
use std::{borrow::Cow, string::ToString};
use actix_web::http::header::HeaderMap;
use common_utils::{
crypto::VerifySignature,
id_type::{ApiKeyId, MerchantId},
};
use error_stack::Resul... | crates/router/src/services/authentication/detached.rs | router | full_file | null | null | null | 911 | null | null | null | null | null | null | null |
// Struct: CountryCurrencyFilter
// File: crates/kgraph_utils/src/types.rs
// Module: kgraph_utils
// Implementations: 0
pub struct CountryCurrencyFilter | crates/kgraph_utils/src/types.rs | kgraph_utils | struct_definition | CountryCurrencyFilter | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/configs.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/configs.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/recurly.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/recurly.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Amazonpay
// File: crates/hyperswitch_connectors/src/connectors/amazonpay.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Amazonpay | crates/hyperswitch_connectors/src/connectors/amazonpay.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Amazonpay | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: update_payment_method_record
// File: crates/router/src/core/payment_methods/migration.rs
// Module: router
pub fn update_payment_method_record(
state: &SessionState,
req: pm_api::UpdatePaymentMethodRecord,
merchant_id: &id_type::MerchantId,
merchant_context: &merchant_context::MerchantCon... | crates/router/src/core/payment_methods/migration.rs | router | function_signature | null | null | null | 98 | update_payment_method_record | null | null | null | null | null | null |
// Struct: PaysafeApplePayBillingContact
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeApplePayBillingContact | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeApplePayBillingContact | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Sift
// File: crates/hyperswitch_connectors/src/connectors/sift.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Sift | crates/hyperswitch_connectors/src/connectors/sift.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Sift | ConnectorCommon for | 6 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Powertranz
// File: crates/hyperswitch_connectors/src/connectors/powertranz.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Powertranz | crates/hyperswitch_connectors/src/connectors/powertranz.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Powertranz | api::PaymentVoid for | 0 | 0 | null | null |
// Module Structure
// File: crates/storage_impl/src/mock_db.rs
// Module: storage_impl
// Public submodules:
pub mod payment_attempt;
pub mod payment_intent;
pub mod payout_attempt;
pub mod payouts;
pub mod redis_conn;
| crates/storage_impl/src/mock_db.rs | storage_impl | module_structure | null | null | null | 50 | null | null | null | null | null | 5 | 0 |
// File: crates/router/src/core/payments/operations/payment_attempt_list.rs
// Module: router
// Public structs: 1
use std::marker::PhantomData;
#[cfg(feature = "v2")]
use api_models::{enums::FrmSuggestion, payments::PaymentAttemptListRequest};
use async_trait::async_trait;
use common_utils::errors::CustomResult;
use... | crates/router/src/core/payments/operations/payment_attempt_list.rs | router | full_file | null | null | null | 1,756 | null | null | null | null | null | null | null |
// Struct: VgsRouterData
// File: crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VgsRouterData<T> | crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs | hyperswitch_connectors | struct_definition | VgsRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: PaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentsRequest | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | struct_definition | PaymentsRequest | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: payment_link_retrieve
// File: crates/openapi/src/routes/payment_link.rs
// Module: openapi
pub fn payment_link_retrieve() | crates/openapi/src/routes/payment_link.rs | openapi | function_signature | null | null | null | 33 | payment_link_retrieve | null | null | null | null | null | null |
// Implementation: impl TotalEventsResponse
// File: crates/api_models/src/webhook_events.rs
// Module: api_models
// Methods: 1 total (1 public)
impl TotalEventsResponse | crates/api_models/src/webhook_events.rs | api_models | impl_block | null | null | null | 40 | null | TotalEventsResponse | null | 1 | 1 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/nordea/requests.rs
// Module: hyperswitch_connectors
// Public structs: 14
use common_utils::types::StringMajorUnit;
use masking::Secret;
use serde::{Deserialize, Serialize};
pub struct NordeaRouterData<T> {
pub amount: StringMajorUnit,
pub router_data: T,... | crates/hyperswitch_connectors/src/connectors/nordea/requests.rs | hyperswitch_connectors | full_file | null | null | null | 3,310 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Coinbase
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Coinbase | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Coinbase | api::PaymentToken for | 0 | 0 | null | null |
// Function: get_credentials
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
pub fn get_credentials(
&self,
) -> CustomResult<&PaypalConnectorCredentials, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 59 | get_credentials | null | null | null | null | null | null |
// Implementation: impl MandateInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 7 total (0 public)
impl MandateInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 47 | null | KafkaStore | MandateInterface for | 7 | 0 | null | null |
// Function: delete_gsm_rule
// File: crates/router/src/routes/gsm.rs
// Module: router
pub fn delete_gsm_rule(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<gsm_api_types::GsmDeleteRequest>,
) -> impl Responder | crates/router/src/routes/gsm.rs | router | function_signature | null | null | null | 67 | delete_gsm_rule | null | null | null | null | null | null |
// Implementation: impl SdkEventMetricAccumulator for for CountAccumulator
// File: crates/analytics/src/sdk_events/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl SdkEventMetricAccumulator for for CountAccumulator | crates/analytics/src/sdk_events/accumulator.rs | analytics | impl_block | null | null | null | 60 | null | CountAccumulator | SdkEventMetricAccumulator for | 2 | 0 | null | null |
// Struct: RequiredFieldFinal
// File: crates/payment_methods/src/configs/settings.rs
// Module: payment_methods
// Implementations: 0
pub struct RequiredFieldFinal | crates/payment_methods/src/configs/settings.rs | payment_methods | struct_definition | RequiredFieldFinal | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: Mifinity
// File: crates/hyperswitch_connectors/src/connectors/mifinity.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/mifinity.rs | hyperswitch_connectors | struct_definition | Mifinity | 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... | 125 | null | null | null | null | null | null | null |
// Struct: SaleQuery
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SaleQuery | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | SaleQuery | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: map_notification_to_event_for_payout
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
pub fn map_notification_to_event_for_payout(
status: DmnStatus,
transaction_type: NuveiTransactionType,
) -> Result<api_models::webhooks::IncomingWebho... | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 93 | map_notification_to_event_for_payout | null | null | null | null | null | null |
// Function: retrieve_surcharge_decision_manager_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn retrieve_surcharge_decision_manager_config(
state: web::Data<AppState>,
req: HttpRequest,
) -> impl Responder | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 54 | retrieve_surcharge_decision_manager_config | null | null | null | null | null | null |
// Function: backward_conversion
// File: crates/currency_conversion/src/types.rs
// Module: currency_conversion
// Documentation: from base_currency -> to_currency
pub fn backward_conversion(
&self,
amt: Decimal,
to_currency: Currency,
) -> Result<Decimal, CurrencyConversionError> | crates/currency_conversion/src/types.rs | currency_conversion | function_signature | null | null | null | 64 | backward_conversion | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Function: add_two
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn add_two(n1: i64, n2: i64) -> i64 | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 49 | add_two | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Wellsfargo
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Wellsfargo | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Wellsfargo | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl RequestIdStore for for Store
// File: crates/router/src/db.rs
// Module: router
// Methods: 2 total (0 public)
impl RequestIdStore for for Store | crates/router/src/db.rs | router | impl_block | null | null | null | 42 | null | Store | RequestIdStore for | 2 | 0 | null | null |
// File: crates/router/src/routes/app.rs
// Module: router
// Public functions: 79
// Public structs: 53
use std::{collections::HashMap, sync::Arc};
use actix_web::{web, Scope};
#[cfg(all(feature = "olap", feature = "v1"))]
use api_models::routing::RoutingRetrieveQuery;
use api_models::routing::RuleMigrationQuery;
#[... | crates/router/src/routes/app.rs#chunk0 | router | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Function: get_cache_store
// File: crates/router/src/services.rs
// Module: router
pub fn get_cache_store(
config: &Settings,
shut_down_signal: oneshot::Sender<() | crates/router/src/services.rs | router | function_signature | null | null | null | 45 | get_cache_store | null | null | null | null | null | null |
// Trait: SdkEventMetricAnalytics
// File: crates/analytics/src/sdk_events/metrics.rs
// Module: analytics
pub trait SdkEventMetricAnalytics: LoadRow<SdkEventMetricRow> | crates/analytics/src/sdk_events/metrics.rs | analytics | trait_definition | null | null | null | 43 | null | null | SdkEventMetricAnalytics | null | null | null | null |
// Function: get_connector_payment_id
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_connector_payment_id(&self) -> Option<&str> | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 47 | get_connector_payment_id | null | null | null | null | null | null |
// Struct: AuthenticationResponse
// File: crates/api_models/src/authentication.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct AuthenticationResponse | crates/api_models/src/authentication.rs | api_models | struct_definition | AuthenticationResponse | 1 | [
"ApiEventMetric"
] | 40 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/webhook_events.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/webhook_events.rs | router | impl_block | null | null | null | 37 | null | Responder | null | 0 | 0 | null | null |
// Struct: PaytmPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/paytm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaytmPaymentsRequest | crates/hyperswitch_connectors/src/connectors/paytm/transformers.rs | hyperswitch_connectors | struct_definition | PaytmPaymentsRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: update_by_org_id
// File: crates/diesel_models/src/query/organization.rs
// Module: diesel_models
pub fn update_by_org_id(
conn: &PgPooledConn,
org_id: id_type::OrganizationId,
update: OrganizationUpdate,
) -> StorageResult<Self> | crates/diesel_models/src/query/organization.rs | diesel_models | function_signature | null | null | null | 66 | update_by_org_id | null | null | null | null | null | null |
// Function: perform_calculate_workflow
// File: crates/router/src/core/revenue_recovery.rs
// Module: router
pub fn perform_calculate_workflow(
state: &SessionState,
process: &storage::ProcessTracker,
profile: &domain::Profile,
merchant_context: domain::MerchantContext,
tracking_data: &pcr::Revenu... | crates/router/src/core/revenue_recovery.rs | router | function_signature | null | null | null | 115 | perform_calculate_workflow | null | null | null | null | null | null |
// File: crates/router/tests/connectors/thunes.rs
// Module: router
use masking::Secret;
// use router::{
// types::{self, api, storage::enums,
// }};
use crate::utils::{self, ConnectorActions};
use test_utils::connector_auth;
#[derive(Clone, Copy)]
struct ThunesTest;
impl ConnectorActions for ThunesTest {}
impl... | crates/router/tests/connectors/thunes.rs | router | full_file | null | null | null | 2,907 | null | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn new(merchant_id: String) -> UserResult<Self> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 35 | new | null | null | null | null | null | null |
// Struct: PoFulfill
// File: crates/hyperswitch_domain_models/src/router_flow_types/payouts.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PoFulfill | crates/hyperswitch_domain_models/src/router_flow_types/payouts.rs | hyperswitch_domain_models | struct_definition | PoFulfill | 0 | [] | 46 | null | null | null | null | null | null | null |
// File: crates/router/src/core/admin.rs
// Module: router
// Public functions: 41
// Public structs: 1
use std::str::FromStr;
use api_models::{
admin::{self as admin_types},
enums as api_enums, routing as routing_types,
};
use common_enums::{MerchantAccountRequestType, MerchantAccountType, OrganizationType};... | crates/router/src/core/admin.rs#chunk0 | router | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Implementation: impl Hypersense
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Hypersense | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 37 | null | Hypersense | null | 1 | 1 | null | null |
// Implementation: impl EmailData for for ReconActivation
// File: crates/router/src/services/email/types.rs
// Module: router
// Methods: 1 total (0 public)
impl EmailData for for ReconActivation | crates/router/src/services/email/types.rs | router | impl_block | null | null | null | 44 | null | ReconActivation | EmailData for | 1 | 0 | null | null |
// Implementation: impl PartialEq for for ApiEventMetricsBucketIdentifier
// File: crates/api_models/src/analytics/api_event.rs
// Module: api_models
// Methods: 1 total (0 public)
impl PartialEq for for ApiEventMetricsBucketIdentifier | crates/api_models/src/analytics/api_event.rs | api_models | impl_block | null | null | null | 51 | null | ApiEventMetricsBucketIdentifier | PartialEq for | 1 | 0 | null | null |
// Struct: GetPaymentMethodResponse
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
// Implementations: 0
pub struct GetPaymentMethodResponse | crates/router/src/core/payment_methods/transformers.rs | router | struct_definition | GetPaymentMethodResponse | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: AirwallexRedirectNextAction
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AirwallexRedirectNextAction | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AirwallexRedirectNextAction | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Paypal | api::PaymentSync for | 0 | 0 | null | null |
// Implementation: impl PayoutAttempt
// File: crates/diesel_models/src/query/payout_attempt.rs
// Module: diesel_models
// Methods: 8 total (0 public)
impl PayoutAttempt | crates/diesel_models/src/query/payout_attempt.rs | diesel_models | impl_block | null | null | null | 42 | null | PayoutAttempt | null | 8 | 0 | null | null |
// Function: generate_authorization_signature
// File: crates/hyperswitch_connectors/src/connectors/authipay.rs
// Module: hyperswitch_connectors
pub fn generate_authorization_signature(
&self,
auth: authipay::AuthipayAuthType,
request_id: &str,
payload: &str,
timestamp: i128,
... | crates/hyperswitch_connectors/src/connectors/authipay.rs | hyperswitch_connectors | function_signature | null | null | null | 88 | generate_authorization_signature | null | null | null | null | null | null |
// Struct: NuveiPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiPaymentsRequest | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiPaymentsRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/analytics/src/frm.rs
// Module: analytics
pub mod accumulator;
mod core;
pub mod filters;
pub mod metrics;
pub mod types;
pub use accumulator::{FrmMetricAccumulator, FrmMetricsAccumulator};
pub use self::core::{get_filters, get_metrics};
| crates/analytics/src/frm.rs | analytics | full_file | null | null | null | 64 | null | null | null | null | null | null | null |
// Struct: PaymentFilters
// File: crates/api_models/src/analytics/payments.rs
// Module: api_models
// Implementations: 0
pub struct PaymentFilters | crates/api_models/src/analytics/payments.rs | api_models | struct_definition | PaymentFilters | 0 | [] | 36 | null | null | null | null | null | null | null |
// Trait: KvStorePartition
// File: crates/storage_impl/src/redis/kv_store.rs
// Module: storage_impl
pub trait KvStorePartition | crates/storage_impl/src/redis/kv_store.rs | storage_impl | trait_definition | null | null | null | 32 | null | null | KvStorePartition | null | null | null | null |
// Function: generate
// File: crates/common_utils/src/id_type/global_id/customer.rs
// Module: common_utils
// Documentation: Generate a new GlobalCustomerId from a cell id
pub fn generate(cell_id: &crate::id_type::CellId) -> Self | crates/common_utils/src/id_type/global_id/customer.rs | common_utils | function_signature | null | null | null | 55 | generate | null | null | null | null | null | null |
// Struct: HyperwalletPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HyperwalletPaymentsResponse | crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs | hyperswitch_connectors | struct_definition | HyperwalletPaymentsResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl ThemeInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 7 total (0 public)
impl ThemeInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 45 | null | KafkaStore | ThemeInterface for | 7 | 0 | null | null |
// Struct: XenditMetadata
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct XenditMetadata | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | XenditMetadata | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: signout_hypersense_token
// File: crates/router/src/routes/hypersense.rs
// Module: router
pub fn signout_hypersense_token(
state: web::Data<AppState>,
http_req: HttpRequest,
json_payload: web::Json<external_service_auth_api::ExternalSignoutTokenRequest>,
) -> HttpResponse | crates/router/src/routes/hypersense.rs | router | function_signature | null | null | null | 76 | signout_hypersense_token | null | null | null | null | null | null |
// Struct: KafkaRefundEvent
// File: crates/router/src/services/kafka/refund_event.rs
// Module: router
// Implementations: 4
// Traits: super::KafkaMessage, super::KafkaMessage
pub struct KafkaRefundEvent<'a> | crates/router/src/services/kafka/refund_event.rs | router | struct_definition | KafkaRefundEvent | 4 | [
"super::KafkaMessage",
"super::KafkaMessage"
] | 58 | null | null | null | null | null | null | null |
// Struct: TokenizedWalletValue1
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct TokenizedWalletValue1 | crates/api_models/src/payment_methods.rs | api_models | struct_definition | TokenizedWalletValue1 | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Xendit
// File: crates/hyperswitch_connectors/src/connectors/xendit.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Xendit | crates/hyperswitch_connectors/src/connectors/xendit.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Xendit | api::PaymentToken for | 0 | 0 | null | null |
// Function: get_payments_aggregates_profile
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn get_payments_aggregates_profile(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
payload: web::Query<common_utils::types::TimeRange>,
) -> impl Responder | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 75 | get_payments_aggregates_profile | null | null | null | null | null | null |
// Function: profile_payments_list_by_filter
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn profile_payments_list_by_filter(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
payload: web::Json<payment_types::PaymentListFilterConstraints>,
) -> impl Responder | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 73 | profile_payments_list_by_filter | null | null | null | null | null | null |
) -> errors::CustomResult<String, errors::ValidationError> {
match self {
Self::ConnectorTransactionId(txn_id) => Ok(txn_id.to_string()),
_ => Err(errors::ValidationError::IncorrectValueProvided {
field_name: "connector_transaction_id",
})
.att... | crates/hyperswitch_domain_models/src/router_request_types.rs#chunk1 | hyperswitch_domain_models | chunk | null | null | null | 3,786 | null | null | null | null | null | null | null |
// File: crates/router/src/routes/webhooks.rs
// Module: router
// Public functions: 5
use actix_web::{web, HttpRequest, Responder};
use router_env::{instrument, tracing, Flow};
use super::app::AppState;
use crate::{
core::{
api_locking,
webhooks::{self, types},
},
services::{api, authenti... | crates/router/src/routes/webhooks.rs | router | full_file | null | null | null | 1,432 | null | null | null | null | null | null | null |
// Struct: AcsProtocolVersion
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AcsProtocolVersion | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | AcsProtocolVersion | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: ChargesPaymentRequest
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargesPaymentRequest | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | ChargesPaymentRequest | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: Card
// File: crates/api_models/src/blocklist.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct Card | crates/api_models/src/blocklist.rs | api_models | struct_definition | Card | 1 | [
"ApiEventMetric"
] | 39 | null | null | null | null | null | null | null |
// Struct: ItaubankPaymentsSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ItaubankPaymentsSyncResponse | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs | hyperswitch_connectors | struct_definition | ItaubankPaymentsSyncResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: BreadpayPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BreadpayPaymentsResponse | crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs | hyperswitch_connectors | struct_definition | BreadpayPaymentsResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 8
use common_enums::enums;
use common_utils::types::StringMinorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, Rout... | crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 1,667 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Public exports:
pub use bool_wrappers::*;
pub use u32_wrappers::*;
| crates/common_types/src/primitive_wrappers.rs | common_types | module_structure | null | null | null | 41 | null | null | null | null | null | 0 | 2 |
// Implementation: impl super::KafkaMessage for for KafkaPaymentIntent
// File: crates/router/src/services/kafka/payment_intent.rs
// Module: router
// Methods: 2 total (0 public)
impl super::KafkaMessage for for KafkaPaymentIntent | crates/router/src/services/kafka/payment_intent.rs | router | impl_block | null | null | null | 54 | null | KafkaPaymentIntent | super::KafkaMessage for | 2 | 0 | null | null |
// Implementation: impl Helcim
// File: crates/hyperswitch_connectors/src/connectors/helcim.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Helcim | crates/hyperswitch_connectors/src/connectors/helcim.rs | hyperswitch_connectors | impl_block | null | null | null | 49 | null | Helcim | null | 1 | 1 | null | null |
// Function: find_by_merchant_id_attempt_id
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn find_by_merchant_id_attempt_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
attempt_id: &str,
) -> StorageResult<Self> | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 77 | find_by_merchant_id_attempt_id | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/merchant_key_store.rs
// Module: hyperswitch_domain_models
// Public structs: 1
use common_utils::{
crypto::Encryptable,
custom_serde, date_time,
errors::{CustomResult, ValidationError},
type_name,
types::keymanager::{self, KeyManagerState},
};
use erro... | crates/hyperswitch_domain_models/src/merchant_key_store.rs | hyperswitch_domain_models | full_file | null | null | null | 535 | null | null | null | null | null | null | null |
// Struct: GlobepayRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobepayRefundRequest | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs | hyperswitch_connectors | struct_definition | GlobepayRefundRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Trait: RouterDataAuthorize
// File: crates/router/src/core/payments/flows/authorize_flow.rs
// Module: router
pub trait RouterDataAuthorize | crates/router/src/core/payments/flows/authorize_flow.rs | router | trait_definition | null | null | null | 33 | null | null | RouterDataAuthorize | null | null | null | null |
// Function: generate_id
// File: crates/router/src/utils.rs
// Module: router
pub fn generate_id(length: usize, prefix: &str) -> String | crates/router/src/utils.rs | router | function_signature | null | null | null | 35 | generate_id | null | null | null | null | null | null |
// Struct: VariableDeletePaymentMethodFromVaultInput
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VariableDeletePaymentMethodFromVaultInput | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | VariableDeletePaymentMethodFromVaultInput | 0 | [] | 56 | null | null | null | null | null | null | null |
// Function: handle_json_response_deserialization_failure
// File: crates/router/src/utils.rs
// Module: router
pub fn handle_json_response_deserialization_failure(
res: types::Response,
connector: &'static str,
) -> CustomResult<types::ErrorResponse, errors::ConnectorError> | crates/router/src/utils.rs | router | function_signature | null | null | null | 61 | handle_json_response_deserialization_failure | 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.