text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Function: is_internal_api_key_merchant_id_profile_id_auth
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn is_internal_api_key_merchant_id_profile_id_auth(
headers: &HeaderMap,
internal_api_key_auth: settings::InternalMerchantIdProfileIdAuthSettings,
) -> bool | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 68 | is_internal_api_key_merchant_id_profile_id_auth | null | null | null | null | null | null |
// File: crates/api_models/src/verifications.rs
// Module: api_models
// Public structs: 5
use common_utils::id_type;
/// The request body for verification of merchant (everything except domain_names are prefilled)
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub st... | crates/api_models/src/verifications.rs | api_models | full_file | null | null | null | 350 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Fiserv
// File: crates/hyperswitch_connectors/src/connectors/fiserv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Fiserv | crates/hyperswitch_connectors/src/connectors/fiserv.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Fiserv | api::RefundSync for | 0 | 0 | null | null |
// Function: get_oidc_sso_redirect_url
// File: crates/router/src/utils/user.rs
// Module: router
pub fn get_oidc_sso_redirect_url(state: &SessionState, provider: &str) -> String | crates/router/src/utils/user.rs | router | function_signature | null | null | null | 48 | get_oidc_sso_redirect_url | null | null | null | null | null | null |
// Struct: ReversalInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ReversalInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | ReversalInformation | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: PayPalWalletData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PayPalWalletData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | PayPalWalletData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: AdyenBankAccountIdentification
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdyenBankAccountIdentification | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | struct_definition | AdyenBankAccountIdentification | 0 | [] | 56 | null | null | null | null | null | null | null |
// Implementation: impl Subscription
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Subscription | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Subscription | null | 1 | 1 | null | null |
// Struct: ChatResponse
// File: crates/api_models/src/chat.rs
// Module: api_models
// Implementations: 0
pub struct ChatResponse | crates/api_models/src/chat.rs | api_models | struct_definition | ChatResponse | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: HipayTokenResponse
// File: crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HipayTokenResponse | crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs | hyperswitch_connectors | struct_definition | HipayTokenResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: MonerisPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MonerisPaymentsResponse | crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs | hyperswitch_connectors | struct_definition | MonerisPaymentsResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: get_profile_connector_events
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_profile_connector_events(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Query<api_models::analytics::connector_events::ConnectorEventsRequest>,
) -> i... | crates/router/src/analytics.rs | router | function_signature | null | null | null | 74 | get_profile_connector_events | null | null | null | null | null | null |
// Trait: Lift
// File: crates/hyperswitch_domain_models/src/type_encryption.rs
// Module: hyperswitch_domain_models
pub trait Lift<U> | crates/hyperswitch_domain_models/src/type_encryption.rs | hyperswitch_domain_models | trait_definition | null | null | null | 34 | null | null | Lift | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for EphemeralKeyCreateResponse
// File: crates/api_models/src/ephemeral_key.rs
// Module: api_models
// Methods: 1 total (0 public)
impl common_utils::events::ApiEventMetric for for EphemeralKeyCreateResponse | crates/api_models/src/ephemeral_key.rs | api_models | impl_block | null | null | null | 68 | null | EphemeralKeyCreateResponse | common_utils::events::ApiEventMetric for | 1 | 0 | null | null |
// Struct: PaypalSellerPayableBreakdown
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalSellerPayableBreakdown | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalSellerPayableBreakdown | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/euclid/src/dssa.rs
// Module: euclid
//! Domain Specific Static Analyzer
pub mod analyzer;
pub mod graph;
pub mod state_machine;
pub mod truth;
pub mod types;
pub mod utils;
| crates/euclid/src/dssa.rs | euclid | full_file | null | null | null | 49 | null | null | null | null | null | null | null |
// Struct: DeRoutableConnectorChoice
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct DeRoutableConnectorChoice | crates/api_models/src/routing.rs | api_models | struct_definition | DeRoutableConnectorChoice | 0 | [] | 42 | null | null | null | null | null | null | null |
// Function: is_normal
// File: crates/masking/src/maskable.rs
// Module: masking
// Documentation: returns `false` otherwise.
pub fn is_normal(&self) -> bool | crates/masking/src/maskable.rs | masking | function_signature | null | null | null | 41 | is_normal | null | null | null | null | null | null |
// Struct: NuveiPaymentSyncRequest
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiPaymentSyncRequest | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiPaymentSyncRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/lib.rs
// Module: common_utils
// Public functions: 18
// Public structs: 4
#![warn(missing_docs, missing_debug_implementations)]
#![doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR" ), "/", "README.md"))]
use masking::{PeekInterface, Secret};
pub mod access_token;
pub mod consts;... | crates/common_utils/src/lib.rs | common_utils | full_file | null | null | null | 3,292 | null | null | null | null | null | null | null |
// Function: get_flow
// File: crates/router/src/services/email/types.rs
// Module: router
pub fn get_flow(&self) -> domain::Origin | crates/router/src/services/email/types.rs | router | function_signature | null | null | null | 33 | get_flow | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/webhooks.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/webhooks.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl auth_service::AuthServiceExchangeToken for for Plaid
// File: crates/pm_auth/src/connector/plaid.rs
// Module: pm_auth
// Methods: 0 total (0 public)
impl auth_service::AuthServiceExchangeToken for for Plaid | crates/pm_auth/src/connector/plaid.rs | pm_auth | impl_block | null | null | null | 55 | null | Plaid | auth_service::AuthServiceExchangeToken for | 0 | 0 | null | null |
// Struct: AciCancelRequest
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AciCancelRequest | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | AciCancelRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Adyen
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl ConnectorValidation for for Adyen | crates/hyperswitch_connectors/src/connectors/adyen.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Adyen | ConnectorValidation for | 4 | 0 | null | null |
// Implementation: impl api::Refund for for Billwerk
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Billwerk | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Billwerk | api::Refund for | 0 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Tokenex
// File: crates/hyperswitch_connectors/src/connectors/tokenex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Tokenex | crates/hyperswitch_connectors/src/connectors/tokenex.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tokenex | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: RazorpaySyncResponse
// File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RazorpaySyncResponse | crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs | hyperswitch_connectors | struct_definition | RazorpaySyncResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: get_type
// File: crates/euclid/src/frontend/ast.rs
// Module: euclid
pub fn get_type(&self) -> DataType | crates/euclid/src/frontend/ast.rs | euclid | function_signature | null | null | null | 34 | get_type | null | null | null | null | null | null |
// Function: supports_instant_payout
// File: crates/common_enums/src/connector_enums.rs
// Module: common_enums
pub fn supports_instant_payout(self, payout_method: Option<PayoutType>) -> bool | crates/common_enums/src/connector_enums.rs | common_enums | function_signature | null | null | null | 49 | supports_instant_payout | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Struct: HealthCheckClient
// File: crates/external_services/src/grpc_client/health_check_client.rs
// Module: external_services
// Implementations: 1
pub struct HealthCheckClient | crates/external_services/src/grpc_client/health_check_client.rs | external_services | struct_definition | HealthCheckClient | 1 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Datatrans
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl IncomingWebhook for for Datatrans | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Datatrans | IncomingWebhook for | 3 | 0 | null | null |
// Implementation: impl super::payments::metrics::PaymentMetricAnalytics for for ClickhouseClient
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::payments::metrics::PaymentMetricAnalytics for for ClickhouseClient | crates/analytics/src/clickhouse.rs | analytics | impl_block | null | null | null | 61 | null | ClickhouseClient | super::payments::metrics::PaymentMetricAnalytics for | 0 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Thunes
// File: crates/hyperswitch_connectors/src/connectors/thunes.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Thunes | crates/hyperswitch_connectors/src/connectors/thunes.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Thunes | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: NexixpayNonMandatePaymentRequest
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexixpayNonMandatePaymentRequest | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | NexixpayNonMandatePaymentRequest | 0 | [] | 61 | null | null | null | null | null | null | null |
// Function: get_id
// File: crates/router/src/services/kafka/payment_intent_event.rs
// Module: router
pub fn get_id(&self) -> &id_type::PaymentId | crates/router/src/services/kafka/payment_intent_event.rs | router | function_signature | null | null | null | 39 | get_id | null | null | null | null | null | null |
// Function: get_default_routing_configs_from_profile
// File: crates/router/src/core/admin.rs
// Module: router
pub fn get_default_routing_configs_from_profile(
&self,
) -> RouterResult<routing_types::ProfileDefaultRoutingConfig> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 52 | get_default_routing_configs_from_profile | null | null | null | null | null | null |
// Struct: UpdateMetadata
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct UpdateMetadata | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | UpdateMetadata | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: is_true
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Documentation: returns the inner bool value
pub fn is_true(&self) -> bool | crates/common_types/src/primitive_wrappers.rs | common_types | function_signature | null | null | null | 43 | is_true | null | null | null | null | null | null |
// File: crates/router/tests/customers.rs
// Module: router
#![allow(clippy::unwrap_used, clippy::print_stdout)]
mod utils;
// setting the connector in environment variables doesn't work when run in parallel. Neither does passing the paymentid
// do we'll test refund and payment in same tests and later implement thr... | crates/router/tests/customers.rs | router | full_file | null | null | null | 1,548 | null | null | null | null | null | null | null |
// Struct: BankDetails
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankDetails | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | BankDetails | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/openapi/src/routes/gsm.rs
// Module: openapi
// Public functions: 4
/// Gsm - Create
///
/// Creates a GSM (Global Status Mapping) Rule. A GSM rule is used to map a connector's error message/error code combination during a particular payments flow/sub-flow to Hyperswitch's unified status/error code/err... | crates/openapi/src/routes/gsm.rs | openapi | full_file | null | null | null | 583 | null | null | null | null | null | null | null |
// Implementation: impl PayoutsUpdate
// File: crates/diesel_models/src/payouts.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl PayoutsUpdate | crates/diesel_models/src/payouts.rs | diesel_models | impl_block | null | null | null | 43 | null | PayoutsUpdate | null | 1 | 1 | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/feature_matrix.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/feature_matrix.rs | router | impl_block | null | null | null | 37 | null | Responder | null | 0 | 0 | null | null |
// Struct: UnlockStatusResponse
// File: crates/api_models/src/revenue_recovery_data_backfill.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct UnlockStatusResponse | crates/api_models/src/revenue_recovery_data_backfill.rs | api_models | struct_definition | UnlockStatusResponse | 1 | [
"ApiEventMetric"
] | 47 | null | null | null | null | null | null | null |
// Function: upsert_decision_manager_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn upsert_decision_manager_config(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<api_models::conditional_configs::DecisionManagerRequest>,
) -> impl Responder | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 70 | upsert_decision_manager_config | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/nordea.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/nordea.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Struct: ProcessDisputeWorkflow
// File: crates/router/src/workflows/process_dispute.rs
// Module: router
// Implementations: 0
pub struct ProcessDisputeWorkflow | crates/router/src/workflows/process_dispute.rs | router | struct_definition | ProcessDisputeWorkflow | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: CreateRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CreateRefundRequest | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | CreateRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: PaymentProcessingMetaData
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentProcessingMetaData | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | PaymentProcessingMetaData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: CardToken
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct CardToken | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | CardToken | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: process_env_mappings
// File: crates/router/src/routes/app.rs
// Module: router
pub fn process_env_mappings(
mappings: Option<HashMap<String, String>>,
) -> Option<serde_json::Value> | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 47 | process_env_mappings | null | null | null | null | null | null |
// Struct: NuveiTransactionSyncResponseDetails
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiTransactionSyncResponseDetails | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiTransactionSyncResponseDetails | 0 | [] | 57 | null | null | null | null | null | null | null |
// Struct: Store
// File: crates/storage_impl/src/database/store.rs
// Module: storage_impl
// Implementations: 1
// Traits: DatabaseStore
pub struct Store | crates/storage_impl/src/database/store.rs | storage_impl | struct_definition | Store | 1 | [
"DatabaseStore"
] | 38 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorAccessToken for for DummyConnector
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorAccessToken for for DummyConnector | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | DummyConnector | ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: DefaultSdkType
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DefaultSdkType | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | struct_definition | DefaultSdkType | 0 | [] | 51 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/adyen.rs
// Module: router
use std::str::FromStr;
use hyperswitch_domain_models::address::{Address, AddressDetails, PhoneDetails};
use masking::Secret;
use router::types::{self, storage::enums, PaymentAddress};
use crate::{
connector_auth,
utils::{self, ConnectorAction... | crates/router/tests/connectors/adyen.rs | router | full_file | null | null | null | 4,961 | null | null | null | null | null | null | null |
// Function: convert_connector
// File: crates/router/src/types/api/connector_mapping.rs
// Module: router
pub fn convert_connector(
connector_name: &str,
) -> CustomResult<ConnectorEnum, errors::ApiErrorResponse> | crates/router/src/types/api/connector_mapping.rs | router | function_signature | null | null | null | 50 | convert_connector | null | null | null | null | null | null |
// Function: profile_update
// File: crates/router/src/routes/profiles.rs
// Module: router
pub fn profile_update(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::ProfileId>,
json_payload: web::Json<api_models::admin::ProfileUpdate>,
) -> HttpResponse | crates/router/src/routes/profiles.rs | router | function_signature | null | null | null | 76 | profile_update | null | null | null | null | null | null |
// Function: get_fingerprint_id_from_vault
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn get_fingerprint_id_from_vault<D: domain::VaultingDataInterface + serde::Serialize>(
state: &routes::SessionState,
data: &D,
key: String,
) -> CustomResult<String, errors::VaultError> | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 82 | get_fingerprint_id_from_vault | null | null | null | null | null | null |
// Implementation: impl GetRoutableConnectorsForChoice for for DecideConnector
// File: crates/router/src/core/routing.rs
// Module: router
// Methods: 1 total (0 public)
impl GetRoutableConnectorsForChoice for for DecideConnector | crates/router/src/core/routing.rs | router | impl_block | null | null | null | 56 | null | DecideConnector | GetRoutableConnectorsForChoice for | 1 | 0 | null | null |
// Struct: KlarnaCheckoutRequestData
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KlarnaCheckoutRequestData | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | KlarnaCheckoutRequestData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: get_trustpay_response
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
pub fn get_trustpay_response(
response: TrustpayPaymentsResponse,
status_code: u16,
previous_attempt_status: enums::AttemptStatus,
) -> CustomResult<
(
... | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 104 | get_trustpay_response | null | null | null | null | null | null |
// Function: attach_dispute_evidence
// File: crates/router/src/routes/disputes.rs
// Module: router
pub fn attach_dispute_evidence(
state: web::Data<AppState>,
req: HttpRequest,
payload: Multipart,
) -> HttpResponse | crates/router/src/routes/disputes.rs | router | function_signature | null | null | null | 57 | attach_dispute_evidence | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Chargebee
// File: crates/hyperswitch_connectors/src/connectors/chargebee.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Chargebee | crates/hyperswitch_connectors/src/connectors/chargebee.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Chargebee | api::RefundSync for | 0 | 0 | null | null |
// File: crates/test_utils/tests/connectors/authorizedotnet_wh_ui.rs
// Module: test_utils
use rand::Rng;
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct AuthorizedotnetSeleniumTest;
impl SeleniumTest for AuthorizedotnetSeleniumTest {
fn get_connector_name(&self) -> String {
... | crates/test_utils/tests/connectors/authorizedotnet_wh_ui.rs | test_utils | full_file | null | null | null | 282 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Fiserv
// File: crates/hyperswitch_connectors/src/connectors/fiserv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Fiserv | crates/hyperswitch_connectors/src/connectors/fiserv.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Fiserv | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl Mandates
// File: crates/router/src/compatibility/stripe/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Mandates | crates/router/src/compatibility/stripe/app.rs | router | impl_block | null | null | null | 39 | null | Mandates | null | 1 | 1 | null | null |
// Implementation: impl api::PaymentCapture for for Bluecode
// File: crates/hyperswitch_connectors/src/connectors/bluecode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Bluecode | crates/hyperswitch_connectors/src/connectors/bluecode.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Bluecode | api::PaymentCapture for | 0 | 0 | null | null |
// Function: complete_create_payout
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn complete_create_payout(
state: &SessionState,
merchant_context: &domain::MerchantContext,
connector_data: &api::ConnectorData,
payout_data: &mut PayoutData,
) -> RouterResult<()> | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 74 | complete_create_payout | null | null | null | null | null | null |
// Struct: DwollaAccessTokenRequest
// File: crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DwollaAccessTokenRequest | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs | hyperswitch_connectors | struct_definition | DwollaAccessTokenRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: get_poll_config_key
// File: crates/router/src/types.rs
// Module: router
pub fn get_poll_config_key(connector: String) -> String | crates/router/src/types.rs | router | function_signature | null | null | null | 35 | get_poll_config_key | null | null | null | null | null | null |
// Struct: NovalnetCaptureTransactionData
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetCaptureTransactionData | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetCaptureTransactionData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: read_string
// File: crates/router/src/core/files/helpers.rs
// Module: router
pub fn read_string(field: &mut Field) -> Option<String> | crates/router/src/core/files/helpers.rs | router | function_signature | null | null | null | 36 | read_string | null | null | null | null | null | null |
// Struct: Advice
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Advice | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | Advice | 0 | [] | 41 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/fp_utils.rs
// Module: common_utils
// Public functions: 1
//! Functional programming utilities
/// The Applicative trait provides a pure behavior,
/// which can be used to create values of type f a from values of type a.
pub trait Applicative<R> {
/// The Associative type acts as... | crates/common_utils/src/fp_utils.rs | common_utils | full_file | null | null | null | 304 | null | null | null | null | null | null | null |
// Struct: OpayoErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OpayoErrorResponse | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs | hyperswitch_connectors | struct_definition | OpayoErrorResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Implementations: 27
// Traits: ConnectorCommon, ConnectorValidation, api::Payment, api::PaymentsPreAuthenticate, api::PaymentsPostAuthenticate, api::PaymentsAuthenticate, api::PaymentAuthoriz... | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | struct_definition | Cybersource | 27 | [
"ConnectorCommon",
"ConnectorValidation",
"api::Payment",
"api::PaymentsPreAuthenticate",
"api::PaymentsPostAuthenticate",
"api::PaymentsAuthenticate",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentVoid",
"api::PaymentCapture",
"api::PaymentIncrementalAuthorization",
"api::MandateS... | 179 | null | null | null | null | null | null | null |
// Function: perform_decision_management
// File: crates/router/src/core/payments/conditional_configs.rs
// Module: router
pub fn perform_decision_management(
record: common_types::payments::DecisionManagerRecord,
payment_data: &core_routing::PaymentsDslInput<'_>,
) -> RouterResult<common_types::payments::Cond... | crates/router/src/core/payments/conditional_configs.rs | router | function_signature | null | null | null | 72 | perform_decision_management | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Sift
// File: crates/hyperswitch_connectors/src/connectors/sift.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Sift | crates/hyperswitch_connectors/src/connectors/sift.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Sift | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl Eq for for RoutableConnectorChoice
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 0 total (0 public)
impl Eq for for RoutableConnectorChoice | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 47 | null | RoutableConnectorChoice | Eq for | 0 | 0 | null | null |
// Struct: MerchantConnectorAuthDetails
// File: crates/common_types/src/domain.rs
// Module: common_types
// Implementations: 0
pub struct MerchantConnectorAuthDetails | crates/common_types/src/domain.rs | common_types | struct_definition | MerchantConnectorAuthDetails | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::PayoutCreate for for Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutCreate for for Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Nomupay | api::PayoutCreate for | 0 | 0 | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/paybox.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/paybox.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | 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 |
// Struct: NoCrm
// File: crates/external_services/src/crm.rs
// Module: external_services
// Implementations: 1
// Traits: CrmInterface
// Documentation: NoCrm struct
pub struct NoCrm | crates/external_services/src/crm.rs | external_services | struct_definition | NoCrm | 1 | [
"CrmInterface"
] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Breadpay
// File: crates/hyperswitch_connectors/src/connectors/breadpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Breadpay | crates/hyperswitch_connectors/src/connectors/breadpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Breadpay | api::PaymentSession for | 0 | 0 | null | null |
// Struct: GetTrackerResponse
// File: crates/router/src/core/payments/operations.rs
// Module: router
// Implementations: 0
pub struct GetTrackerResponse<'a, F: Clone, R, D> | crates/router/src/core/payments/operations.rs | router | struct_definition | GetTrackerResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: MandateOption
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
// Implementations: 0
pub struct MandateOption | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | struct_definition | MandateOption | 0 | [] | 41 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/types/domain/user.rs
// Module: router
// Public submodules:
pub mod dashboard_metadata;
pub mod decision_manager;
pub mod user_authentication_method;
// Public exports:
pub use decision_manager::*;
| crates/router/src/types/domain/user.rs | router | module_structure | null | null | null | 50 | null | null | null | null | null | 3 | 1 |
// File: crates/router/tests/utils.rs
// Module: router
// Public functions: 10
// Public structs: 12
#![allow(
dead_code,
clippy::expect_used,
clippy::missing_panics_doc,
clippy::unwrap_used
)]
use actix_http::{body::MessageBody, Request};
use actix_web::{
dev::{Service, ServiceResponse},
tes... | crates/router/tests/utils.rs | router | full_file | null | null | null | 2,971 | null | null | null | null | null | null | null |
// Trait: ApiEventFilterAnalytics
// File: crates/analytics/src/api_event/filters.rs
// Module: analytics
pub trait ApiEventFilterAnalytics: LoadRow<ApiEventFilter> | crates/analytics/src/api_event/filters.rs | analytics | trait_definition | null | null | null | 40 | null | null | ApiEventFilterAnalytics | null | null | null | null |
// Struct: CustombillingCard
// File: crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustombillingCard | crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs | hyperswitch_connectors | struct_definition | CustombillingCard | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/router/src/types/domain/user/decision_manager.rs
// Module: router
// Public functions: 10
// Public structs: 2
use common_enums::TokenPurpose;
use common_utils::{id_type, types::user::LineageContext};
use diesel_models::{
enums::{UserRoleVersion, UserStatus},
user_role::UserRole,
};
use error_... | crates/router/src/types/domain/user/decision_manager.rs | router | full_file | null | null | null | 3,697 | null | null | null | null | null | null | null |
// Function: check_currency
// File: crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs
// Module: hyperswitch_connectors
pub fn check_currency(
currency: enums::Currency,
) -> Result<enums::Currency, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 61 | check_currency | null | null | null | null | null | null |
// Implementation: impl QueryBuilder
// File: crates/analytics/src/query.rs
// Module: analytics
// Methods: 24 total (19 public)
impl QueryBuilder | crates/analytics/src/query.rs | analytics | impl_block | null | null | null | 37 | null | QueryBuilder | null | 24 | 19 | null | null |
// Implementation: impl api::RefundSync for for UnifiedAuthenticationService
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for UnifiedAuthenticationService | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | UnifiedAuthenticationService | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Zen
// File: crates/hyperswitch_connectors/src/connectors/zen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Zen | crates/hyperswitch_connectors/src/connectors/zen.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Zen | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl VaultingInterface for for VaultDelete
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Methods: 2 total (0 public)
impl VaultingInterface for for VaultDelete | crates/router/src/types/payment_methods.rs | router | impl_block | null | null | null | 46 | null | VaultDelete | VaultingInterface for | 2 | 0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.