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: RateAccumulator
// File: crates/analytics/src/disputes/accumulators.rs
// Module: analytics
// Implementations: 1
// Traits: DisputeMetricAccumulator
pub struct RateAccumulator | crates/analytics/src/disputes/accumulators.rs | analytics | struct_definition | RateAccumulator | 1 | [
"DisputeMetricAccumulator"
] | 51 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/payment_attempt.rs
// Module: diesel_models
// Public functions: 6
// Public structs: 12
#[cfg(feature = "v2")]
use common_types::payments as common_payments_types;
use common_types::primitive_wrappers::{
ExtendedAuthorizationAppliedBool, OvercaptureEnabledBool, RequestExtendedAut... | crates/diesel_models/src/payment_attempt.rs#chunk0 | diesel_models | chunk | null | null | null | 8,187 | null | null | null | null | null | null | null |
// Struct: GlobepayConnectorMetadata
// File: crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobepayConnectorMetadata | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs | hyperswitch_connectors | struct_definition | GlobepayConnectorMetadata | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Plaid
// File: crates/hyperswitch_connectors/src/connectors/plaid.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Plaid | crates/hyperswitch_connectors/src/connectors/plaid.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Plaid | ConnectorValidation for | 0 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Worldpayxml
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Worldpayxml | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Worldpayxml | ConnectorCommon for | 6 | 0 | null | null |
// File: crates/router/src/compatibility/wrap.rs
// Module: router
// Public functions: 1
use std::{future::Future, sync::Arc, time::Instant};
use actix_web::{HttpRequest, HttpResponse, Responder};
use common_utils::errors::{CustomResult, ErrorSwitch};
use router_env::{instrument, tracing, Tag};
use serde::Serialize;... | crates/router/src/compatibility/wrap.rs | router | full_file | null | null | null | 1,490 | null | null | null | null | null | null | null |
// Implementation: impl MerchantAccountInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 10 total (0 public)
impl MerchantAccountInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 48 | null | KafkaStore | MerchantAccountInterface for | 10 | 0 | null | null |
},
CardToken {
#[serde(flatten)]
details: Option<additional_info::CardTokenAdditionalData>,
},
OpenBanking {
#[serde(flatten)]
details: Option<OpenBankingData>,
},
MobilePayment {
#[serde(flatten)]
details: Option<MobilePaymentData>,
},
}
impl... | crates/api_models/src/payments.rs#chunk4 | api_models | chunk | null | null | null | 8,174 | null | null | null | null | null | null | null |
// Struct: TenantLevel
// File: crates/router/src/types/domain/user.rs
// Module: router
// Implementations: 0
pub struct TenantLevel | crates/router/src/types/domain/user.rs | router | struct_definition | TenantLevel | 0 | [] | 33 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Mollie
// File: crates/hyperswitch_connectors/src/connectors/mollie.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Mollie | crates/hyperswitch_connectors/src/connectors/mollie.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Mollie | api::MandateSetup for | 0 | 0 | null | null |
// Struct: ExternalVaultRetrieveFlow
// File: crates/hyperswitch_domain_models/src/router_flow_types/vault.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ExternalVaultRetrieveFlow | crates/hyperswitch_domain_models/src/router_flow_types/vault.rs | hyperswitch_domain_models | struct_definition | ExternalVaultRetrieveFlow | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/external_services/build.rs
// Module: external_services
#[allow(clippy::expect_used)]
fn main() -> Result<(), Box<dyn std::error::Error>> {
// Compilation for revenue recovery protos
#[cfg(feature = "revenue_recovery")]
{
let proto_base_path = router_env::workspace_path().join("prot... | crates/external_services/build.rs | external_services | full_file | null | null | null | 397 | null | null | null | null | null | null | null |
// Struct: Mobile
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Mobile | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | Mobile | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: Sale
// File: crates/hyperswitch_domain_models/src/router_flow_types/fraud_check.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Sale | crates/hyperswitch_domain_models/src/router_flow_types/fraud_check.rs | hyperswitch_domain_models | struct_definition | Sale | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl SdkEventMetricsBucketIdentifier
// File: crates/api_models/src/analytics/sdk_events.rs
// Module: api_models
// Methods: 1 total (1 public)
impl SdkEventMetricsBucketIdentifier | crates/api_models/src/analytics/sdk_events.rs | api_models | impl_block | null | null | null | 47 | null | SdkEventMetricsBucketIdentifier | null | 1 | 1 | null | null |
// Function: as_str
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
pub fn as_str(&self) -> &'static str | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 46 | as_str | null | null | null | null | null | null |
// Implementation: impl fmt::Display for for Order
// File: crates/analytics/src/query.rs
// Module: analytics
// Methods: 1 total (0 public)
impl fmt::Display for for Order | crates/analytics/src/query.rs | analytics | impl_block | null | null | null | 43 | null | Order | fmt::Display for | 1 | 0 | null | null |
// Implementation: impl IncomingWebhook for for Nexinets
// File: crates/hyperswitch_connectors/src/connectors/nexinets.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl IncomingWebhook for for Nexinets | crates/hyperswitch_connectors/src/connectors/nexinets.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Nexinets | IncomingWebhook for | 3 | 0 | null | null |
// Struct: BusinessPaymentLinkConfig
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 1
pub struct BusinessPaymentLinkConfig | crates/api_models/src/admin.rs | api_models | struct_definition | BusinessPaymentLinkConfig | 1 | [] | 37 | null | null | null | null | null | null | null |
// Function: convert_connector
// File: crates/router/src/types/api/feature_matrix.rs
// Module: router
pub fn convert_connector(
connector_name: &str,
) -> CustomResult<ConnectorEnum, errors::ApiErrorResponse> | crates/router/src/types/api/feature_matrix.rs | router | function_signature | null | null | null | 50 | convert_connector | null | null | null | null | null | null |
// Function: connector_update
// File: crates/router/src/routes/admin.rs
// Module: router
pub fn connector_update(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<(
common_utils::id_type::MerchantId,
common_utils::id_type::MerchantConnectorAccountId,
) | crates/router/src/routes/admin.rs | router | function_signature | null | null | null | 71 | connector_update | null | null | null | null | null | null |
// Function: create_merchant_publishable_key
// File: crates/router/src/core/admin.rs
// Module: router
pub fn create_merchant_publishable_key() -> String | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 36 | create_merchant_publishable_key | null | null | null | null | null | null |
// Implementation: impl super::refunds::distribution::RefundDistributionAnalytics for for SqlxClient
// File: crates/analytics/src/sqlx.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::refunds::distribution::RefundDistributionAnalytics for for SqlxClient | crates/analytics/src/sqlx.rs | analytics | impl_block | null | null | null | 64 | null | SqlxClient | super::refunds::distribution::RefundDistributionAnalytics for | 0 | 0 | null | null |
// File: crates/external_services/src/lib.rs
// Module: external_services
// Public functions: 2
//! Interactions with external systems.
#![warn(missing_docs, missing_debug_implementations)]
#[cfg(feature = "email")]
pub mod email;
#[cfg(feature = "aws_kms")]
pub mod aws_kms;
pub mod file_storage;
#[cfg(feature = ... | crates/external_services/src/lib.rs | external_services | full_file | null | null | null | 1,083 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/flows/incremental_authorization_flow.rs
// Module: router
use async_trait::async_trait;
use super::ConstructFlowSpecificData;
use crate::{
core::{
errors::{ConnectorErrorExt, RouterResult},
payments::{self, access_token, helpers, transformers, Feature, Paym... | crates/router/src/core/payments/flows/incremental_authorization_flow.rs | router | full_file | null | null | null | 960 | null | null | null | null | null | null | null |
// Function: merchant_account_kv_status
// File: crates/router/src/routes/admin.rs
// Module: router
pub fn merchant_account_kv_status(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::MerchantId>,
) -> HttpResponse | crates/router/src/routes/admin.rs | router | function_signature | null | null | null | 63 | merchant_account_kv_status | null | null | null | null | null | null |
// Module Structure
// File: crates/external_services/src/http_client.rs
// Module: external_services
// Public submodules:
pub mod client;
pub mod metrics;
pub mod request;
// Public exports:
pub use common_utils::request::{ContentType, Method, RequestBuilder};
| crates/external_services/src/http_client.rs | external_services | module_structure | null | null | null | 57 | null | null | null | null | null | 3 | 1 |
// Implementation: impl InvoiceNew
// File: crates/diesel_models/src/invoice.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl InvoiceNew | crates/diesel_models/src/invoice.rs | diesel_models | impl_block | null | null | null | 38 | null | InvoiceNew | null | 1 | 1 | null | null |
// Function: set_error_callback
// File: crates/storage_impl/src/redis.rs
// Module: storage_impl
pub fn set_error_callback(&self, callback: tokio::sync::oneshot::Sender<() | crates/storage_impl/src/redis.rs | storage_impl | function_signature | null | null | null | 45 | set_error_callback | null | null | null | null | null | null |
// Struct: GetThemeResponse
// File: crates/api_models/src/user/theme.rs
// Module: api_models
// Implementations: 0
pub struct GetThemeResponse | crates/api_models/src/user/theme.rs | api_models | struct_definition | GetThemeResponse | 0 | [] | 36 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/euclid/src/frontend/ast.rs
// Module: euclid
// Public submodules:
pub mod lowering;
pub mod parser;
| crates/euclid/src/frontend/ast.rs | euclid | module_structure | null | null | null | 36 | null | null | null | null | null | 2 | 0 |
// Struct: AddVaultResponse
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct AddVaultResponse | crates/router/src/types/payment_methods.rs | router | struct_definition | AddVaultResponse | 0 | [] | 35 | null | null | null | null | null | null | null |
// Function: verify_email_request
// File: crates/router/src/routes/user.rs
// Module: router
pub fn verify_email_request(
state: web::Data<AppState>,
http_req: HttpRequest,
json_payload: web::Json<user_api::SendVerifyEmailRequest>,
query: web::Query<user_api::AuthIdAndThemeIdQueryParam>,
) -> HttpResp... | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 79 | verify_email_request | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Jpmorgan
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Jpmorgan | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Jpmorgan | api::PaymentVoid for | 0 | 0 | null | null |
// Function: find_by_merchant_id_merchant_order_reference_id
// File: crates/diesel_models/src/query/payout_attempt.rs
// Module: diesel_models
pub fn find_by_merchant_id_merchant_order_reference_id(
conn: &PgPooledConn,
merchant_id_input: &common_utils::id_type::MerchantId,
merchant_order_refe... | crates/diesel_models/src/query/payout_attempt.rs | diesel_models | function_signature | null | null | null | 88 | find_by_merchant_id_merchant_order_reference_id | null | null | null | null | null | null |
// File: crates/router/src/utils/verify_connector.rs
// Module: router
// Public functions: 2
use api_models::enums::Connector;
use error_stack::ResultExt;
use crate::{core::errors, types::domain};
pub fn generate_card_from_details(
card_number: String,
card_exp_year: String,
card_exp_month: String,
... | crates/router/src/utils/verify_connector.rs | router | full_file | null | null | null | 418 | null | null | null | null | null | null | null |
// Function: get_no_level_user_role
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_no_level_user_role(
self,
role_id: String,
user_status: UserStatus,
) -> NewUserRole<NoLevel> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 58 | get_no_level_user_role | null | null | null | null | null | null |
// Trait: TypeEncryption
// File: crates/hyperswitch_domain_models/src/type_encryption.rs
// Module: hyperswitch_domain_models
pub trait TypeEncryption<
T,
V: crypto::EncodeMessage + crypto::DecodeMessage,
S: masking::Strategy<T> | crates/hyperswitch_domain_models/src/type_encryption.rs | hyperswitch_domain_models | trait_definition | null | null | null | 59 | null | null | TypeEncryption | null | null | null | null |
// Struct: RefundsRetrievePayload
// File: crates/api_models/src/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundsRetrievePayload | crates/api_models/src/refunds.rs | api_models | struct_definition | RefundsRetrievePayload | 0 | [] | 38 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/gocardless.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/gocardless.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// 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 |
// File: crates/analytics/src/refunds.rs
// Module: analytics
pub mod accumulator;
mod core;
pub mod distribution;
pub mod filters;
pub mod metrics;
pub mod types;
pub use accumulator::{RefundMetricAccumulator, RefundMetricsAccumulator};
pub use self::core::{get_filters, get_metrics};
| crates/analytics/src/refunds.rs | analytics | full_file | null | null | null | 69 | null | null | null | null | null | null | null |
// Function: get_debit_routing_decision_data
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn get_debit_routing_decision_data(
network: common_enums::enums::CardNetwork,
debit_routing_result: Option<open_router::DebitRoutingOutput>,
) -> Self | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 67 | get_debit_routing_decision_data | null | null | null | null | null | null |
// Function: calculate_difference_in_seconds
// File: crates/router/src/workflows/revenue_recovery.rs
// Module: router
pub fn calculate_difference_in_seconds(scheduled_time: time::PrimitiveDateTime) -> i64 | crates/router/src/workflows/revenue_recovery.rs | router | function_signature | null | null | null | 45 | calculate_difference_in_seconds | null | null | null | null | null | null |
// Function: as_text
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
pub fn as_text(&self) -> Option<&String> | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 48 | as_text | null | null | null | null | null | null |
// Implementation: impl RouterStore
// File: crates/storage_impl/src/lib.rs
// Module: storage_impl
// Methods: 7 total (1 public)
impl RouterStore | crates/storage_impl/src/lib.rs | storage_impl | impl_block | null | null | null | 36 | null | RouterStore | null | 7 | 1 | null | null |
// Function: get_payment_processor_token_with_schedule_time
// File: crates/router/src/types/storage/revenue_recovery_redis_operation.rs
// Module: router
pub fn get_payment_processor_token_with_schedule_time(
state: &SessionState,
connector_customer_id: &str,
) -> CustomResult<Option<PaymentProces... | crates/router/src/types/storage/revenue_recovery_redis_operation.rs | router | function_signature | null | null | null | 73 | get_payment_processor_token_with_schedule_time | null | null | null | null | null | null |
// Struct: DatatransError
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DatatransError | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | struct_definition | DatatransError | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: outgoing_webhook_events_core
// File: crates/analytics/src/outgoing_webhook_event/core.rs
// Module: analytics
pub fn outgoing_webhook_events_core(
pool: &AnalyticsProvider,
req: OutgoingWebhookLogsRequest,
merchant_id: &common_utils::id_type::MerchantId,
) -> AnalyticsResult<Vec<OutgoingWebho... | crates/analytics/src/outgoing_webhook_event/core.rs | analytics | function_signature | null | null | null | 81 | outgoing_webhook_events_core | null | null | null | null | null | null |
// Trait: State
// File: crates/router/src/core/payment_methods/tokenize.rs
// Module: router
pub trait State | crates/router/src/core/payment_methods/tokenize.rs | router | trait_definition | null | null | null | 26 | null | null | State | null | null | null | null |
// Struct: PayoutAttemptUpdateInternal
// File: crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PayoutAttemptUpdateInternal | crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs | hyperswitch_domain_models | struct_definition | PayoutAttemptUpdateInternal | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: BraintreeThreeDsResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BraintreeThreeDsResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | BraintreeThreeDsResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/api_models/src/events/apple_pay_certificates_migration.rs
// Module: api_models
use common_utils::events::ApiEventMetric;
use crate::apple_pay_certificates_migration::ApplePayCertificatesMigrationResponse;
impl ApiEventMetric for ApplePayCertificatesMigrationResponse {
fn get_api_event_type(&self... | crates/api_models/src/events/apple_pay_certificates_migration.rs | api_models | full_file | null | null | null | 98 | null | null | null | null | null | null | null |
// Struct: CeleroCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CeleroCaptureRequest | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | struct_definition | CeleroCaptureRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: PlatformOrgAdminAuth
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct PlatformOrgAdminAuth | crates/router/src/services/authentication.rs | router | struct_definition | PlatformOrgAdminAuth | 0 | [] | 36 | null | null | null | null | null | null | null |
// File: crates/router/tests/health_check.rs
// Module: router
mod utils;
use utils::{mk_service, AppClient};
#[actix_web::test]
async fn health_check() {
let server = Box::pin(mk_service()).await;
let client = AppClient::guest();
assert_eq!(client.health(&server).await, "health is good");
}
| crates/router/tests/health_check.rs | router | full_file | null | null | null | 80 | null | null | null | null | null | null | null |
// Struct: BusinessPayoutLinkConfig
// File: crates/diesel_models/src/business_profile.rs
// Module: diesel_models
// Implementations: 0
pub struct BusinessPayoutLinkConfig | crates/diesel_models/src/business_profile.rs | diesel_models | struct_definition | BusinessPayoutLinkConfig | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: payments_cancel_post_capture
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_cancel_post_capture(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsCancelPostCaptureRequest>,
path: web::Path<common_u... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 89 | payments_cancel_post_capture | null | null | null | null | null | null |
// Function: update_gateway_score_helper_with_open_router
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn update_gateway_score_helper_with_open_router(
state: &SessionState,
payment_attempt: &storage::PaymentAttempt,
profile_id: &id_type::ProfileId,
dynamic_routing_algo_ref:... | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 85 | update_gateway_score_helper_with_open_router | null | null | null | null | null | null |
// Function: update_card_info
// File: crates/router/src/core/cards_info.rs
// Module: router
pub fn update_card_info(
state: routes::SessionState,
card_info_request: cards_info_api_types::CardInfoUpdateRequest,
) -> RouterResponse<cards_info_api_types::CardInfoResponse> | crates/router/src/core/cards_info.rs | router | function_signature | null | null | null | 66 | update_card_info | null | null | null | null | null | null |
// Implementation: impl InjectorRequest
// File: crates/injector/src/types.rs
// Module: injector
// Methods: 1 total (1 public)
impl InjectorRequest | crates/injector/src/types.rs | injector | impl_block | null | null | null | 36 | null | InjectorRequest | null | 1 | 1 | null | null |
// Implementation: impl api::PaymentCapture for for Worldpay
// File: crates/hyperswitch_connectors/src/connectors/worldpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Worldpay | crates/hyperswitch_connectors/src/connectors/worldpay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Worldpay | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: TokenizedCard
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TokenizedCard | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | TokenizedCard | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: StrongSecret
// File: crates/masking/src/strong_secret.rs
// Module: masking
// Implementations: 7
// Traits: Clone, PartialEq, Eq, Default, Drop, prost::Message
// Documentation: Secret thing. To get access to value use method `expose()` of trait [`crate::ExposeInterface`].
pub struct StrongSecret<Secret... | crates/masking/src/strong_secret.rs | masking | struct_definition | StrongSecret | 7 | [
"Clone",
"PartialEq",
"Eq",
"Default",
"Drop",
"prost::Message"
] | 93 | null | null | null | null | null | null | null |
// Struct: ListUserRolesByUserIdPayload
// File: crates/router/src/db/user_role.rs
// Module: router
// Implementations: 0
pub struct ListUserRolesByUserIdPayload<'a> | crates/router/src/db/user_role.rs | router | struct_definition | ListUserRolesByUserIdPayload | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: NoonAuthType
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonAuthType | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonAuthType | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/external_services/src/aws_kms/core.rs
// Module: external_services
// Public functions: 4
// Public structs: 2
//! Interactions with the AWS KMS SDK
use std::time::Instant;
use aws_config::meta::region::RegionProviderChain;
use aws_sdk_kms::{config::Region, primitives::Blob, Client};
use base64::Engi... | crates/external_services/src/aws_kms/core.rs | external_services | full_file | null | null | null | 1,834 | null | null | null | null | null | null | null |
// Implementation: impl NetworkTokenizationBuilder
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
// Methods: 2 total (2 public)
impl NetworkTokenizationBuilder | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | impl_block | null | null | null | 45 | null | NetworkTokenizationBuilder | null | 2 | 2 | null | null |
// Implementation: impl api::PaymentVoid for for Getnet
// File: crates/hyperswitch_connectors/src/connectors/getnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Getnet | crates/hyperswitch_connectors/src/connectors/getnet.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Getnet | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl api::ConnectorCustomer for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorCustomer for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Stripe | api::ConnectorCustomer for | 0 | 0 | null | null |
// Implementation: impl fmt::Display for for LimitByClause
// File: crates/analytics/src/query.rs
// Module: analytics
// Methods: 1 total (0 public)
impl fmt::Display for for LimitByClause | crates/analytics/src/query.rs | analytics | impl_block | null | null | null | 47 | null | LimitByClause | fmt::Display 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 |
// Implementation: impl api::PaymentSession for for Wellsfargo
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Wellsfargo | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Wellsfargo | api::PaymentSession for | 0 | 0 | null | null |
// Struct: PaymentSession
// File: crates/router/src/core/payments/operations/payment_session.rs
// Module: router
// Implementations: 0
pub struct PaymentSession | crates/router/src/core/payments/operations/payment_session.rs | router | struct_definition | PaymentSession | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: ProphetpayCardTokenData
// File: crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProphetpayCardTokenData | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs | hyperswitch_connectors | struct_definition | ProphetpayCardTokenData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: update_default_fallback_routing_of_connectors_under_profile
// File: crates/router/src/core/admin.rs
// Module: router
pub fn update_default_fallback_routing_of_connectors_under_profile(
self,
db: &dyn StorageInterface,
updated_config: &Vec<routing_types::RoutableConnectorChoice>,
... | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 97 | update_default_fallback_routing_of_connectors_under_profile | null | null | null | null | null | null |
// Implementation: impl ProcessTracker
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl ProcessTracker | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 35 | null | ProcessTracker | null | 1 | 1 | null | null |
// Struct: Fetch
// File: crates/hyperswitch_domain_models/src/router_flow_types/dispute.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Fetch | crates/hyperswitch_domain_models/src/router_flow_types/dispute.rs | hyperswitch_domain_models | struct_definition | Fetch | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: accept_invitations_v2
// File: crates/router/src/core/user_role.rs
// Module: router
pub fn accept_invitations_v2(
state: SessionState,
user_from_token: auth::UserFromToken,
req: user_role_api::AcceptInvitationsV2Request,
) -> UserResponse<()> | crates/router/src/core/user_role.rs | router | function_signature | null | null | null | 69 | accept_invitations_v2 | null | null | null | null | null | null |
// Struct: NexixpayRouterData
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexixpayRouterData<T> | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | NexixpayRouterData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: ClientTokenData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ClientTokenData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | ClientTokenData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: ThreeDSEnolled
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDSEnolled | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | struct_definition | ThreeDSEnolled | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: ApplePayRedirectData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ApplePayRedirectData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | ApplePayRedirectData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: ProfileNew
// File: crates/diesel_models/src/business_profile.rs
// Module: diesel_models
// Implementations: 0
pub struct ProfileNew | crates/diesel_models/src/business_profile.rs | diesel_models | struct_definition | ProfileNew | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: HeaderAuth
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct HeaderAuth<I> | crates/router/src/services/authentication.rs | router | struct_definition | HeaderAuth | 0 | [] | 34 | null | null | null | null | null | null | null |
// Function: get_customer_id
// File: crates/api_models/src/payouts.rs
// Module: api_models
pub fn get_customer_id(&self) -> Option<&id_type::CustomerId> | crates/api_models/src/payouts.rs | api_models | function_signature | null | null | null | 41 | get_customer_id | null | null | null | null | null | null |
// Struct: PlaidExchangeTokenResponse
// File: crates/pm_auth/src/connector/plaid/transformers.rs
// Module: pm_auth
// Implementations: 0
pub struct PlaidExchangeTokenResponse | crates/pm_auth/src/connector/plaid/transformers.rs | pm_auth | struct_definition | PlaidExchangeTokenResponse | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: refund_retrieve_core_with_refund_id
// File: crates/router/src/core/refunds_v2.rs
// Module: router
pub fn refund_retrieve_core_with_refund_id(
state: SessionState,
merchant_context: domain::MerchantContext,
profile: domain::Profile,
request: refunds::RefundsRetrieveRequest,
) -> errors::R... | crates/router/src/core/refunds_v2.rs | router | function_signature | null | null | null | 87 | refund_retrieve_core_with_refund_id | null | null | null | null | null | null |
// File: crates/common_types/src/payments.rs
// Module: common_types
// Public functions: 23
// Public structs: 15
//! Payment related types
use std::collections::HashMap;
use common_enums::enums;
use common_utils::{
date_time, errors, events, ext_traits::OptionExt, impl_to_sql_from_sql_json, pii,
types::Min... | crates/common_types/src/payments.rs | common_types | full_file | null | null | null | 6,029 | null | null | null | null | null | null | null |
// Function: find_optional_by_hashed_api_key
// File: crates/diesel_models/src/query/api_keys.rs
// Module: diesel_models
pub fn find_optional_by_hashed_api_key(
conn: &PgPooledConn,
hashed_api_key: HashedApiKey,
) -> StorageResult<Option<Self>> | crates/diesel_models/src/query/api_keys.rs | diesel_models | function_signature | null | null | null | 66 | find_optional_by_hashed_api_key | null | null | null | null | null | null |
// Implementation: impl PaymentRedirectFlow for for PaymentRedirectSync
// File: crates/router/src/core/payments.rs
// Module: router
// Methods: 3 total (0 public)
impl PaymentRedirectFlow for for PaymentRedirectSync | crates/router/src/core/payments.rs | router | impl_block | null | null | null | 48 | null | PaymentRedirectSync | PaymentRedirectFlow for | 3 | 0 | null | null |
// Function: construct_router_data_for_cancel
// File: crates/router/src/core/payments/transformers.rs
// Module: router
pub fn construct_router_data_for_cancel<'a>(
state: &'a SessionState,
payment_data: hyperswitch_domain_models::payments::PaymentCancelData<
hyperswitch_domain_models::router_flow_typ... | crates/router/src/core/payments/transformers.rs | router | function_signature | null | null | null | 162 | construct_router_data_for_cancel | null | null | null | null | null | null |
// Struct: PaymentDataFilledCount
// File: crates/api_models/src/analytics/sdk_events.rs
// Module: api_models
// Implementations: 0
pub struct PaymentDataFilledCount | crates/api_models/src/analytics/sdk_events.rs | api_models | struct_definition | PaymentDataFilledCount | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: get_organization_type
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
pub fn get_organization_type(&self) -> common_enums::OrganizationType | crates/diesel_models/src/organization.rs | diesel_models | function_signature | null | null | null | 40 | get_organization_type | null | null | null | null | null | null |
// Struct: WisePayoutFulfillRequest
// File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WisePayoutFulfillRequest | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs | hyperswitch_connectors | struct_definition | WisePayoutFulfillRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: PaymentMethodSessionDeleteSavedPaymentMethod
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodSessionDeleteSavedPaymentMethod | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodSessionDeleteSavedPaymentMethod | 0 | [] | 44 | null | null | null | null | null | null | null |
// File: crates/external_services/src/email/smtp.rs
// Module: external_services
// Public functions: 3
// Public structs: 2
use std::time::Duration;
use common_utils::{errors::CustomResult, pii};
use error_stack::ResultExt;
use lettre::{
address::AddressError,
error,
message::{header::ContentType, Mailbo... | crates/external_services/src/email/smtp.rs | external_services | full_file | null | null | null | 1,475 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use base64::Engine;
use common_enums::enums;
use common_utils::{
consts,
errors::CustomResult,
ext_traits::Byte... | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs | hyperswitch_connectors | full_file | null | null | null | 4,296 | null | null | null | null | null | null | null |
// Implementation: impl OutgoingWebhookEventMetric for for OutgoingWebhookContent
// File: crates/router/src/events/outgoing_webhook_logs.rs
// Module: router
// Methods: 1 total (0 public)
impl OutgoingWebhookEventMetric for for OutgoingWebhookContent | crates/router/src/events/outgoing_webhook_logs.rs | router | impl_block | null | null | null | 61 | null | OutgoingWebhookContent | OutgoingWebhookEventMetric for | 1 | 0 | null | null |
// Struct: AcsProtocolVersion
// File: crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AcsProtocolVersion | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs | hyperswitch_connectors | struct_definition | AcsProtocolVersion | 0 | [] | 51 | 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.