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
⌀
// File: crates/api_models/src/events/payouts.rs // Module: api_models use common_utils::events::{ApiEventMetric, ApiEventsType}; use crate::payouts::{ PayoutActionRequest, PayoutCreateRequest, PayoutCreateResponse, PayoutLinkInitiateRequest, PayoutListConstraints, PayoutListFilterConstraints, PayoutListFilte...
crates/api_models/src/events/payouts.rs
api_models
full_file
null
null
null
522
null
null
null
null
null
null
null
// File: crates/test_utils/tests/connectors/bluesnap_ui.rs // Module: test_utils use serial_test::serial; use thirtyfour::{prelude::*, WebDriver}; use crate::{selenium::*, tester}; struct BluesnapSeleniumTest; impl SeleniumTest for BluesnapSeleniumTest { fn get_connector_name(&self) -> String { "bluesna...
crates/test_utils/tests/connectors/bluesnap_ui.rs
test_utils
full_file
null
null
null
528
null
null
null
null
null
null
null
// Function: set_role_info_in_cache_by_role_id_org_id // File: crates/router/src/utils/user_role.rs // Module: router pub fn set_role_info_in_cache_by_role_id_org_id( state: &SessionState, role_id: &str, org_id: &id_type::OrganizationId, tenant_id: &id_type::TenantId, ) -> bool
crates/router/src/utils/user_role.rs
router
function_signature
null
null
null
82
set_role_info_in_cache_by_role_id_org_id
null
null
null
null
null
null
// Implementation: impl ConnectorCommon for for Checkbook // File: crates/hyperswitch_connectors/src/connectors/checkbook.rs // Module: hyperswitch_connectors // Methods: 6 total (0 public) impl ConnectorCommon for for Checkbook
crates/hyperswitch_connectors/src/connectors/checkbook.rs
hyperswitch_connectors
impl_block
null
null
null
53
null
Checkbook
ConnectorCommon for
6
0
null
null
// Struct: CoingatePaymentsRequest // File: crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct CoingatePaymentsRequest
crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs
hyperswitch_connectors
struct_definition
CoingatePaymentsRequest
0
[]
52
null
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs // Module: hyperswitch_connectors // Public structs: 12 use common_enums::enums; use common_utils::{request::Method, types::StringMinorUnit}; use hyperswitch_domain_models::{ payment_method_data::PaymentMethodData, router_data::{Con...
crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs
hyperswitch_connectors
full_file
null
null
null
2,718
null
null
null
null
null
null
null
// Struct: ApplePayPaymentInformation // File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ApplePayPaymentInformation
crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
hyperswitch_connectors
struct_definition
ApplePayPaymentInformation
0
[]
51
null
null
null
null
null
null
null
// Struct: WebhookDetails // File: crates/diesel_models/src/business_profile.rs // Module: diesel_models // Implementations: 0 pub struct WebhookDetails
crates/diesel_models/src/business_profile.rs
diesel_models
struct_definition
WebhookDetails
0
[]
37
null
null
null
null
null
null
null
// Struct: XenditMultipleSplitResponse // File: crates/common_types/src/payments.rs // Module: common_types // Implementations: 0 pub struct XenditMultipleSplitResponse
crates/common_types/src/payments.rs
common_types
struct_definition
XenditMultipleSplitResponse
0
[]
42
null
null
null
null
null
null
null
// File: crates/analytics/src/routing_events.rs // Module: analytics mod core; pub mod events; pub trait RoutingEventAnalytics: events::RoutingEventLogAnalytics {} pub use self::core::routing_events_core;
crates/analytics/src/routing_events.rs
analytics
full_file
null
null
null
47
null
null
null
null
null
null
null
// Struct: RazorpayAuthType // File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RazorpayAuthType
crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
hyperswitch_connectors
struct_definition
RazorpayAuthType
0
[]
51
null
null
null
null
null
null
null
// Function: delete_payment_method // File: crates/router/src/core/payment_methods.rs // Module: router pub fn delete_payment_method( state: SessionState, pm_id: api::PaymentMethodId, merchant_context: domain::MerchantContext, profile: domain::Profile, ) -> RouterResponse<api::PaymentMethodDeleteRespon...
crates/router/src/core/payment_methods.rs
router
function_signature
null
null
null
73
delete_payment_method
null
null
null
null
null
null
// Module Structure // File: crates/hyperswitch_connectors/src/connectors/signifyd.rs // Module: hyperswitch_connectors // Public submodules: pub mod transformers;
crates/hyperswitch_connectors/src/connectors/signifyd.rs
hyperswitch_connectors
module_structure
null
null
null
39
null
null
null
null
null
1
0
// Struct: PayeezyError // File: crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PayeezyError
crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs
hyperswitch_connectors
struct_definition
PayeezyError
0
[]
50
null
null
null
null
null
null
null
// Implementation: impl api::Refund for for Jpmorgan // File: crates/hyperswitch_connectors/src/connectors/jpmorgan.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Refund for for Jpmorgan
crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
hyperswitch_connectors
impl_block
null
null
null
60
null
Jpmorgan
api::Refund for
0
0
null
null
// Function: refunds_list // File: crates/router/src/routes/refunds.rs // Module: router pub fn refunds_list( state: web::Data<AppState>, req: HttpRequest, payload: web::Json<api_models::refunds::RefundListRequest>, ) -> HttpResponse
crates/router/src/routes/refunds.rs
router
function_signature
null
null
null
62
refunds_list
null
null
null
null
null
null
// Struct: VoltErrorException // File: crates/hyperswitch_connectors/src/connectors/volt/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct VoltErrorException
crates/hyperswitch_connectors/src/connectors/volt/transformers.rs
hyperswitch_connectors
struct_definition
VoltErrorException
0
[]
45
null
null
null
null
null
null
null
// Function: is_clear_pan_possible // File: crates/common_types/src/domain.rs // Module: common_types // Documentation: Checks if retry with PAN is possible. pub fn is_clear_pan_possible(&self) -> bool
crates/common_types/src/domain.rs
common_types
function_signature
null
null
null
46
is_clear_pan_possible
null
null
null
null
null
null
// Function: get_payments_aggregates_profile // File: crates/router/src/routes/payments.rs // Module: router pub fn get_payments_aggregates_profile( state: web::Data<app::AppState>, req: actix_web::HttpRequest, payload: web::Query<common_utils::types::TimeRange>, ) -> impl Responder
crates/router/src/routes/payments.rs
router
function_signature
null
null
null
75
get_payments_aggregates_profile
null
null
null
null
null
null
// File: crates/router/src/core/payments/flows/approve_flow.rs // Module: router use async_trait::async_trait; use super::{ConstructFlowSpecificData, Feature}; use crate::{ core::{ errors::{ApiErrorResponse, NotImplementedMessage, RouterResult}, payments::{self, access_token, helpers, transformers...
crates/router/src/core/payments/flows/approve_flow.rs
router
full_file
null
null
null
801
null
null
null
null
null
null
null
// Struct: CardPaymentRequest // File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct CardPaymentRequest
crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
hyperswitch_connectors
struct_definition
CardPaymentRequest
0
[]
48
null
null
null
null
null
null
null
// Implementation: impl CallbackMapper // File: crates/hyperswitch_domain_models/src/callback_mapper.rs // Module: hyperswitch_domain_models // Methods: 1 total (1 public) impl CallbackMapper
crates/hyperswitch_domain_models/src/callback_mapper.rs
hyperswitch_domain_models
impl_block
null
null
null
43
null
CallbackMapper
null
1
1
null
null
// File: crates/router/tests/integration_demo.rs // Module: router #![allow(clippy::unwrap_used)] mod utils; use masking::PeekInterface; use test_utils::connector_auth::ConnectorAuthentication; use utils::{mk_service, ApiKey, AppClient, MerchantId, PaymentId, Status}; /// Example of unit test /// Kind of test: outpu...
crates/router/tests/integration_demo.rs
router
full_file
null
null
null
1,604
null
null
null
null
null
null
null
// Implementation: impl KafkaAuthentication // File: crates/router/src/services/kafka/authentication.rs // Module: router // Methods: 1 total (1 public) impl KafkaAuthentication
crates/router/src/services/kafka/authentication.rs
router
impl_block
null
null
null
37
null
KafkaAuthentication
null
1
1
null
null
// File: crates/router/src/core/payments/operations/payment_update.rs // Module: router // Public structs: 1 use std::marker::PhantomData; use api_models::{ enums::FrmSuggestion, mandates::RecurringDetails, payments::RequestSurchargeDetails, }; use async_trait::async_trait; use common_utils::{ ext_traits::{As...
crates/router/src/core/payments/operations/payment_update.rs#chunk0
router
chunk
null
null
null
8,189
null
null
null
null
null
null
null
// Struct: MpgsAuthType // File: crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct MpgsAuthType
crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs
hyperswitch_connectors
struct_definition
MpgsAuthType
0
[]
51
null
null
null
null
null
null
null
// Function: delete_by_address_id // File: crates/diesel_models/src/query/address.rs // Module: diesel_models pub fn delete_by_address_id( conn: &PgPooledConn, address_id: &str, ) -> StorageResult<bool>
crates/diesel_models/src/query/address.rs
diesel_models
function_signature
null
null
null
56
delete_by_address_id
null
null
null
null
null
null
// File: crates/hyperswitch_domain_models/src/gsm.rs // Module: hyperswitch_domain_models // Public structs: 2 use common_utils::{errors::ValidationError, ext_traits::StringExt}; use serde::{self, Deserialize, Serialize}; #[derive(Debug, Clone, Deserialize, Serialize, PartialEq, Eq)] pub struct GatewayStatusMap { ...
crates/hyperswitch_domain_models/src/gsm.rs
hyperswitch_domain_models
full_file
null
null
null
1,085
null
null
null
null
null
null
null
// File: crates/router/src/core/payments/operations/payment_approve.rs // Module: router // Public structs: 1 use std::marker::PhantomData; use api_models::enums::{AttemptStatus, FrmSuggestion, IntentStatus}; use async_trait::async_trait; use error_stack::ResultExt; use router_derive::PaymentOperation; use router_env...
crates/router/src/core/payments/operations/payment_approve.rs
router
full_file
null
null
null
2,344
null
null
null
null
null
null
null
// Struct: GocardlessCustomerResponse // File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct GocardlessCustomerResponse
crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
hyperswitch_connectors
struct_definition
GocardlessCustomerResponse
0
[]
52
null
null
null
null
null
null
null
// Function: list_countries_currencies_for_connector_payment_method_util // File: crates/router/src/core/payment_methods/cards.rs // Module: router pub fn list_countries_currencies_for_connector_payment_method_util( connector_filters: settings::ConnectorFilters, connector: api_enums::Connector, payment_met...
crates/router/src/core/payment_methods/cards.rs
router
function_signature
null
null
null
80
list_countries_currencies_for_connector_payment_method_util
null
null
null
null
null
null
// Implementation: impl RoutingEventsResponse // File: crates/router/src/core/payments/routing/utils.rs // Module: router // Methods: 3 total (3 public) impl RoutingEventsResponse
crates/router/src/core/payments/routing/utils.rs
router
impl_block
null
null
null
41
null
RoutingEventsResponse
null
3
3
null
null
// File: crates/hyperswitch_connectors/src/connectors/bitpay.rs // Module: hyperswitch_connectors // Public functions: 1 // Public structs: 1 pub mod transformers; use std::sync::LazyLock; use api_models::webhooks::IncomingWebhookEvent; use common_enums::enums; use common_utils::{ errors::{CustomResult, ReportSwi...
crates/hyperswitch_connectors/src/connectors/bitpay.rs
hyperswitch_connectors
full_file
null
null
null
3,557
null
null
null
null
null
null
null
// Function: perform_pre_authentication // File: crates/router/src/core/authentication.rs // Module: router pub fn perform_pre_authentication( state: &SessionState, key_store: &domain::MerchantKeyStore, card: hyperswitch_domain_models::payment_method_data::Card, token: String, business_profile: &do...
crates/router/src/core/authentication.rs
router
function_signature
null
null
null
170
perform_pre_authentication
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs // Module: hyperswitch_connectors // Public structs: 10 use common_enums::enums; use common_utils::{request::Method, types::FloatMajorUnit}; use hyperswitch_domain_models::{ router_data::{ConnectorAuthType, RouterData}, router_flow_ty...
crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs
hyperswitch_connectors
full_file
null
null
null
2,233
null
null
null
null
null
null
null
// Implementation: impl api::Refund for for Katapult // File: crates/hyperswitch_connectors/src/connectors/katapult.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Refund for for Katapult
crates/hyperswitch_connectors/src/connectors/katapult.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Katapult
api::Refund for
0
0
null
null
// Function: retrieve_merchant_account // File: crates/openapi/src/routes/merchant_account.rs // Module: openapi pub fn retrieve_merchant_account()
crates/openapi/src/routes/merchant_account.rs
openapi
function_signature
null
null
null
34
retrieve_merchant_account
null
null
null
null
null
null
// Function: default_output // File: crates/euclid/src/frontend/ast/parser.rs // Module: euclid pub fn default_output<O: EuclidParsable + 'static>(input: &str) -> ParseResult<&str, O>
crates/euclid/src/frontend/ast/parser.rs
euclid
function_signature
null
null
null
54
default_output
null
null
null
null
null
null
// Implementation: impl IncomingWebhook for for Paybox // File: crates/hyperswitch_connectors/src/connectors/paybox.rs // Module: hyperswitch_connectors // Methods: 3 total (0 public) impl IncomingWebhook for for Paybox
crates/hyperswitch_connectors/src/connectors/paybox.rs
hyperswitch_connectors
impl_block
null
null
null
55
null
Paybox
IncomingWebhook for
3
0
null
null
// Function: set_error // File: crates/hyperswitch_interfaces/src/events/routing_api_logs.rs // Module: hyperswitch_interfaces // Documentation: fn set_error pub fn set_error(&mut self, error: serde_json::Value)
crates/hyperswitch_interfaces/src/events/routing_api_logs.rs
hyperswitch_interfaces
function_signature
null
null
null
52
set_error
null
null
null
null
null
null
// Function: get_id // File: crates/hyperswitch_domain_models/src/lib.rs // Module: hyperswitch_domain_models pub fn get_id(&self) -> String
crates/hyperswitch_domain_models/src/lib.rs
hyperswitch_domain_models
function_signature
null
null
null
37
get_id
null
null
null
null
null
null
// Implementation: impl RefundMetricAccumulator for for CountAccumulator // File: crates/analytics/src/refunds/accumulator.rs // Module: analytics // Methods: 2 total (0 public) impl RefundMetricAccumulator for for CountAccumulator
crates/analytics/src/refunds/accumulator.rs
analytics
impl_block
null
null
null
58
null
CountAccumulator
RefundMetricAccumulator for
2
0
null
null
json_payload: web::Json<[GetAuthEventMetricRequest; 1]>, ) -> impl Responder { // safety: This shouldn't panic owing to the data type #[allow(clippy::expect_used)] let payload = json_payload .into_inner() .to_vec() .pop() .expect("Could...
crates/router/src/analytics.rs#chunk1
router
chunk
null
null
null
8,191
null
null
null
null
null
null
null
// Function: get_connector_by_name // File: crates/router/src/types/api/authentication.rs // Module: router pub fn get_connector_by_name(name: &str) -> CustomResult<Self, errors::ApiErrorResponse>
crates/router/src/types/api/authentication.rs
router
function_signature
null
null
null
45
get_connector_by_name
null
null
null
null
null
null
// Function: find_by_id // File: crates/diesel_models/src/query/payment_method.rs // Module: diesel_models pub fn find_by_id( conn: &PgPooledConn, id: &common_utils::id_type::GlobalPaymentMethodId, ) -> StorageResult<Self>
crates/diesel_models/src/query/payment_method.rs
diesel_models
function_signature
null
null
null
63
find_by_id
null
null
null
null
null
null
// Struct: ApplePayPredecryptDataInternal // File: crates/hyperswitch_domain_models/src/router_data.rs // Module: hyperswitch_domain_models // Implementations: 1 pub struct ApplePayPredecryptDataInternal
crates/hyperswitch_domain_models/src/router_data.rs
hyperswitch_domain_models
struct_definition
ApplePayPredecryptDataInternal
1
[]
48
null
null
null
null
null
null
null
// File: crates/diesel_models/src/callback_mapper.rs // Module: diesel_models // Public structs: 1 use common_enums::enums as common_enums; use common_types::callback_mapper::CallbackMapperData; use diesel::{Identifiable, Insertable, Queryable, Selectable}; use crate::schema::callback_mapper; #[derive(Clone, Debug, ...
crates/diesel_models/src/callback_mapper.rs
diesel_models
full_file
null
null
null
172
null
null
null
null
null
null
null
// Function: ensure_algorithm_cached // File: crates/router/src/core/payment_methods/surcharge_decision_configs.rs // Module: router pub fn ensure_algorithm_cached( store: &dyn StorageInterface, merchant_id: &common_utils::id_type::MerchantId, algorithm_id: &str, ) -> ConditionalConfigResult<VirInterpreter...
crates/router/src/core/payment_methods/surcharge_decision_configs.rs
router
function_signature
null
null
null
75
ensure_algorithm_cached
null
null
null
null
null
null
// Struct: NuveiSessionResponse // File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct NuveiSessionResponse
crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
hyperswitch_connectors
struct_definition
NuveiSessionResponse
0
[]
53
null
null
null
null
null
null
null
// File: crates/router/tests/connectors/worldpayxml.rs // Module: router use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData}; use masking::Secret; use router::types::{self, api, storage::enums}; use test_utils::connector_auth; use crate::utils::{self, ConnectorActions}; #[derive(Clone, Copy...
crates/router/tests/connectors/worldpayxml.rs
router
full_file
null
null
null
2,940
null
null
null
null
null
null
null
// Function: payments_capture // File: crates/openapi/src/routes/payments.rs // Module: openapi pub fn payments_capture()
crates/openapi/src/routes/payments.rs
openapi
function_signature
null
null
null
29
payments_capture
null
null
null
null
null
null
// Struct: PaymeRefundResponse // File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PaymeRefundResponse
crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
hyperswitch_connectors
struct_definition
PaymeRefundResponse
0
[]
51
null
null
null
null
null
null
null
// Function: get_card_detail // File: crates/router/src/core/payment_methods/transformers.rs // Module: router pub fn get_card_detail( pm: &domain::PaymentMethod, response: Card, ) -> CustomResult<api::CardDetailFromLocker, errors::VaultError>
crates/router/src/core/payment_methods/transformers.rs
router
function_signature
null
null
null
63
get_card_detail
null
null
null
null
null
null
api_models::feature_matrix::CardSpecificFeatures { three_ds: common_enums::FeatureStatus::Supported, no_three_ds: common_enums::FeatureStatus::Supported, supported_card_networks: supported_card_network.clone(), ...
crates/hyperswitch_connectors/src/connectors/archipel.rs#chunk1
hyperswitch_connectors
chunk
null
null
null
489
null
null
null
null
null
null
null
// Struct: OutgoingWebhookRetryWorkflow // File: crates/router/src/workflows/outgoing_webhook_retry.rs // Module: router // Implementations: 0 pub struct OutgoingWebhookRetryWorkflow
crates/router/src/workflows/outgoing_webhook_retry.rs
router
struct_definition
OutgoingWebhookRetryWorkflow
0
[]
45
null
null
null
null
null
null
null
// Struct: EnabledServices // File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct EnabledServices
crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
hyperswitch_connectors
struct_definition
EnabledServices
0
[]
47
null
null
null
null
null
null
null
// Struct: KafkaAuthenticationEvent // File: crates/router/src/services/kafka/authentication_event.rs // Module: router // Implementations: 2 // Traits: super::KafkaMessage pub struct KafkaAuthenticationEvent<'a>
crates/router/src/services/kafka/authentication_event.rs
router
struct_definition
KafkaAuthenticationEvent
2
[ "super::KafkaMessage" ]
49
null
null
null
null
null
null
null
// Function: get_card_data // File: crates/hyperswitch_domain_models/src/payment_method_data.rs // Module: hyperswitch_domain_models pub fn get_card_data(&self) -> Option<&Card>
crates/hyperswitch_domain_models/src/payment_method_data.rs
hyperswitch_domain_models
function_signature
null
null
null
44
get_card_data
null
null
null
null
null
null
// Implementation: impl ConnectorValidation for for Signifyd // File: crates/hyperswitch_connectors/src/connectors/signifyd.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl ConnectorValidation for for Signifyd
crates/hyperswitch_connectors/src/connectors/signifyd.rs
hyperswitch_connectors
impl_block
null
null
null
56
null
Signifyd
ConnectorValidation for
0
0
null
null
// Implementation: impl PayoutCreateRequest // File: crates/api_models/src/payouts.rs // Module: api_models // Methods: 1 total (1 public) impl PayoutCreateRequest
crates/api_models/src/payouts.rs
api_models
impl_block
null
null
null
42
null
PayoutCreateRequest
null
1
1
null
null
// Module Structure // File: crates/scheduler/src/scheduler.rs // Module: scheduler // Public exports: pub use crate::{ configs::settings::SchedulerSettings, consumer::{self, workflows}, db::{process_tracker::ProcessTrackerInterface, queue::QueueInterface}, errors, flow::SchedulerFlow, producer...
crates/scheduler/src/scheduler.rs
scheduler
module_structure
null
null
null
71
null
null
null
null
null
0
1
// Implementation: impl Capturable for for PaymentsSessionData // File: crates/router/src/types.rs // Module: router // Methods: 0 total (0 public) impl Capturable for for PaymentsSessionData
crates/router/src/types.rs
router
impl_block
null
null
null
44
null
PaymentsSessionData
Capturable for
0
0
null
null
// Struct: VaultToken // File: crates/hyperswitch_domain_models/src/payment_method_data.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct VaultToken
crates/hyperswitch_domain_models/src/payment_method_data.rs
hyperswitch_domain_models
struct_definition
VaultToken
0
[]
41
null
null
null
null
null
null
null
// Struct: GocardlessRefund // File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct GocardlessRefund
crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
hyperswitch_connectors
struct_definition
GocardlessRefund
0
[]
52
null
null
null
null
null
null
null
// Struct: BillingConnectorInvoiceSync // File: crates/hyperswitch_domain_models/src/router_flow_types/revenue_recovery.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct BillingConnectorInvoiceSync
crates/hyperswitch_domain_models/src/router_flow_types/revenue_recovery.rs
hyperswitch_domain_models
struct_definition
BillingConnectorInvoiceSync
0
[]
48
null
null
null
null
null
null
null
// Function: get_single_merchant_id // File: crates/router/src/utils/user_role.rs // Module: router pub fn get_single_merchant_id( state: &SessionState, user_role: &UserRole, org_id: &id_type::OrganizationId, ) -> UserResult<id_type::MerchantId>
crates/router/src/utils/user_role.rs
router
function_signature
null
null
null
69
get_single_merchant_id
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: LoonioErrorResponse // File: crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct LoonioErrorResponse
crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs
hyperswitch_connectors
struct_definition
LoonioErrorResponse
0
[]
48
null
null
null
null
null
null
null
// Struct: ConnectorAuthenticationMap // File: crates/test_utils/src/connector_auth.rs // Module: test_utils // Implementations: 2 // Traits: Default pub struct ConnectorAuthenticationMap
crates/test_utils/src/connector_auth.rs
test_utils
struct_definition
ConnectorAuthenticationMap
2
[ "Default" ]
42
null
null
null
null
null
null
null
// Struct: CreateDynamicRoutingQuery // File: crates/api_models/src/routing.rs // Module: api_models // Implementations: 0 pub struct CreateDynamicRoutingQuery
crates/api_models/src/routing.rs
api_models
struct_definition
CreateDynamicRoutingQuery
0
[]
38
null
null
null
null
null
null
null
// Struct: DummyConnectorPaymentRequest // File: crates/router/src/routes/dummy_connector/types.rs // Module: router // Implementations: 0 pub struct DummyConnectorPaymentRequest
crates/router/src/routes/dummy_connector/types.rs
router
struct_definition
DummyConnectorPaymentRequest
0
[]
39
null
null
null
null
null
null
null
// Implementation: impl ConnectorError // File: crates/hyperswitch_interfaces/src/errors.rs // Module: hyperswitch_interfaces // Methods: 2 total (1 public) impl ConnectorError
crates/hyperswitch_interfaces/src/errors.rs
hyperswitch_interfaces
impl_block
null
null
null
40
null
ConnectorError
null
2
1
null
null
three_ds_decision_manager_config: None, card_testing_guard_config: None, card_testing_secret_key: None, is_clear_pan_retries_enabled: None, is_debit_routing_enabled: None, merchant_business_country: None, rev...
crates/hyperswitch_domain_models/src/business_profile.rs#chunk2
hyperswitch_domain_models
chunk
null
null
null
6,447
null
null
null
null
null
null
null
// Implementation: impl FlowMetric for for AnalyticsFlow // File: crates/analytics/src/lib.rs // Module: analytics // Methods: 0 total (0 public) impl FlowMetric for for AnalyticsFlow
crates/analytics/src/lib.rs
analytics
impl_block
null
null
null
43
null
AnalyticsFlow
FlowMetric for
0
0
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::DecisionManager>, ) -> impl Responder
crates/router/src/routes/routing.rs
router
function_signature
null
null
null
69
upsert_decision_manager_config
null
null
null
null
null
null
// Module Structure // File: crates/router/src/types/api/verify_connector.rs // Module: router // Public submodules: pub mod paypal; pub mod stripe;
crates/router/src/types/api/verify_connector.rs
router
module_structure
null
null
null
35
null
null
null
null
null
2
0
// 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
// File: crates/euclid/src/dssa/truth.rs // Module: euclid use std::sync::LazyLock; use euclid_macros::knowledge; use crate::{dssa::graph::euclid_graph_prelude, frontend::dir}; pub static ANALYSIS_GRAPH: LazyLock<hyperswitch_constraint_graph::ConstraintGraph<dir::DirValue>> = LazyLock::new(|| { knowledg...
crates/euclid/src/dssa/truth.rs
euclid
full_file
null
null
null
330
null
null
null
null
null
null
null
// Struct: GrpcHeaders // File: crates/external_services/src/grpc_client.rs // Module: external_services // Implementations: 0 pub struct GrpcHeaders
crates/external_services/src/grpc_client.rs
external_services
struct_definition
GrpcHeaders
0
[]
37
null
null
null
null
null
null
null
// Function: insert_user_and_merchant_in_db // File: crates/router/src/types/domain/user.rs // Module: router pub fn insert_user_and_merchant_in_db( &self, state: SessionState, ) -> UserResult<UserFromStorage>
crates/router/src/types/domain/user.rs
router
function_signature
null
null
null
56
insert_user_and_merchant_in_db
null
null
null
null
null
null
// Struct: IdealData // File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct IdealData
crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
hyperswitch_connectors
struct_definition
IdealData
0
[]
47
null
null
null
null
null
null
null
// Struct: WorldpayPaymentsRequest // File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct WorldpayPaymentsRequest
crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
hyperswitch_connectors
struct_definition
WorldpayPaymentsRequest
0
[]
48
null
null
null
null
null
null
null
// Struct: FlexitiPaymentsRequest // File: crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct FlexitiPaymentsRequest
crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs
hyperswitch_connectors
struct_definition
FlexitiPaymentsRequest
0
[]
50
null
null
null
null
null
null
null
// Implementation: impl KafkaDispute // File: crates/router/src/services/kafka/dispute.rs // Module: router // Methods: 1 total (1 public) impl KafkaDispute
crates/router/src/services/kafka/dispute.rs
router
impl_block
null
null
null
40
null
KafkaDispute
null
1
1
null
null
// Function: inner // File: crates/test_utils/src/connector_auth.rs // Module: test_utils pub fn inner(&self) -> &HashMap<String, ConnectorAuthType>
crates/test_utils/src/connector_auth.rs
test_utils
function_signature
null
null
null
38
inner
null
null
null
null
null
null
// Struct: NetworkTokenDataForVault // File: crates/hyperswitch_domain_models/src/payments.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct NetworkTokenDataForVault
crates/hyperswitch_domain_models/src/payments.rs
hyperswitch_domain_models
struct_definition
NetworkTokenDataForVault
0
[]
46
null
null
null
null
null
null
null
// Struct: RefundUpdateRequest // File: crates/api_models/src/refunds.rs // Module: api_models // Implementations: 0 pub struct RefundUpdateRequest
crates/api_models/src/refunds.rs
api_models
struct_definition
RefundUpdateRequest
0
[]
38
null
null
null
null
null
null
null
// Function: make_card_network_tokenization_request // File: crates/router/src/core/payment_methods/network_tokenization.rs // Module: router pub fn make_card_network_tokenization_request( state: &routes::SessionState, card: &api_payment_methods::CardDetail, customer_id: &id_type::GlobalCustomerId, ) -> Cu...
crates/router/src/core/payment_methods/network_tokenization.rs
router
function_signature
null
null
null
87
make_card_network_tokenization_request
null
null
null
null
null
null
// Function: perform_fallback_routing // File: crates/router/src/core/payments/routing.rs // Module: router pub fn perform_fallback_routing( state: &SessionState, key_store: &domain::MerchantKeyStore, transaction_data: &routing::TransactionData<'_>, eligible_connectors: Option<&Vec<api_enums::RoutableC...
crates/router/src/core/payments/routing.rs
router
function_signature
null
null
null
106
perform_fallback_routing
null
null
null
null
null
null
// Implementation: impl api::PaymentSession for for Trustpayments // File: crates/hyperswitch_connectors/src/connectors/trustpayments.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentSession for for Trustpayments
crates/hyperswitch_connectors/src/connectors/trustpayments.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Trustpayments
api::PaymentSession for
0
0
null
null
// Struct: SubscriptionEstimateResponse // File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct SubscriptionEstimateResponse
crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
hyperswitch_connectors
struct_definition
SubscriptionEstimateResponse
0
[]
50
null
null
null
null
null
null
null
// Implementation: impl EphemeralKey // File: crates/router/src/routes/app.rs // Module: router // Methods: 1 total (1 public) impl EphemeralKey
crates/router/src/routes/app.rs
router
impl_block
null
null
null
39
null
EphemeralKey
null
1
1
null
null
// Implementation: impl ConnectorSpecifications for for Trustpay // File: crates/hyperswitch_connectors/src/connectors/trustpay.rs // Module: hyperswitch_connectors // Methods: 4 total (0 public) impl ConnectorSpecifications for for Trustpay
crates/hyperswitch_connectors/src/connectors/trustpay.rs
hyperswitch_connectors
impl_block
null
null
null
54
null
Trustpay
ConnectorSpecifications for
4
0
null
null
// Struct: ZenWebhookSignature // File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ZenWebhookSignature
crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
hyperswitch_connectors
struct_definition
ZenWebhookSignature
0
[]
49
null
null
null
null
null
null
null
// Struct: DeleteTokenizeDataWorkflow // File: crates/router/src/workflows/tokenized_data.rs // Module: router // Implementations: 0 pub struct DeleteTokenizeDataWorkflow
crates/router/src/workflows/tokenized_data.rs
router
struct_definition
DeleteTokenizeDataWorkflow
0
[]
41
null
null
null
null
null
null
null
// Struct: ErrorDetails // File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct ErrorDetails
crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
hyperswitch_domain_models
struct_definition
ErrorDetails
0
[]
42
null
null
null
null
null
null
null
// Struct: GlobalPayRouterData // File: crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct GlobalPayRouterData<T>
crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs
hyperswitch_connectors
struct_definition
GlobalPayRouterData
0
[]
50
null
null
null
null
null
null
null
// File: crates/router/tests/connectors/silverflow.rs // Module: router use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData}; use masking::Secret; use router::types::{self, api, storage::enums}; use test_utils::connector_auth; use crate::utils::{self, ConnectorActions}; #[derive(Clone, Copy)...
crates/router/tests/connectors/silverflow.rs
router
full_file
null
null
null
2,932
null
null
null
null
null
null
null
// Function: payments_external_authentication // File: crates/openapi/src/routes/payments.rs // Module: openapi pub fn payments_external_authentication()
crates/openapi/src/routes/payments.rs
openapi
function_signature
null
null
null
31
payments_external_authentication
null
null
null
null
null
null
// File: crates/drainer/src/query.rs // Module: drainer use std::sync::Arc; use common_utils::errors::CustomResult; use diesel_models::errors::DatabaseError; use crate::{kv, logger, metrics, pg_connection, services::Store}; #[async_trait::async_trait] pub trait ExecuteQuery { async fn execute_query( sel...
crates/drainer/src/query.rs
drainer
full_file
null
null
null
505
null
null
null
null
null
null
null