text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Struct: ChargebackNotification
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebackNotification | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | ChargebackNotification | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl super::KafkaMessage for for RevenueRecovery
// File: crates/router/src/services/kafka/revenue_recovery.rs
// Module: router
// Methods: 2 total (0 public)
impl super::KafkaMessage for for RevenueRecovery | crates/router/src/services/kafka/revenue_recovery.rs | router | impl_block | null | null | null | 55 | null | RevenueRecovery | super::KafkaMessage for | 2 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Gpayments
// File: crates/hyperswitch_connectors/src/connectors/gpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Gpayments | crates/hyperswitch_connectors/src/connectors/gpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Gpayments | ConnectorValidation for | 0 | 0 | null | null |
// Implementation: impl crate::core::payments::Operation for for Point3
// File: crates/router_derive/src/lib.rs
// Module: router_derive
// Methods: 2 total (0 public)
impl crate::core::payments::Operation for for Point3 | crates/router_derive/src/lib.rs | router_derive | impl_block | null | null | null | 56 | null | Point3 | crate::core::payments::Operation for | 2 | 0 | null | null |
// Function: insert
// File: crates/diesel_models/src/query/capture.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<Capture> | crates/diesel_models/src/query/capture.rs | diesel_models | function_signature | null | null | null | 43 | insert | null | null | null | null | null | null |
// Struct: GlobepayRefundResponse
// File: crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobepayRefundResponse | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs | hyperswitch_connectors | struct_definition | GlobepayRefundResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: TokenizedBankRedirectValue1
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct TokenizedBankRedirectValue1 | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | TokenizedBankRedirectValue1 | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: ApplePayPredecrypt
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayPredecrypt | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayPredecrypt | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: error_code
// File: crates/router_derive/src/macros/api_error.rs
// Module: router_derive
pub fn error_code(&self) -> String | crates/router_derive/src/macros/api_error.rs | router_derive | function_signature | null | null | null | 36 | error_code | null | null | null | null | null | null |
// Implementation: impl MerchantId
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Methods: 19 total (19 public)
impl MerchantId | crates/common_utils/src/id_type/merchant.rs | common_utils | impl_block | null | null | null | 41 | null | MerchantId | null | 19 | 19 | null | null |
// Struct: TokenDetails
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct TokenDetails | crates/router/src/types/payment_methods.rs | router | struct_definition | TokenDetails | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: CardDetails
// File: crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardDetails | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs | hyperswitch_connectors | struct_definition | CardDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: KlarnaShippingAddress
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KlarnaShippingAddress | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | KlarnaShippingAddress | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: Instruction
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Instruction | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | Instruction | 0 | [] | 43 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payment_intents::{
PaymentIntentDimensions, PaymentIntentFilters, PaymentIntentMetricsBucketIdentifier,
},
Granularity... | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs | analytics | full_file | null | null | null | 989 | null | null | null | null | null | null | null |
// Struct: Amount
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Amount | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | Amount | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: perform_authentication
// File: crates/router/src/core/authentication.rs
// Module: router
pub fn perform_authentication(
state: &SessionState,
merchant_id: common_utils::id_type::MerchantId,
authentication_connector: String,
payment_method_data: domain::PaymentMethodData,
payment_meth... | crates/router/src/core/authentication.rs | router | function_signature | null | null | null | 318 | perform_authentication | null | null | null | null | null | null |
// Function: payment_methods_session_create
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn payment_methods_session_create(
state: SessionState,
merchant_context: domain::MerchantContext,
request: payment_methods::PaymentMethodSessionRequest,
) -> RouterResponse<payment_methods:... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 70 | payment_methods_session_create | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Iatapay
// File: crates/hyperswitch_connectors/src/connectors/iatapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Iatapay | crates/hyperswitch_connectors/src/connectors/iatapay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Iatapay | api::PaymentCapture for | 0 | 0 | null | null |
// Function: is_key_deleted
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
pub fn is_key_deleted(&self) -> bool | crates/redis_interface/src/types.rs | redis_interface | function_signature | null | null | null | 34 | is_key_deleted | null | null | null | null | null | null |
// Function: payment_connector_verify
// File: crates/router/src/routes/verify_connector.rs
// Module: router
pub fn payment_connector_verify(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<VerifyConnectorRequest>,
) -> HttpResponse | crates/router/src/routes/verify_connector.rs | router | function_signature | null | null | null | 59 | payment_connector_verify | null | null | null | null | null | null |
// Function: pg_connection_write
// File: crates/storage_impl/src/utils.rs
// Module: storage_impl
pub fn pg_connection_write<T: DatabaseStore>(
store: &T,
) -> error_stack::Result<
PooledConnection<'_, async_bb8_diesel::ConnectionManager<PgConnection>>,
StorageError,
> | crates/storage_impl/src/utils.rs | storage_impl | function_signature | null | null | null | 69 | pg_connection_write | null | null | null | null | null | null |
// Struct: NuveiMeta
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiMeta | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiMeta | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: EbanxPayoutFulfillRequest
// File: crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct EbanxPayoutFulfillRequest | crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs | hyperswitch_connectors | struct_definition | EbanxPayoutFulfillRequest | 0 | [] | 59 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/mpgs.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/mpgs.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Implementation: impl ConnectorSpecifications for for Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Riskified | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Riskified | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: user_merchant_account_create
// File: crates/router/src/routes/user.rs
// Module: router
pub fn user_merchant_account_create(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<user_api::UserMerchantCreate>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 64 | user_merchant_account_create | null | null | null | null | null | null |
// Struct: AirwallexRedirectFormData
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AirwallexRedirectFormData | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AirwallexRedirectFormData | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: extract_token_from_body
// File: crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs
// Module: hyperswitch_connectors
pub fn extract_token_from_body(body: &[u8]) -> CustomResult<String, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 59 | extract_token_from_body | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Cryptopay
// File: crates/hyperswitch_connectors/src/connectors/cryptopay.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Cryptopay | crates/hyperswitch_connectors/src/connectors/cryptopay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Cryptopay | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: get_action
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
pub fn get_action(
event_type: webhooks::IncomingWebhookEvent,
attempt_triggered_by: Option<common_enums::TriggeredBy>,
) -> common_types::payments::RecoveryAction | crates/router/src/core/webhooks/recovery_incoming.rs | router | function_signature | null | null | null | 68 | get_action | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Cryptopay
// File: crates/hyperswitch_connectors/src/connectors/cryptopay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Cryptopay | crates/hyperswitch_connectors/src/connectors/cryptopay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Cryptopay | api::Refund for | 0 | 0 | null | null |
// Implementation: impl PaymentVoid for for Threedsecureio
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentVoid for for Threedsecureio | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Threedsecureio | PaymentVoid for | 0 | 0 | null | null |
// Function: process_payment_attempt
// File: crates/router/src/routes/dummy_connector/utils.rs
// Module: router
pub fn process_payment_attempt(
state: &SessionState,
payment_attempt: types::DummyConnectorPaymentAttempt,
) -> types::DummyConnectorResult<Self> | crates/router/src/routes/dummy_connector/utils.rs | router | function_signature | null | null | null | 59 | process_payment_attempt | null | null | null | null | null | null |
// Function: user_signup_with_merchant_id
// File: crates/router/src/routes/user.rs
// Module: router
pub fn user_signup_with_merchant_id(
state: web::Data<AppState>,
http_req: HttpRequest,
json_payload: web::Json<user_api::SignUpWithMerchantIdRequest>,
query: web::Query<user_api::AuthIdAndThemeIdQuery... | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 86 | user_signup_with_merchant_id | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 55
use std::collections::BTreeMap;
use api_models::{payments::AdditionalPaymentData, webhooks::IncomingWebhookEvent};
use common_enums::enums;
use common_ut... | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,183 | null | null | null | null | null | null | null |
// Struct: PaymentsResPaymentInstrument
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentsResPaymentInstrument | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | PaymentsResPaymentInstrument | 0 | [] | 47 | null | null | null | null | null | null | null |
domain::payments::BankRedirectData::OnlineBankingSlovakia { .. } => {
Self::OnlineBankingSlovakia
}
domain::payments::BankRedirectData::OpenBankingUk { .. } => Self::OpenBankingUk,
domain::payments::BankRedirectData:... | crates/router/src/connector/utils.rs#chunk3 | router | chunk | null | null | null | 2,450 | null | null | null | null | null | null | null |
UploadFileRequestData,
UploadFileResponse,
> for $path::$connector
{}
impl RetrieveFile for $path::$connector {}
impl
ConnectorIntegration<
Retrieve,
RetrieveFileRequestData,
R... | crates/hyperswitch_connectors/src/default_implementations.rs#chunk3 | hyperswitch_connectors | chunk | null | null | null | 8,188 | null | null | null | null | null | null | null |
// Struct: Volt
// File: crates/hyperswitch_connectors/src/connectors/volt.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refund, ... | crates/hyperswitch_connectors/src/connectors/volt.rs | hyperswitch_connectors | struct_definition | Volt | 17 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"ConnectorCommon",
"ConnectorValidat... | 123 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Authorizedotnet
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Authorizedotnet | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Authorizedotnet | api::Payment for | 0 | 0 | null | null |
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
// Public functions: 29
#![allow(non_upper_case_globals)]
mod types;
mod utils;
use std::{
collections::{HashMap, HashSet},
str::FromStr,
sync::OnceLock,
};
use api_models::{
enums as api_model_enums, routing::ConnectorSelection,
surcha... | crates/euclid_wasm/src/lib.rs | euclid_wasm | full_file | null | null | null | 5,371 | null | null | null | null | null | null | null |
// Struct: PaymentMethodsEnabled
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 1
pub struct PaymentMethodsEnabled | crates/api_models/src/admin.rs | api_models | struct_definition | PaymentMethodsEnabled | 1 | [] | 35 | null | null | null | null | null | null | null |
// File: crates/analytics/src/sdk_events/metrics/sdk_initiated_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
sdk_events::{
SdkEventDimensions, SdkEventFilters, SdkEventMetricsBucketIdentifier, SdkEventNames,
},
Granularity, TimeRange,
};
use common_utils... | crates/analytics/src/sdk_events/metrics/sdk_initiated_count.rs | analytics | full_file | null | null | null | 807 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Xendit
// File: crates/hyperswitch_connectors/src/connectors/xendit.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Xendit | crates/hyperswitch_connectors/src/connectors/xendit.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Xendit | api::RefundExecute for | 0 | 0 | null | null |
// Struct: GrpcClients
// File: crates/external_services/src/grpc_client.rs
// Module: external_services
// Implementations: 0
pub struct GrpcClients | crates/external_services/src/grpc_client.rs | external_services | struct_definition | GrpcClients | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: PaymentMethod
// File: crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentMethod | crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs | hyperswitch_connectors | struct_definition | PaymentMethod | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: payouts_confirm_core
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn payouts_confirm_core(
state: SessionState,
merchant_context: domain::MerchantContext,
req: payouts::PayoutCreateRequest,
) -> RouterResponse<payouts::PayoutCreateResponse> | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 68 | payouts_confirm_core | null | null | null | null | null | null |
// Function: merchant_account_kv_status
// File: crates/openapi/src/routes/merchant_account.rs
// Module: openapi
pub fn merchant_account_kv_status() | crates/openapi/src/routes/merchant_account.rs | openapi | function_signature | null | null | null | 34 | merchant_account_kv_status | null | null | null | null | null | null |
// Struct: Analytics
// File: crates/router/src/analytics.rs
// Module: router
// Implementations: 1
pub struct Analytics | crates/router/src/analytics.rs | router | struct_definition | Analytics | 1 | [] | 30 | null | null | null | null | null | null | null |
// Implementation: impl RefundMetricAccumulator for for SuccessRateAccumulator
// File: crates/analytics/src/refunds/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl RefundMetricAccumulator for for SuccessRateAccumulator | crates/analytics/src/refunds/accumulator.rs | analytics | impl_block | null | null | null | 60 | null | SuccessRateAccumulator | RefundMetricAccumulator for | 2 | 0 | null | null |
// Implementation: impl RefundExecute for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RefundExecute for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Wise | RefundExecute for | 0 | 0 | null | null |
// Implementation: impl api::PaymentToken for for Worldline
// File: crates/hyperswitch_connectors/src/connectors/worldline.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Worldline | crates/hyperswitch_connectors/src/connectors/worldline.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Worldline | api::PaymentToken for | 0 | 0 | null | null |
// File: crates/hyperswitch_domain_models/src/types.rs
// Module: hyperswitch_domain_models
pub use diesel_models::types::OrderDetailsWithAmount;
use crate::{
router_data::{AccessToken, AccessTokenAuthenticationResponse, RouterData},
router_data_v2::{self, RouterDataV2},
router_flow_types::{
manda... | crates/hyperswitch_domain_models/src/types.rs | hyperswitch_domain_models | full_file | null | null | null | 1,998 | null | null | null | null | null | null | null |
// Struct: PaymentAttempt
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Implementations: 7
// Traits: ForeignIDRef, ForeignIDRef, behaviour::Conversion, behaviour::Conversion
pub struct PaymentAttempt | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | struct_definition | PaymentAttempt | 7 | [
"ForeignIDRef",
"ForeignIDRef",
"behaviour::Conversion",
"behaviour::Conversion"
] | 61 | null | null | null | null | null | null | null |
// Struct: RiskifiedPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RiskifiedPaymentsResponse | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | RiskifiedPaymentsResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: update_process_status_by_ids
// File: crates/diesel_models/src/query/process_tracker.rs
// Module: diesel_models
pub fn update_process_status_by_ids(
conn: &PgPooledConn,
task_ids: Vec<String>,
task_update: ProcessTrackerUpdate,
) -> StorageResult<usize> | crates/diesel_models/src/query/process_tracker.rs | diesel_models | function_signature | null | null | null | 67 | update_process_status_by_ids | null | null | null | null | null | null |
// Struct: CardAndNetworkTokenData
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct CardAndNetworkTokenData | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | struct_definition | CardAndNetworkTokenData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Trait: SerializableSecret
// File: crates/masking/src/serde.rs
// Module: masking
pub trait SerializableSecret: Serialize | crates/masking/src/serde.rs | masking | trait_definition | null | null | null | 28 | null | null | SerializableSecret | null | null | null | null |
// Function: is_preprocessing_required_for_wallets
// File: crates/router/src/core/payments.rs
// Module: router
pub fn is_preprocessing_required_for_wallets(connector_name: String) -> bool | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 44 | is_preprocessing_required_for_wallets | null | null | null | null | null | null |
// Implementation: impl super::KafkaMessage for for KafkaFraudCheckEvent
// File: crates/router/src/services/kafka/fraud_check_event.rs
// Module: router
// Methods: 2 total (0 public)
impl super::KafkaMessage for for KafkaFraudCheckEvent | crates/router/src/services/kafka/fraud_check_event.rs | router | impl_block | null | null | null | 60 | null | KafkaFraudCheckEvent | super::KafkaMessage for | 2 | 0 | 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 |
// Function: from_payments_request_and_payment_attempt
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn from_payments_request_and_payment_attempt(
payments_request: &api_models::payments::PaymentsRequest,
payment_attempt: Option<&Paym... | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 72 | from_payments_request_and_payment_attempt | null | null | null | null | null | null |
// Struct: SingleUseTokenKey
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 1
pub struct SingleUseTokenKey | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | SingleUseTokenKey | 1 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Bitpay
// File: crates/hyperswitch_connectors/src/connectors/bitpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Bitpay | crates/hyperswitch_connectors/src/connectors/bitpay.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Bitpay | ConnectorValidation for | 0 | 0 | null | null |
// Function: handle_unified_connector_service_response_for_payment_authorize
// File: crates/router/src/core/unified_connector_service.rs
// Module: router
pub fn handle_unified_connector_service_response_for_payment_authorize(
response: PaymentServiceAuthorizeResponse,
) -> UnifiedConnectorServiceResult | crates/router/src/core/unified_connector_service.rs | router | function_signature | null | null | null | 59 | handle_unified_connector_service_response_for_payment_authorize | null | null | null | null | null | null |
// File: crates/drainer/src/types.rs
// Module: drainer
// Public functions: 1
// Public structs: 1
use std::collections::HashMap;
use common_utils::errors;
use error_stack::ResultExt;
use serde::{de::value::MapDeserializer, Deserialize, Serialize};
use crate::{
kv,
utils::{deserialize_db_op, deserialize_i64... | crates/drainer/src/types.rs | drainer | full_file | null | null | null | 254 | null | null | null | null | null | null | null |
// Struct: Archipel
// File: crates/hyperswitch_connectors/src/connectors/archipel.rs
// Module: hyperswitch_connectors
// Implementations: 18
// Traits: api::PaymentAuthorize, api::PaymentSync, api::PaymentVoid, api::PaymentCapture, api::MandateSetup, api::ConnectorAccessToken, api::PaymentToken, api::PaymentSession, ... | crates/hyperswitch_connectors/src/connectors/archipel.rs | hyperswitch_connectors | struct_definition | Archipel | 18 | [
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentVoid",
"api::PaymentCapture",
"api::MandateSetup",
"api::ConnectorAccessToken",
"api::PaymentToken",
"api::PaymentSession",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::Payment",
"api::PaymentIncrementalAuthorization"... | 129 | null | null | null | null | null | null | null |
// Struct: ErrorResult
// File: crates/api_models/src/analytics/payment_intents.rs
// Module: api_models
// Implementations: 0
pub struct ErrorResult | crates/api_models/src/analytics/payment_intents.rs | api_models | struct_definition | ErrorResult | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: CreateOrder
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct CreateOrder | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | CreateOrder | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl SmtpServer
// File: crates/external_services/src/email/smtp.rs
// Module: external_services
// Methods: 3 total (1 public)
impl SmtpServer | crates/external_services/src/email/smtp.rs | external_services | impl_block | null | null | null | 41 | null | SmtpServer | null | 3 | 1 | null | null |
// Implementation: impl Hash for for UserRole
// File: crates/diesel_models/src/user_role.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl Hash for for UserRole | crates/diesel_models/src/user_role.rs | diesel_models | impl_block | null | null | null | 42 | null | UserRole | Hash for | 1 | 0 | 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 |
// Function: new_token
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn new_token(
user_id: String,
merchant_id: id_type::MerchantId,
settings: &Settings,
org_id: id_type::OrganizationId,
profile_id: id_type::ProfileId,
tenant_id: Option<id_... | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 98 | new_token | null | null | null | null | null | null |
// Struct: PaymentToFrmData
// File: crates/router/src/core/fraud_check/types.rs
// Module: router
// Implementations: 0
pub struct PaymentToFrmData | crates/router/src/core/fraud_check/types.rs | router | struct_definition | PaymentToFrmData | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Itaubank
// File: crates/hyperswitch_connectors/src/connectors/itaubank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Itaubank | crates/hyperswitch_connectors/src/connectors/itaubank.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Itaubank | api::PaymentSession for | 0 | 0 | null | null |
// Function: update_target_count
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn update_target_count(&mut self, new: &Self) | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 38 | update_target_count | null | null | null | null | null | null |
// Struct: DeleteTokenizeByTokenRequest
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct DeleteTokenizeByTokenRequest | crates/api_models/src/payment_methods.rs | api_models | struct_definition | DeleteTokenizeByTokenRequest | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: DeutschebankReversalRequest
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankReversalRequest | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankReversalRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// File: crates/storage_impl/src/connection.rs
// Module: storage_impl
// Public functions: 3
use bb8::PooledConnection;
use common_utils::errors;
use diesel::PgConnection;
use error_stack::ResultExt;
pub type PgPool = bb8::Pool<async_bb8_diesel::ConnectionManager<PgConnection>>;
pub type PgPooledConn = async_bb8_di... | crates/storage_impl/src/connection.rs | storage_impl | full_file | null | null | null | 520 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/address.rs
// Module: diesel_models
// Public functions: 1
// Public structs: 4
use common_utils::{crypto, encryption::Encryption};
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use serde::{Deserialize, Serialize};
use time::PrimitiveDateTime;
use crate:... | crates/diesel_models/src/address.rs | diesel_models | full_file | null | null | null | 989 | null | null | null | null | null | null | null |
}
// Verify the signature of the token
fn verify_signature(
&self,
encrypted_data: &EncryptedData,
) -> CustomResult<(), errors::GooglePayDecryptionError> {
// check the protocol version
if encrypted_data.protocol_version != GooglePayProtocolVersion::EcProtocolVersion2 {... | crates/router/src/core/payments/helpers.rs#chunk6 | router | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Implementation: impl FilteredPaymentMethodsEnabled
// File: crates/router/src/core/payments/payment_methods.rs
// Module: router
// Methods: 2 total (0 public)
impl FilteredPaymentMethodsEnabled | crates/router/src/core/payments/payment_methods.rs | router | impl_block | null | null | null | 44 | null | FilteredPaymentMethodsEnabled | null | 2 | 0 | null | null |
// Function: fetch_routing_algo
// File: crates/router/src/core/routing.rs
// Module: router
pub fn fetch_routing_algo(
merchant_id: &common_utils::id_type::MerchantId,
algorithm_id: &common_utils::id_type::RoutingId,
db: &dyn StorageInterface,
) -> RouterResult<Self> | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 72 | fetch_routing_algo | null | null | null | null | null | null |
// Struct: OrganizationId
// File: crates/api_models/src/organization.rs
// Module: api_models
// Implementations: 0
pub struct OrganizationId | crates/api_models/src/organization.rs | api_models | struct_definition | OrganizationId | 0 | [] | 34 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Taxjar
// File: crates/hyperswitch_connectors/src/connectors/taxjar.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Taxjar | crates/hyperswitch_connectors/src/connectors/taxjar.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Taxjar | ConnectorValidation for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
... | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs | hyperswitch_connectors | full_file | null | null | null | 4,618 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Inespay
// File: crates/hyperswitch_connectors/src/connectors/inespay.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Inespay | crates/hyperswitch_connectors/src/connectors/inespay.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Inespay | ConnectorCommon for | 6 | 0 | null | null |
// Struct: PayloadCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/payload/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayloadCaptureRequest | crates/hyperswitch_connectors/src/connectors/payload/requests.rs | hyperswitch_connectors | struct_definition | PayloadCaptureRequest | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: delete_by_theme_id
// File: crates/diesel_models/src/query/user/theme.rs
// Module: diesel_models
pub fn delete_by_theme_id(conn: &PgPooledConn, theme_id: String) -> StorageResult<Self> | crates/diesel_models/src/query/user/theme.rs | diesel_models | function_signature | null | null | null | 51 | delete_by_theme_id | null | null | null | null | null | null |
// Struct: NetworkTokenizationBuilder
// File: crates/router/src/core/payment_methods/tokenize.rs
// Module: router
// Implementations: 0
pub struct NetworkTokenizationBuilder<'a, S: State> | crates/router/src/core/payment_methods/tokenize.rs | router | struct_definition | NetworkTokenizationBuilder | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: ThreeDsMethodData
// File: crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ThreeDsMethodData | crates/hyperswitch_domain_models/src/router_request_types/authentication.rs | hyperswitch_domain_models | struct_definition | ThreeDsMethodData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: set_time_range
// File: crates/analytics/src/opensearch.rs
// Module: analytics
pub fn set_time_range(&mut self, time_range: OpensearchTimeRange) -> QueryResult<()> | crates/analytics/src/opensearch.rs | analytics | function_signature | null | null | null | 46 | set_time_range | null | null | null | null | null | null |
// File: crates/euclid/src/frontend/ast.rs
// Module: euclid
// Public functions: 1
// Public structs: 9
pub mod lowering;
#[cfg(feature = "ast_parser")]
pub mod parser;
use common_enums::RoutableConnectors;
use common_utils::types::MinorUnit;
use serde::{Deserialize, Serialize};
use utoipa::ToSchema;
use crate::typ... | crates/euclid/src/frontend/ast.rs | euclid | full_file | null | null | null | 1,399 | null | null | null | null | null | null | null |
// Struct: AmountOfMoney
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AmountOfMoney | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | struct_definition | AmountOfMoney | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: BlackhawknetworkAccessTokenRequest
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BlackhawknetworkAccessTokenRequest | crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs | hyperswitch_connectors | struct_definition | BlackhawknetworkAccessTokenRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: AlipayInfo
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AlipayInfo | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | AlipayInfo | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: make_dsl_input_for_surcharge
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn make_dsl_input_for_surcharge(
payment_attempt: &oss_storage::PaymentAttempt,
payment_intent: &oss_storage::PaymentIntent,
billing_address: Option<Address>,
) -> RoutingResult<dsl_inputs::B... | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 79 | make_dsl_input_for_surcharge | null | null | null | null | null | null |
// Function: add_header
// File: crates/common_utils/src/request.rs
// Module: common_utils
pub fn add_header(&mut self, header: &str, value: Maskable<String>) | crates/common_utils/src/request.rs | common_utils | function_signature | null | null | null | 41 | add_header | null | null | null | null | null | null |
// Struct: MerchantConnectorAccountNew
// File: crates/diesel_models/src/merchant_connector_account.rs
// Module: diesel_models
// Implementations: 0
pub struct MerchantConnectorAccountNew | crates/diesel_models/src/merchant_connector_account.rs | diesel_models | struct_definition | MerchantConnectorAccountNew | 0 | [] | 41 | null | 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.