text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Implementation: impl Klarna
// File: crates/hyperswitch_connectors/src/connectors/klarna.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Klarna | crates/hyperswitch_connectors/src/connectors/klarna.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Klarna | null | 1 | 1 | null | null |
// Struct: BillingConnectorInvoiceSyncResponse
// File: crates/hyperswitch_domain_models/src/router_response_types/revenue_recovery.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct BillingConnectorInvoiceSyncResponse | crates/hyperswitch_domain_models/src/router_response_types/revenue_recovery.rs | hyperswitch_domain_models | struct_definition | BillingConnectorInvoiceSyncResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl EliminationRoutingAlgorithm
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (1 public)
impl EliminationRoutingAlgorithm | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 41 | null | EliminationRoutingAlgorithm | null | 1 | 1 | null | null |
// Function: decision_engine_routing
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
pub fn decision_engine_routing(
state: &SessionState,
backend_input: BackendInput,
business_profile: &domain::Profile,
payment_id: String,
merchant_fallback_config: Vec<RoutableConnector... | crates/router/src/core/payments/routing/utils.rs | router | function_signature | null | null | null | 85 | decision_engine_routing | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Phonepe
// File: crates/hyperswitch_connectors/src/connectors/phonepe.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Phonepe | crates/hyperswitch_connectors/src/connectors/phonepe.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Phonepe | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Function: flatten_join_error
// File: crates/router/src/utils.rs
// Module: router
pub fn flatten_join_error<T>(handle: Handle<T>) -> RouterResult<T> | crates/router/src/utils.rs | router | function_signature | null | null | null | 38 | flatten_join_error | null | null | null | null | null | null |
// Function: get_request_payment_method_billing
// File: crates/hyperswitch_domain_models/src/payment_address.rs
// Module: hyperswitch_domain_models
pub fn get_request_payment_method_billing(&self) -> Option<&Address> | crates/hyperswitch_domain_models/src/payment_address.rs | hyperswitch_domain_models | function_signature | null | null | null | 47 | get_request_payment_method_billing | null | null | null | null | null | null |
// Struct: KlarnaCheckoutSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KlarnaCheckoutSyncResponse | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | KlarnaCheckoutSyncResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: SdkEventMetricsBucketValue
// File: crates/api_models/src/analytics/sdk_events.rs
// Module: api_models
// Implementations: 0
pub struct SdkEventMetricsBucketValue | crates/api_models/src/analytics/sdk_events.rs | api_models | struct_definition | SdkEventMetricsBucketValue | 0 | [] | 44 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/validation.rs
// Module: common_utils
// Public functions: 3
//! Custom validations for some shared types.
use std::{collections::HashSet, sync::LazyLock};
use error_stack::report;
use globset::Glob;
use regex::Regex;
#[cfg(feature = "logs")]
use router_env::logger;
use crate::error... | crates/common_utils/src/validation.rs | common_utils | full_file | null | null | null | 1,193 | null | null | null | null | null | null | null |
// Struct: Notification
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Notification | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | Notification | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: payments_intent_core
// File: crates/router/src/core/payments.rs
// Module: router
pub fn payments_intent_core<F, Res, Req, Op, D>(
state: SessionState,
req_state: ReqState,
merchant_context: domain::MerchantContext,
profile: domain::Profile,
operation: Op,
req: Req,
payment_id... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 175 | payments_intent_core | null | null | null | null | null | null |
// File: crates/router/src/core/user_role.rs
// Module: router
// Public functions: 9
use std::{
collections::{HashMap, HashSet},
sync::LazyLock,
};
use api_models::{
user as user_api,
user_role::{self as user_role_api, role as role_api},
};
use diesel_models::{
enums::{UserRoleVersion, UserStatus... | crates/router/src/core/user_role.rs | router | full_file | null | null | null | 7,824 | null | null | null | null | null | null | null |
// Struct: BamboraapacErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BamboraapacErrorResponse | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | BamboraapacErrorResponse | 0 | [] | 56 | null | null | null | null | null | null | null |
// Function: get_apple_pay_wallet_data
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
pub fn get_apple_pay_wallet_data(&self) -> Option<&ApplePayWalletData> | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 53 | get_apple_pay_wallet_data | null | null | null | null | null | null |
// Function: connector_events_core
// File: crates/analytics/src/connector_events/core.rs
// Module: analytics
pub fn connector_events_core(
pool: &AnalyticsProvider,
req: ConnectorEventsRequest,
merchant_id: &common_utils::id_type::MerchantId,
) -> AnalyticsResult<Vec<ConnectorEventsResult>> | crates/analytics/src/connector_events/core.rs | analytics | function_signature | null | null | null | 69 | connector_events_core | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
pub fn new(event: Option<routing_events::RoutingEvent>, response: Option<Res>) -> Self | crates/router/src/core/payments/routing/utils.rs | router | function_signature | null | null | null | 45 | new | null | null | null | null | null | null |
// Struct: MollieRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MollieRefundRequest | crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs | hyperswitch_connectors | struct_definition | MollieRefundRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: PaysafePaymentMethodDetails
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct PaysafePaymentMethodDetails | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafePaymentMethodDetails | 1 | [] | 52 | null | null | null | null | null | null | null |
// Struct: FileMetadataUpdateInternal
// File: crates/diesel_models/src/file.rs
// Module: diesel_models
// Implementations: 0
pub struct FileMetadataUpdateInternal | crates/diesel_models/src/file.rs | diesel_models | struct_definition | FileMetadataUpdateInternal | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: RoutingConfigRequest
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct RoutingConfigRequest | crates/api_models/src/routing.rs | api_models | struct_definition | RoutingConfigRequest | 0 | [] | 36 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Public functions: 46
// Public structs: 11
#[cfg(all(feature = "v1", feature = "olap"))]
use api_models::enums::Connector;
use common_enums as storage_enums;
#[cfg(feature = "v2")]
use common_types::paymen... | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs#chunk0 | hyperswitch_domain_models | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Function: payouts_list_core
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn payouts_list_core(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id_list: Option<Vec<id_type::ProfileId>>,
constraints: payouts::PayoutListConstraints,
) -> RouterResponse<payout... | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 82 | payouts_list_core | null | null | null | null | null | null |
// Implementation: impl PayoutAttemptInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 6 total (0 public)
impl PayoutAttemptInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 49 | null | KafkaStore | PayoutAttemptInterface for | 6 | 0 | null | null |
// Function: new_with_implicit_entries
// File: crates/router_env/src/logger/formatter.rs
// Module: router_env
// Documentation: Construct of `FormattingLayer with implicit default entries.
pub fn new_with_implicit_entries(
service: &str,
dst_writer: W,
default_fields: HashMap<String, Value>,... | crates/router_env/src/logger/formatter.rs | router_env | function_signature | null | null | null | 86 | new_with_implicit_entries | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Worldpayxml
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Worldpayxml | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Worldpayxml | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: Shift4WebhookObjectId
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Shift4WebhookObjectId | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | Shift4WebhookObjectId | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: Evidence
// File: crates/hyperswitch_domain_models/src/router_flow_types/dispute.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Evidence | crates/hyperswitch_domain_models/src/router_flow_types/dispute.rs | hyperswitch_domain_models | struct_definition | Evidence | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: MerchantRoutingAlgorithm
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
// Documentation: Routing Algorithm specific to merchants
pub struct MerchantRoutingAlgorithm | crates/api_models/src/routing.rs | api_models | struct_definition | MerchantRoutingAlgorithm | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: BraintreeMeta
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BraintreeMeta | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | BraintreeMeta | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: SquareWebhookData
// File: crates/hyperswitch_connectors/src/connectors/square/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SquareWebhookData | crates/hyperswitch_connectors/src/connectors/square/transformers.rs | hyperswitch_connectors | struct_definition | SquareWebhookData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: GetnetWebhookNotificationResponse
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GetnetWebhookNotificationResponse | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | GetnetWebhookNotificationResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: NovalnetPaymentsResponseTransactionData
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct NovalnetPaymentsResponseTransactionData | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetPaymentsResponseTransactionData | 1 | [] | 56 | null | null | null | null | null | null | null |
// Struct: ExtendedData
// File: crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ExtendedData | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs | hyperswitch_connectors | struct_definition | ExtendedData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: IndonesianBankTransferDetails
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IndonesianBankTransferDetails | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | IndonesianBankTransferDetails | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Zen
// File: crates/hyperswitch_connectors/src/connectors/zen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Zen | crates/hyperswitch_connectors/src/connectors/zen.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Zen | api::PaymentSession for | 0 | 0 | null | null |
// Struct: TsysAuthType
// File: crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TsysAuthType | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs | hyperswitch_connectors | struct_definition | TsysAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/router_env/src/env.rs
// Module: router_env
// Public functions: 3
//! Information about the current environment.
use std::path::PathBuf;
use serde::{Deserialize, Serialize};
/// Environment variables accessed by the application. This module aims to be the source of truth
/// containing all environm... | crates/router_env/src/env.rs | router_env | full_file | null | null | null | 1,209 | null | null | null | null | null | null | null |
// Struct: ExtendedCardInfoConfig
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct ExtendedCardInfoConfig | crates/api_models/src/admin.rs | api_models | struct_definition | ExtendedCardInfoConfig | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: refund_to_refund_core_workflow_model
// File: crates/router/src/core/refunds.rs
// Module: router
pub fn refund_to_refund_core_workflow_model(
refund: &diesel_refund::Refund,
) -> diesel_refund::RefundCoreWorkflow | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 59 | refund_to_refund_core_workflow_model | null | null | null | null | null | null |
// Function: list_enabled_by_profile_id
// File: crates/diesel_models/src/query/merchant_connector_account.rs
// Module: diesel_models
pub fn list_enabled_by_profile_id(
conn: &PgPooledConn,
profile_id: &common_utils::id_type::ProfileId,
connector_type: common_enums::ConnectorType,
) -> Sto... | crates/diesel_models/src/query/merchant_connector_account.rs | diesel_models | function_signature | null | null | null | 80 | list_enabled_by_profile_id | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Getnet
// File: crates/hyperswitch_connectors/src/connectors/getnet.rs
// Module: hyperswitch_connectors
// Methods: 7 total (0 public)
impl webhooks::IncomingWebhook for for Getnet | crates/hyperswitch_connectors/src/connectors/getnet.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Getnet | webhooks::IncomingWebhook for | 7 | 0 | null | null |
// Struct: TrustpayMandatoryParams
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpayMandatoryParams | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | TrustpayMandatoryParams | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: GatewayStatusMap
// File: crates/hyperswitch_domain_models/src/gsm.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GatewayStatusMap | crates/hyperswitch_domain_models/src/gsm.rs | hyperswitch_domain_models | struct_definition | GatewayStatusMap | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl ConfigNew
// File: crates/diesel_models/src/query/configs.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl ConfigNew | crates/diesel_models/src/query/configs.rs | diesel_models | impl_block | null | null | null | 39 | null | ConfigNew | null | 1 | 0 | null | null |
// File: crates/hyperswitch_constraint_graph/src/lib.rs
// Module: hyperswitch_constraint_graph
pub mod builder;
mod dense_map;
pub mod error;
pub mod graph;
pub mod types;
pub use builder::ConstraintGraphBuilder;
pub use error::{AnalysisTrace, GraphError};
pub use graph::ConstraintGraph;
#[cfg(feature = "viz")]
pub ... | crates/hyperswitch_constraint_graph/src/lib.rs | hyperswitch_constraint_graph | full_file | null | null | null | 127 | null | null | null | null | null | null | null |
// File: crates/euclid/src/frontend/dir/transformers.rs
// Module: euclid
use crate::{dirval, dssa::types::AnalysisErrorType, enums as global_enums, frontend::dir};
pub trait IntoDirValue {
fn into_dir_value(self) -> Result<dir::DirValue, AnalysisErrorType>;
}
impl IntoDirValue for (global_enums::PaymentMethodTyp... | crates/euclid/src/frontend/dir/transformers.rs | euclid | full_file | null | null | null | 3,327 | null | null | null | null | null | null | null |
// Function: new
// File: crates/external_services/src/grpc_client.rs
// Module: external_services
// Documentation: constructor for LineageIds
pub fn new(merchant_id: id_type::MerchantId, profile_id: id_type::ProfileId) -> Self | crates/external_services/src/grpc_client.rs | external_services | function_signature | null | null | null | 56 | new | null | null | null | null | null | null |
// Struct: GetDataMessage
// File: crates/hyperswitch_domain_models/src/chat.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GetDataMessage | crates/hyperswitch_domain_models/src/chat.rs | hyperswitch_domain_models | struct_definition | GetDataMessage | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl GetPaymentMethodType for for RealTimePaymentData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl GetPaymentMethodType for for RealTimePaymentData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 60 | null | RealTimePaymentData | GetPaymentMethodType for | 1 | 0 | null | null |
// Struct: FiservResponseActions
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservResponseActions | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | FiservResponseActions | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: ClientRiskInformationRules
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ClientRiskInformationRules | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | ClientRiskInformationRules | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: OutgoingWebhookLogsRequest
// File: crates/api_models/src/analytics/outgoing_webhook_event.rs
// Module: api_models
// Implementations: 0
pub struct OutgoingWebhookLogsRequest | crates/api_models/src/analytics/outgoing_webhook_event.rs | api_models | struct_definition | OutgoingWebhookLogsRequest | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Module Structure
// File: crates/external_services/src/grpc_client/dynamic_routing.rs
// Module: external_services
// Public submodules:
pub mod contract_routing_client;
pub mod elimination_based_client;
pub mod success_rate_client;
// Public exports:
pub use contract_routing_client::ContractScoreCalculatorClient;... | crates/external_services/src/grpc_client/dynamic_routing.rs | external_services | module_structure | null | null | null | 86 | null | null | null | null | null | 3 | 3 |
// Struct: ProcessorResponse
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProcessorResponse | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | ProcessorResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: FiservSessionObject
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservSessionObject | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | FiservSessionObject | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: RefundsLedger
// File: crates/hyperswitch_connectors/src/connectors/payload/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundsLedger | crates/hyperswitch_connectors/src/connectors/payload/responses.rs | hyperswitch_connectors | struct_definition | RefundsLedger | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: fetch_forex_rates_from_fallback_api
// File: crates/router/src/utils/currency.rs
// Module: router
pub fn fetch_forex_rates_from_fallback_api(
state: &SessionState,
) -> CustomResult<FxExchangeRatesCacheEntry, ForexError> | crates/router/src/utils/currency.rs | router | function_signature | null | null | null | 60 | fetch_forex_rates_from_fallback_api | null | null | null | null | null | null |
// Struct: NoonActionTransaction
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonActionTransaction | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonActionTransaction | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: health
// File: crates/router/src/routes/health.rs
// Module: router
pub fn health() -> impl actix_web::Responder | crates/router/src/routes/health.rs | router | function_signature | null | null | null | 32 | health | null | null | null | null | null | null |
// File: crates/kgraph_utils/src/lib.rs
// Module: kgraph_utils
pub mod error;
pub mod mca;
pub mod transformers;
pub mod types;
| crates/kgraph_utils/src/lib.rs | kgraph_utils | full_file | null | null | null | 35 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/nordea.rs
// Module: router
use masking::Secret;
use router::types::{self, api, domain, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
struct NordeaTest;
impl ConnectorActions for NordeaTest {}
impl utils::Co... | crates/router/tests/connectors/nordea.rs | router | full_file | null | null | null | 2,931 | null | null | null | null | null | null | null |
// Implementation: impl UserNew
// File: crates/diesel_models/src/query/user.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl UserNew | crates/diesel_models/src/query/user.rs | diesel_models | impl_block | null | null | null | 38 | null | UserNew | null | 1 | 0 | null | null |
// File: crates/router/tests/connectors/plaid.rs
// Module: router
use masking::Secret;
use router::types::{self, api, domain, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, Connector, ConnectorActions};
#[derive(Clone, Copy)]
struct PlaidTest;
impl ConnectorActions for PlaidTest {}
stati... | crates/router/tests/connectors/plaid.rs | router | full_file | null | null | null | 2,926 | null | null | null | null | null | null | null |
// Struct: PaymentMetricsBucketIdentifier
// File: crates/api_models/src/analytics/payments.rs
// Module: api_models
// Implementations: 3
// Traits: Hash, PartialEq
pub struct PaymentMetricsBucketIdentifier | crates/api_models/src/analytics/payments.rs | api_models | struct_definition | PaymentMetricsBucketIdentifier | 3 | [
"Hash",
"PartialEq"
] | 47 | null | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
pub fn new(gateway_name: String, gateway_id: Option<String>) -> Self | crates/router/src/core/payments/routing/utils.rs | router | function_signature | null | null | null | 41 | new | null | null | null | null | null | null |
// Function: get_totp_attempts_from_redis
// File: crates/router/src/utils/user/two_factor_auth.rs
// Module: router
pub fn get_totp_attempts_from_redis(state: &SessionState, user_id: &str) -> UserResult<u8> | crates/router/src/utils/user/two_factor_auth.rs | router | function_signature | null | null | null | 55 | get_totp_attempts_from_redis | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Paybox
// File: crates/hyperswitch_connectors/src/connectors/paybox.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Paybox | crates/hyperswitch_connectors/src/connectors/paybox.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Paybox | ConnectorSpecifications for | 3 | 0 | null | null |
// Implementation: impl auth_service::PaymentInitiation for for Plaid
// File: crates/pm_auth/src/connector/plaid.rs
// Module: pm_auth
// Methods: 0 total (0 public)
impl auth_service::PaymentInitiation for for Plaid | crates/pm_auth/src/connector/plaid.rs | pm_auth | impl_block | null | null | null | 55 | null | Plaid | auth_service::PaymentInitiation for | 0 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/iatapay.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/iatapay.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Implementation: impl ConnectorSpecifications for for Zsl
// File: crates/hyperswitch_connectors/src/connectors/zsl.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Zsl | crates/hyperswitch_connectors/src/connectors/zsl.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Zsl | ConnectorSpecifications for | 3 | 0 | null | null |
// Implementation: impl Default for for PayoutsUpdateInternal
// File: crates/diesel_models/src/payouts.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl Default for for PayoutsUpdateInternal | crates/diesel_models/src/payouts.rs | diesel_models | impl_block | null | null | null | 51 | null | PayoutsUpdateInternal | Default for | 1 | 0 | null | null |
// Struct: Program
// File: crates/euclid/src/frontend/ast.rs
// Module: euclid
// Implementations: 0
pub struct Program<O> | crates/euclid/src/frontend/ast.rs | euclid | struct_definition | Program | 0 | [] | 36 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/ebanx.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/ebanx.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Implementation: impl api::ExternalVaultInsert for for Vgs
// File: crates/hyperswitch_connectors/src/connectors/vgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ExternalVaultInsert for for Vgs | crates/hyperswitch_connectors/src/connectors/vgs.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Vgs | api::ExternalVaultInsert for | 0 | 0 | null | null |
// Struct: PaymentAttemptNew
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentAttemptNew | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | struct_definition | PaymentAttemptNew | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: get_merchant_scoped_metadata_from_db
// File: crates/router/src/utils/user/dashboard_metadata.rs
// Module: router
pub fn get_merchant_scoped_metadata_from_db(
state: &SessionState,
merchant_id: id_type::MerchantId,
org_id: id_type::OrganizationId,
metadata_keys: Vec<DBEnum>,
) -> UserResu... | crates/router/src/utils/user/dashboard_metadata.rs | router | function_signature | null | null | null | 85 | get_merchant_scoped_metadata_from_db | null | null | null | null | null | null |
// File: crates/router/src/types/api/fraud_check.rs
// Module: router
// Public functions: 1
// Public structs: 2
use std::str::FromStr;
use api_models::enums;
use common_utils::errors::CustomResult;
use error_stack::ResultExt;
pub use hyperswitch_domain_models::router_flow_types::fraud_check::{
Checkout, Fulfill... | crates/router/src/types/api/fraud_check.rs | router | full_file | null | null | null | 548 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Dwolla
// File: crates/hyperswitch_connectors/src/connectors/dwolla.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Dwolla | crates/hyperswitch_connectors/src/connectors/dwolla.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Dwolla | api::Payment for | 0 | 0 | null | null |
// Implementation: impl api::PayoutSync for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutSync for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paypal | api::PayoutSync for | 0 | 0 | null | null |
// File: crates/api_models/src/external_service_auth.rs
// Module: api_models
// Public functions: 1
// Public structs: 3
use common_utils::{id_type, pii};
use masking::Secret;
#[derive(Debug, serde::Serialize)]
pub struct ExternalTokenResponse {
pub token: Secret<String>,
}
#[derive(Debug, serde::Serialize, serd... | crates/api_models/src/external_service_auth.rs | api_models | full_file | null | null | null | 228 | null | null | null | null | null | null | null |
// Struct: Paybox
// File: crates/hyperswitch_connectors/src/connectors/paybox.rs
// Module: hyperswitch_connectors
// Implementations: 19
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refu... | crates/hyperswitch_connectors/src/connectors/paybox.rs | hyperswitch_connectors | struct_definition | Paybox | 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::PaymentsCompleteAuthorize",
"C... | 132 | null | null | null | null | null | null | null |
// Implementation: impl prost::Message for for StrongSecret
// File: crates/masking/src/strong_secret.rs
// Module: masking
// Methods: 4 total (0 public)
impl prost::Message for for StrongSecret | crates/masking/src/strong_secret.rs | masking | impl_block | null | null | null | 47 | null | StrongSecret | prost::Message for | 4 | 0 | null | null |
// Function: get_gsm_rule
// File: crates/router/src/routes/gsm.rs
// Module: router
pub fn get_gsm_rule(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<gsm_api_types::GsmRetrieveRequest>,
) -> impl Responder | crates/router/src/routes/gsm.rs | router | function_signature | null | null | null | 67 | get_gsm_rule | 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 |
// Struct: PaymentAdditionalData
// File: crates/router/src/core/payments/transformers.rs
// Module: router
// Implementations: 0
pub struct PaymentAdditionalData<'a, F> | crates/router/src/core/payments/transformers.rs | router | struct_definition | PaymentAdditionalData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: PaymentMethodDataWalletInfo
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodDataWalletInfo | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodDataWalletInfo | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: create_customer_on_connector
// File: crates/router/src/core/subscription.rs
// Module: router
pub fn create_customer_on_connector(
&self,
state: &SessionState,
) -> errors::RouterResult<ConnectorCustomerResponseData> | crates/router/src/core/subscription.rs | router | function_signature | null | null | null | 55 | create_customer_on_connector | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Paybox
// File: crates/hyperswitch_connectors/src/connectors/paybox.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Paybox | crates/hyperswitch_connectors/src/connectors/paybox.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Paybox | api::Payment for | 0 | 0 | null | null |
// Implementation: impl api::PayoutFulfill for for Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutFulfill for for Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Nomupay | api::PayoutFulfill for | 0 | 0 | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/sift/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/sift/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: StripeBillingCardDetails
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripeBillingCardDetails | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | StripeBillingCardDetails | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: set_payment_method
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
pub fn set_payment_method(
self,
payment_method: &'a domain::PaymentMethod,
) -> NetworkTokenizationBuilder<'a, PmTokenUpdated> | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | function_signature | null | null | null | 63 | set_payment_method | null | null | null | null | null | null |
// Implementation: impl crate::events::ApiEventMetric for for GlobalPaymentMethodId
// File: crates/common_utils/src/id_type/global_id/payment_methods.rs
// Module: common_utils
// Methods: 1 total (0 public)
impl crate::events::ApiEventMetric for for GlobalPaymentMethodId | crates/common_utils/src/id_type/global_id/payment_methods.rs | common_utils | impl_block | null | null | null | 63 | null | GlobalPaymentMethodId | crate::events::ApiEventMetric for | 1 | 0 | null | null |
// Function: extract_data_and_perform_action
// File: crates/router/src/workflows/revenue_recovery.rs
// Module: router
pub fn extract_data_and_perform_action(
state: &SessionState,
tracking_data: &pcr_storage_types::RevenueRecoveryWorkflowTrackingData,
) -> Result<pcr_storage_types::RevenueRecoveryPaymentData... | crates/router/src/workflows/revenue_recovery.rs | router | function_signature | null | null | null | 82 | extract_data_and_perform_action | null | null | null | null | null | null |
// Struct: PaypalWebhooksPurchaseUnits
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalWebhooksPurchaseUnits | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalWebhooksPurchaseUnits | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl SdkEventMetricAccumulator for for AverageAccumulator
// File: crates/analytics/src/sdk_events/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl SdkEventMetricAccumulator for for AverageAccumulator | crates/analytics/src/sdk_events/accumulator.rs | analytics | impl_block | null | null | null | 60 | null | AverageAccumulator | SdkEventMetricAccumulator for | 2 | 0 | null | null |
// Implementation: impl AuthEventMetricAccumulator for for AuthenticationErrorMessageAccumulator
// File: crates/analytics/src/auth_events/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl AuthEventMetricAccumulator for for AuthenticationErrorMessageAccumulator | crates/analytics/src/auth_events/accumulator.rs | analytics | impl_block | null | null | null | 60 | null | AuthenticationErrorMessageAccumulator | AuthEventMetricAccumulator for | 2 | 0 | null | null |
// Implementation: impl api::PayoutRecipient for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutRecipient for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Wise | api::PayoutRecipient for | 0 | 0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.