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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/deutschebank.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/deutschebank.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Function: read_from_stream
// File: crates/drainer/src/stream.rs
// Module: drainer
pub fn read_from_stream(
&self,
stream_name: &str,
max_read_count: u64,
) -> errors::DrainerResult<StreamReadResult> | crates/drainer/src/stream.rs | drainer | function_signature | null | null | null | 62 | read_from_stream | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Bluesnap
// File: crates/hyperswitch_connectors/src/connectors/bluesnap.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Bluesnap | crates/hyperswitch_connectors/src/connectors/bluesnap.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Bluesnap | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: WellsfargoServerErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WellsfargoServerErrorResponse | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | WellsfargoServerErrorResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: CustomerDeleteResponse
// File: crates/router/src/compatibility/stripe/customers/types.rs
// Module: router
// Implementations: 0
pub struct CustomerDeleteResponse | crates/router/src/compatibility/stripe/customers/types.rs | router | struct_definition | CustomerDeleteResponse | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: update_volume_split
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn update_volume_split(&mut self, volume: Option<u8>) | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 39 | update_volume_split | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Deutschebank
// File: crates/hyperswitch_connectors/src/connectors/deutschebank.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Deutschebank | crates/hyperswitch_connectors/src/connectors/deutschebank.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Deutschebank | ConnectorCommon for | 6 | 0 | null | null |
// Implementation: impl ApiEventMetric for for UnlockStatusResponse
// File: crates/api_models/src/revenue_recovery_data_backfill.rs
// Module: api_models
// Methods: 1 total (0 public)
impl ApiEventMetric for for UnlockStatusResponse | crates/api_models/src/revenue_recovery_data_backfill.rs | api_models | impl_block | null | null | null | 53 | null | UnlockStatusResponse | ApiEventMetric for | 1 | 0 | null | null |
// Struct: PaymentMethodSession
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct PaymentMethodSession | crates/router/src/routes/app.rs | router | struct_definition | PaymentMethodSession | 1 | [] | 34 | null | null | null | null | null | null | null |
// Struct: DlocalPaymentsCancelRequest
// File: crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DlocalPaymentsCancelRequest | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs | hyperswitch_connectors | struct_definition | DlocalPaymentsCancelRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: SantanderMetadataObject
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SantanderMetadataObject | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | SantanderMetadataObject | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: PayboxRouterData
// File: crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayboxRouterData<T> | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | hyperswitch_connectors | struct_definition | PayboxRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: RelayError
// File: crates/api_models/src/relay.rs
// Module: api_models
// Implementations: 0
pub struct RelayError | crates/api_models/src/relay.rs | api_models | struct_definition | RelayError | 0 | [] | 34 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Cybersource | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl ApiEventMetric for for AuthenticationEligibilityResponse
// File: crates/api_models/src/authentication.rs
// Module: api_models
// Methods: 1 total (0 public)
impl ApiEventMetric for for AuthenticationEligibilityResponse | crates/api_models/src/authentication.rs | api_models | impl_block | null | null | null | 52 | null | AuthenticationEligibilityResponse | ApiEventMetric for | 1 | 0 | null | null |
// File: crates/scheduler/src/configs/settings.rs
// Module: scheduler
// Public structs: 4
pub use router_env::config::{Log, LogConsole, LogFile, LogTelemetry};
use serde::Deserialize;
#[derive(Debug, Clone, Deserialize)]
#[serde(default)]
pub struct SchedulerSettings {
pub stream: String,
pub producer: Prod... | crates/scheduler/src/configs/settings.rs | scheduler | full_file | null | null | null | 240 | null | null | null | null | null | null | null |
// Function: routing_create_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn routing_create_config(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<routing_types::RoutingConfigRequest>,
transaction_type: enums::TransactionType,
) -> impl Responder | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 72 | routing_create_config | null | null | null | null | null | null |
// File: crates/router/tests/connectors/cryptopay.rs
// Module: router
use hyperswitch_domain_models::address::{Address, AddressDetails, PhoneDetails};
use masking::Secret;
use router::types::{self, api, domain, storage::enums, PaymentAddress};
use crate::{
connector_auth,
utils::{self, ConnectorActions},
};
... | crates/router/tests/connectors/cryptopay.rs | router | full_file | null | null | null | 1,200 | null | null | null | null | null | null | null |
// File: crates/router_derive/src/lib.rs
// Module: router_derive
// Public functions: 16
// Public structs: 3
//! Utility macros for the `router` crate.
#![warn(missing_docs)]
use syn::parse_macro_input;
use crate::macros::diesel::DieselEnumMeta;
mod macros;
/// Uses the [`Debug`][Debug] implementation of a type to... | crates/router_derive/src/lib.rs | router_derive | full_file | null | null | null | 6,444 | null | null | null | null | null | null | null |
// Function: update_target_time
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn update_target_time(&mut self, new: &Self) | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 38 | update_target_time | null | null | null | null | null | null |
// Implementation: impl ResponseId
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl ResponseId | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | impl_block | null | null | null | 44 | null | ResponseId | null | 1 | 1 | null | null |
// Implementation: impl KafkaPaymentIntent
// File: crates/router/src/services/kafka/payment_intent.rs
// Module: router
// Methods: 1 total (1 public)
impl KafkaPaymentIntent | crates/router/src/services/kafka/payment_intent.rs | router | impl_block | null | null | null | 40 | null | KafkaPaymentIntent | null | 1 | 1 | null | null |
// Function: retrieve_gsm_rule
// File: crates/router/src/core/gsm.rs
// Module: router
pub fn retrieve_gsm_rule(
state: SessionState,
gsm_request: gsm_api_types::GsmRetrieveRequest,
) -> RouterResponse<gsm_api_types::GsmResponse> | crates/router/src/core/gsm.rs | router | function_signature | null | null | null | 65 | retrieve_gsm_rule | null | null | null | null | null | null |
// Function: from_conf
// File: crates/drainer/src/handler.rs
// Module: drainer
pub fn from_conf(
conf: DrainerSettings,
stores: HashMap<id_type::TenantId, Arc<Store>>,
) -> Self | crates/drainer/src/handler.rs | drainer | function_signature | null | null | null | 54 | from_conf | null | null | null | null | null | null |
// Function: get_refund_id_as_string
// File: crates/api_models/src/refunds.rs
// Module: api_models
pub fn get_refund_id_as_string(&self) -> String | crates/api_models/src/refunds.rs | api_models | function_signature | null | null | null | 40 | get_refund_id_as_string | null | null | null | null | null | null |
// Struct: Coupons
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Coupons | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | Coupons | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: set_order_tax_amount
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn set_order_tax_amount(&mut self, order_tax_amount: Option<MinorUnit>) | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 52 | set_order_tax_amount | null | null | null | null | null | null |
// Function: should_call_retrieve
// File: crates/router/src/core/payouts/helpers.rs
// Module: router
pub fn should_call_retrieve(status: api_enums::PayoutStatus) -> bool | crates/router/src/core/payouts/helpers.rs | router | function_signature | null | null | null | 44 | should_call_retrieve | null | null | null | null | null | null |
// Struct: TsysPaymentsCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TsysPaymentsCaptureRequest | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs | hyperswitch_connectors | struct_definition | TsysPaymentsCaptureRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: connector_update
// File: crates/openapi/src/routes/merchant_connector_account.rs
// Module: openapi
pub fn connector_update() | crates/openapi/src/routes/merchant_connector_account.rs | openapi | function_signature | null | null | null | 31 | connector_update | null | null | null | null | null | null |
// Trait: OrganizationBridge
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
pub trait OrganizationBridge | crates/diesel_models/src/organization.rs | diesel_models | trait_definition | null | null | null | 28 | null | null | OrganizationBridge | null | null | null | null |
// Struct: Bamboraapac
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid,... | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs | hyperswitch_connectors | struct_definition | Bamboraapac | 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",
"ConnectorValidation",
"ConnectorCom... | 131 | null | null | null | null | null | null | null |
// Struct: ProfileResponse
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct ProfileResponse | crates/api_models/src/admin.rs | api_models | struct_definition | ProfileResponse | 0 | [] | 33 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/api/fraud_check_v2.rs
// Module: hyperswitch_interfaces
//! FRM V2 interface
use hyperswitch_domain_models::{
router_data_v2::flow_common_types::FrmFlowData,
router_flow_types::{Checkout, Fulfillment, RecordReturn, Sale, Transaction},
router_request_types::fraud_c... | crates/hyperswitch_interfaces/src/api/fraud_check_v2.rs | hyperswitch_interfaces | full_file | null | null | null | 418 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Loonio
// File: crates/hyperswitch_connectors/src/connectors/loonio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Loonio | crates/hyperswitch_connectors/src/connectors/loonio.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Loonio | api::PaymentToken for | 0 | 0 | null | null |
// Implementation: impl GlobalStorageInterface for for Store
// File: crates/router/src/db.rs
// Module: router
// Methods: 1 total (0 public)
impl GlobalStorageInterface for for Store | crates/router/src/db.rs | router | impl_block | null | null | null | 42 | null | Store | GlobalStorageInterface for | 1 | 0 | null | null |
// Struct: AffirmPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AffirmPaymentsResponse | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | struct_definition | AffirmPaymentsResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: set_validate_result
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
pub fn set_validate_result(
self,
customer: &'a api::CustomerDetails,
) -> NetworkTokenizationBuilder<'a, PmValidated> | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | function_signature | null | null | null | 62 | set_validate_result | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/xendit.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/xendit.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Struct: MonerisAuthType
// File: crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MonerisAuthType | crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs | hyperswitch_connectors | struct_definition | MonerisAuthType | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Payme
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
// Methods: 8 total (0 public)
impl webhooks::IncomingWebhook for for Payme | crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Payme | webhooks::IncomingWebhook for | 8 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Taxjar
// File: crates/hyperswitch_connectors/src/connectors/taxjar.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Taxjar | crates/hyperswitch_connectors/src/connectors/taxjar.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Taxjar | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: VerifyEmail
// File: crates/router/src/services/email/types.rs
// Module: router
// Implementations: 1
// Traits: EmailData
pub struct VerifyEmail | crates/router/src/services/email/types.rs | router | struct_definition | VerifyEmail | 1 | [
"EmailData"
] | 39 | null | null | null | null | null | null | null |
// Function: get_connector_name
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_connector_name(&self) -> common_enums::connector_enums::Connector | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 41 | get_connector_name | null | null | null | null | null | null |
// Implementation: impl Datatrans
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl Datatrans | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | impl_block | null | null | null | 48 | null | Datatrans | null | 1 | 0 | null | null |
// File: crates/scheduler/src/db/queue.rs
// Module: scheduler
use common_utils::errors::CustomResult;
use diesel_models::process_tracker as storage;
use redis_interface::{errors::RedisError, RedisEntryId, SetnxReply};
use router_env::logger;
use storage_impl::{mock_db::MockDb, redis::kv_store::RedisConnInterface};
u... | crates/scheduler/src/db/queue.rs | scheduler | full_file | null | null | null | 1,396 | null | null | null | null | null | null | null |
// Implementation: impl Refund for for Payone
// File: crates/hyperswitch_connectors/src/connectors/payone.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl Refund for for Payone | crates/hyperswitch_connectors/src/connectors/payone.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Payone | Refund for | 0 | 0 | null | null |
// Struct: MerchantAdvice
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantAdvice | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | MerchantAdvice | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: MerchantAccountListRequest
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct MerchantAccountListRequest | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantAccountListRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: FinixRouterData
// File: crates/hyperswitch_connectors/src/connectors/finix/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FinixRouterData<T> | crates/hyperswitch_connectors/src/connectors/finix/transformers.rs | hyperswitch_connectors | struct_definition | FinixRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/routing.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/routing.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: CustomerUpdateRequest
// File: crates/router/src/compatibility/stripe/customers/types.rs
// Module: router
// Implementations: 0
pub struct CustomerUpdateRequest | crates/router/src/compatibility/stripe/customers/types.rs | router | struct_definition | CustomerUpdateRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: PaymentMethodNew
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
// Implementations: 1
pub struct PaymentMethodNew | crates/diesel_models/src/payment_method.rs | diesel_models | struct_definition | PaymentMethodNew | 1 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl CurrentFlow
// File: crates/router/src/types/domain/user/decision_manager.rs
// Module: router
// Methods: 2 total (1 public)
impl CurrentFlow | crates/router/src/types/domain/user/decision_manager.rs | router | impl_block | null | null | null | 39 | null | CurrentFlow | null | 2 | 1 | null | null |
// Implementation: impl State for for CardInfoUpdate
// File: crates/router/src/core/cards_info.rs
// Module: router
// Methods: 0 total (0 public)
impl State for for CardInfoUpdate | crates/router/src/core/cards_info.rs | router | impl_block | null | null | null | 44 | null | CardInfoUpdate | State for | 0 | 0 | null | null |
// Implementation: impl api::RefundSync for for Authorizedotnet
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Authorizedotnet | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Authorizedotnet | api::RefundSync for | 0 | 0 | null | null |
// Struct: GigadatPaymentData
// File: crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GigadatPaymentData | crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs | hyperswitch_connectors | struct_definition | GigadatPaymentData | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: diesel_enum_derive_string
// File: crates/router_derive/src/lib.rs
// Module: router_derive
pub fn diesel_enum_derive_string(input: proc_macro::TokenStream) -> proc_macro::TokenStream | crates/router_derive/src/lib.rs | router_derive | function_signature | null | null | null | 48 | diesel_enum_derive_string | null | null | null | null | null | null |
// Implementation: impl GetCaptureMethod for for PaymentsSyncData
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl GetCaptureMethod for for PaymentsSyncData | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | PaymentsSyncData | GetCaptureMethod for | 1 | 0 | null | null |
// Struct: BankAccountCredentialsRequest
// File: crates/pm_auth/src/types.rs
// Module: pm_auth
// Implementations: 0
pub struct BankAccountCredentialsRequest | crates/pm_auth/src/types.rs | pm_auth | struct_definition | BankAccountCredentialsRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: enable_platform_account
// File: crates/router/src/core/admin.rs
// Module: router
pub fn enable_platform_account(
state: SessionState,
merchant_id: id_type::MerchantId,
) -> RouterResponse<()> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 49 | enable_platform_account | null | null | null | null | null | null |
// File: crates/common_utils/src/metrics/utils.rs
// Module: common_utils
// Public functions: 2
//! metric utility functions
use std::time;
use router_env::opentelemetry;
/// Record the time taken by the future to execute
#[inline]
pub async fn time_future<F, R>(future: F) -> (R, time::Duration)
where
F: futur... | crates/common_utils/src/metrics/utils.rs | common_utils | full_file | null | null | null | 238 | null | null | null | null | null | null | null |
// Function: kv_wrapper
// File: crates/storage_impl/src/redis/kv_store.rs
// Module: storage_impl
pub fn kv_wrapper<'a, T, D, S>(
store: &KVRouterStore<D>,
op: KvOperation<'a, S>,
partition_key: PartitionKey<'a>,
) -> CustomResult<KvResult<T>, RedisError>
where
T: de::DeserializeOwned,
D: crate::d... | crates/storage_impl/src/redis/kv_store.rs | storage_impl | function_signature | null | null | null | 119 | kv_wrapper | null | null | null | null | null | null |
// Struct: EpsRedirectionResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct EpsRedirectionResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | EpsRedirectionResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: routing_unlink_config
// File: crates/openapi/src/routes/profile.rs
// Module: openapi
pub fn routing_unlink_config() | crates/openapi/src/routes/profile.rs | openapi | function_signature | null | null | null | 32 | routing_unlink_config | null | null | null | null | null | null |
// Struct: RefundResponseData
// File: crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponseData | crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponseData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: DisputesAggregateResponse
// File: crates/api_models/src/disputes.rs
// Module: api_models
// Implementations: 0
pub struct DisputesAggregateResponse | crates/api_models/src/disputes.rs | api_models | struct_definition | DisputesAggregateResponse | 0 | [] | 41 | null | null | null | null | null | null | null |
// File: crates/api_models/src/poll.rs
// Module: api_models
// Public structs: 1
use common_utils::events::{ApiEventMetric, ApiEventsType};
use serde::Serialize;
use utoipa::ToSchema;
#[derive(Debug, ToSchema, Clone, Serialize)]
pub struct PollResponse {
/// The poll id
pub poll_id: String,
/// Status of... | crates/api_models/src/poll.rs | api_models | full_file | null | null | null | 201 | null | null | null | null | null | null | null |
// Function: sdk_events_core
// File: crates/analytics/src/sdk_events/core.rs
// Module: analytics
pub fn sdk_events_core(
pool: &AnalyticsProvider,
req: SdkEventsRequest,
publishable_key: &String,
) -> AnalyticsResult<Vec<SdkEventsResult>> | crates/analytics/src/sdk_events/core.rs | analytics | function_signature | null | null | null | 63 | sdk_events_core | null | null | null | null | null | null |
// Function: diesel_enum_db_enum_derive_inner
// File: crates/router_derive/src/macros/diesel.rs
// Module: router_derive
pub fn diesel_enum_db_enum_derive_inner(ast: &DeriveInput) -> syn::Result<TokenStream> | crates/router_derive/src/macros/diesel.rs | router_derive | function_signature | null | null | null | 55 | diesel_enum_db_enum_derive_inner | null | null | null | null | null | null |
// Function: number_array_value
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn number_array_value(input: &str) -> ParseResult<&str, ast::ValueType> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 47 | number_array_value | null | null | null | null | null | null |
// Struct: RevenueRecoveryDataBackfillResponse
// File: crates/api_models/src/revenue_recovery_data_backfill.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct RevenueRecoveryDataBackfillResponse | crates/api_models/src/revenue_recovery_data_backfill.rs | api_models | struct_definition | RevenueRecoveryDataBackfillResponse | 1 | [
"ApiEventMetric"
] | 55 | null | null | null | null | null | null | null |
// Implementation: impl ApiKeys
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl ApiKeys | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 35 | null | ApiKeys | null | 1 | 1 | null | null |
// Struct: CustomerPaymentMethodListResponse
// File: crates/router/src/compatibility/stripe/customers/types.rs
// Module: router
// Implementations: 0
pub struct CustomerPaymentMethodListResponse | crates/router/src/compatibility/stripe/customers/types.rs | router | struct_definition | CustomerPaymentMethodListResponse | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Barclaycard
// File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Barclaycard | crates/hyperswitch_connectors/src/connectors/barclaycard.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Barclaycard | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl api::PaymentToken for for Jpmorgan
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Jpmorgan | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Jpmorgan | api::PaymentToken for | 0 | 0 | null | null |
// Implementation: impl behaviour::Conversion for for MerchantConnectorAccount
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
// Methods: 3 total (0 public)
impl behaviour::Conversion for for MerchantConnectorAccount | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | impl_block | null | null | null | 57 | null | MerchantConnectorAccount | behaviour::Conversion for | 3 | 0 | null | null |
// Struct: AuthenticationData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AuthenticationData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | AuthenticationData | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl Shift4
// File: crates/hyperswitch_connectors/src/connectors/shift4.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Shift4 | crates/hyperswitch_connectors/src/connectors/shift4.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Shift4 | null | 1 | 1 | null | null |
// Struct: AuthenticationResponse
// File: crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthenticationResponse | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs | hyperswitch_connectors | struct_definition | AuthenticationResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: Customer
// File: crates/hyperswitch_domain_models/src/customer.rs
// Module: hyperswitch_domain_models
// Implementations: 3
// Traits: behaviour::Conversion, behaviour::Conversion
pub struct Customer | crates/hyperswitch_domain_models/src/customer.rs | hyperswitch_domain_models | struct_definition | Customer | 3 | [
"behaviour::Conversion",
"behaviour::Conversion"
] | 48 | null | null | null | null | null | null | null |
// Function: get_billing_handler
// File: crates/router/src/core/subscription.rs
// Module: router
pub fn get_billing_handler(
&self,
customer: hyperswitch_domain_models::customer::Customer,
) -> errors::RouterResult<BillingHandler> | crates/router/src/core/subscription.rs | router | function_signature | null | null | null | 56 | get_billing_handler | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/router_flow_types/mandate_revoke.rs
// Module: hyperswitch_domain_models
// Public structs: 1
#[derive(Clone, Debug)]
pub struct MandateRevoke;
| crates/hyperswitch_domain_models/src/router_flow_types/mandate_revoke.rs | hyperswitch_domain_models | full_file | null | null | null | 49 | null | null | null | null | null | null | null |
// Implementation: impl KVRouterStore
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
// Methods: 9 total (3 public)
impl KVRouterStore | crates/storage_impl/src/kv_router_store.rs | storage_impl | impl_block | null | null | null | 41 | null | KVRouterStore | null | 9 | 3 | null | null |
// Struct: VerifyWebhookSource
// File: crates/hyperswitch_domain_models/src/router_flow_types/webhooks.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct VerifyWebhookSource | crates/hyperswitch_domain_models/src/router_flow_types/webhooks.rs | hyperswitch_domain_models | struct_definition | VerifyWebhookSource | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: check_if_profile_id_is_present_in_payment_intent
// File: crates/router/src/core/verification/utils.rs
// Module: router
pub fn check_if_profile_id_is_present_in_payment_intent(
payment_id: PaymentId,
state: &SessionState,
auth_data: &AuthenticationData,
) -> CustomResult<(), errors::ApiErrorR... | crates/router/src/core/verification/utils.rs | router | function_signature | null | null | null | 74 | check_if_profile_id_is_present_in_payment_intent | null | null | null | null | null | null |
// Struct: TransactionFailedRequest
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TransactionFailedRequest | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | TransactionFailedRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/router/src/core/unified_authentication_service/utils.rs
// Module: router
// Public functions: 5
use std::marker::PhantomData;
use common_enums::enums::PaymentMethod;
use common_utils::ext_traits::{AsyncExt, ValueExt};
use error_stack::{report, ResultExt};
use hyperswitch_domain_models::{
errors::... | crates/router/src/core/unified_authentication_service/utils.rs | router | full_file | null | null | null | 2,797 | null | null | null | null | null | null | null |
// Struct: CybersourceConsumerAuthInformationValidateRequest
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceConsumerAuthInformationValidateRequest | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceConsumerAuthInformationValidateRequest | 0 | [] | 59 | null | null | null | null | null | null | null |
// Struct: PhonepeCard
// File: crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PhonepeCard | crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs | hyperswitch_connectors | struct_definition | PhonepeCard | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(config: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Implementation: impl super::behaviour::Conversion for for Tokenization
// File: crates/hyperswitch_domain_models/src/tokenization.rs
// Module: hyperswitch_domain_models
// Methods: 3 total (0 public)
impl super::behaviour::Conversion for for Tokenization | crates/hyperswitch_domain_models/src/tokenization.rs | hyperswitch_domain_models | impl_block | null | null | null | 59 | null | Tokenization | super::behaviour::Conversion for | 3 | 0 | null | null |
// Struct: StripebillingWebhookLinesData
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripebillingWebhookLinesData | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | StripebillingWebhookLinesData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: TsysSyncRequest
// File: crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TsysSyncRequest | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs | hyperswitch_connectors | struct_definition | TsysSyncRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl ProfileWrapper
// File: crates/router/src/core/admin.rs
// Module: router
// Methods: 8 total (4 public)
impl ProfileWrapper | crates/router/src/core/admin.rs | router | impl_block | null | null | null | 35 | null | ProfileWrapper | null | 8 | 4 | null | null |
// Implementation: impl DieselDeriveInputExt for for DeriveInput
// File: crates/router_derive/src/macros/diesel.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl DieselDeriveInputExt for for DeriveInput | crates/router_derive/src/macros/diesel.rs | router_derive | impl_block | null | null | null | 57 | null | DeriveInput | DieselDeriveInputExt for | 1 | 0 | null | null |
// Function: get_card_from_locker
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn get_card_from_locker(
state: &routes::SessionState,
customer_id: &id_type::CustomerId,
merchant_id: &id_type::MerchantId,
card_reference: &str,
) -> errors::RouterResult<Card> | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 79 | get_card_from_locker | null | null | null | null | null | null |
// Struct: GetSdkEventFiltersRequest
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct GetSdkEventFiltersRequest | crates/api_models/src/analytics.rs | api_models | struct_definition | GetSdkEventFiltersRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: PaymentFields
// File: crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentFields | crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs | hyperswitch_connectors | struct_definition | PaymentFields | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: get_role_info
// File: crates/router/src/services/authorization.rs
// Module: router
pub fn get_role_info<A>(state: &A, token: &AuthToken) -> RouterResult<roles::RoleInfo>
where
A: SessionStateInfo + Sync, | crates/router/src/services/authorization.rs | router | function_signature | null | null | null | 60 | get_role_info | 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.