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: QueryTransactionResult // File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct QueryTransactionResult
crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
hyperswitch_connectors
struct_definition
QueryTransactionResult
0
[]
50
null
null
null
null
null
null
null
// Function: payments_cancel // File: crates/openapi/src/routes/payments.rs // Module: openapi pub fn payments_cancel()
crates/openapi/src/routes/payments.rs
openapi
function_signature
null
null
null
29
payments_cancel
null
null
null
null
null
null
// Struct: PIISerializer // File: crates/masking/src/serde.rs // Module: masking // Implementations: 2 // Traits: Clone, Serializer pub struct PIISerializer
crates/masking/src/serde.rs
masking
struct_definition
PIISerializer
2
[ "Clone", "Serializer" ]
42
null
null
null
null
null
null
null
// Function: generate // File: crates/common_utils/src/id_type/global_id/payment_methods.rs // Module: common_utils // Documentation: Create a new GlobalPaymentMethodId from cell id information pub fn generate(cell_id: &CellId) -> error_stack::Result<Self, GlobalPaymentMethodIdError>
crates/common_utils/src/id_type/global_id/payment_methods.rs
common_utils
function_signature
null
null
null
64
generate
null
null
null
null
null
null
// Struct: CardDetail // File: crates/api_models/src/payment_methods.rs // Module: api_models // Implementations: 0 pub struct CardDetail
crates/api_models/src/payment_methods.rs
api_models
struct_definition
CardDetail
0
[]
34
null
null
null
null
null
null
null
// Struct: RefundWebhookLink // File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RefundWebhookLink
crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
hyperswitch_connectors
struct_definition
RefundWebhookLink
0
[]
52
null
null
null
null
null
null
null
// Implementation: impl webhooks::IncomingWebhook for for Santander // File: crates/hyperswitch_connectors/src/connectors/santander.rs // Module: hyperswitch_connectors // Methods: 4 total (0 public) impl webhooks::IncomingWebhook for for Santander
crates/hyperswitch_connectors/src/connectors/santander.rs
hyperswitch_connectors
impl_block
null
null
null
62
null
Santander
webhooks::IncomingWebhook for
4
0
null
null
// File: crates/router/src/core/fraud_check/flows/sale_flow.rs // Module: router // Public functions: 1 use async_trait::async_trait; use common_utils::{ext_traits::ValueExt, pii::Email}; use error_stack::ResultExt; use masking::ExposeInterface; use crate::{ core::{ errors::{ConnectorErrorExt, RouterResul...
crates/router/src/core/fraud_check/flows/sale_flow.rs
router
full_file
null
null
null
1,486
null
null
null
null
null
null
null
// Struct: DebitorAccount // File: crates/hyperswitch_connectors/src/connectors/nordea/requests.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct DebitorAccount
crates/hyperswitch_connectors/src/connectors/nordea/requests.rs
hyperswitch_connectors
struct_definition
DebitorAccount
0
[]
47
null
null
null
null
null
null
null
// Function: api_key_update // File: crates/router/src/routes/api_keys.rs // Module: router pub fn api_key_update( state: web::Data<AppState>, req: HttpRequest, path: web::Path<( common_utils::id_type::MerchantId, common_utils::id_type::ApiKeyId, )
crates/router/src/routes/api_keys.rs
router
function_signature
null
null
null
73
api_key_update
null
null
null
null
null
null
// Struct: PayloadAuthType // File: crates/hyperswitch_connectors/src/connectors/payload/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PayloadAuthType
crates/hyperswitch_connectors/src/connectors/payload/transformers.rs
hyperswitch_connectors
struct_definition
PayloadAuthType
0
[]
47
null
null
null
null
null
null
null
// Struct: WellsfargoErrorInformation // File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct WellsfargoErrorInformation
crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
hyperswitch_connectors
struct_definition
WellsfargoErrorInformation
0
[]
53
null
null
null
null
null
null
null
// Struct: ChallengeAttemptCount // File: crates/api_models/src/analytics/auth_events.rs // Module: api_models // Implementations: 0 pub struct ChallengeAttemptCount
crates/api_models/src/analytics/auth_events.rs
api_models
struct_definition
ChallengeAttemptCount
0
[]
38
null
null
null
null
null
null
null
// Function: is_jwt_flow // File: crates/diesel_models/src/authentication.rs // Module: diesel_models pub fn is_jwt_flow(&self) -> CustomResult<bool, ValidationError>
crates/diesel_models/src/authentication.rs
diesel_models
function_signature
null
null
null
39
is_jwt_flow
null
null
null
null
null
null
// Function: find_optional_by_payment_id_merchant_id // File: crates/diesel_models/src/query/payment_intent.rs // Module: diesel_models pub fn find_optional_by_payment_id_merchant_id( conn: &PgPooledConn, payment_id: &common_utils::id_type::PaymentId, merchant_id: &common_utils::id_type::Mercha...
crates/diesel_models/src/query/payment_intent.rs
diesel_models
function_signature
null
null
null
87
find_optional_by_payment_id_merchant_id
null
null
null
null
null
null
// File: crates/diesel_models/src/query/user/sample_data.rs // Module: diesel_models // Public functions: 9 use async_bb8_diesel::AsyncRunQueryDsl; use diesel::{associations::HasTable, debug_query, ExpressionMethods, TextExpressionMethods}; use error_stack::ResultExt; use router_env::logger; #[cfg(feature = "v1")] us...
crates/diesel_models/src/query/user/sample_data.rs
diesel_models
full_file
null
null
null
1,818
null
null
null
null
null
null
null
// Struct: RedsysEmv3DSData // File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RedsysEmv3DSData
crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
hyperswitch_connectors
struct_definition
RedsysEmv3DSData
0
[]
55
null
null
null
null
null
null
null
// File: crates/openapi/src/routes/payments.rs // Module: openapi // Public functions: 26 /// Payments - Create /// /// Creates a payment resource, which represents a customer's intent to pay. /// This endpoint is the starting point for various payment flows: /// #[utoipa::path( post, path = "/payments", r...
crates/openapi/src/routes/payments.rs#chunk0
openapi
chunk
null
null
null
8,180
null
null
null
null
null
null
null
// Function: list_orgs_for_user // File: crates/router/src/core/user.rs // Module: router pub fn list_orgs_for_user( state: SessionState, user_from_token: auth::UserFromToken, ) -> UserResponse<Vec<user_api::ListOrgsForUserResponse>>
crates/router/src/core/user.rs
router
function_signature
null
null
null
65
list_orgs_for_user
null
null
null
null
null
null
// Trait: PaymentMetricAccumulator // File: crates/analytics/src/payments/accumulator.rs // Module: analytics pub trait PaymentMetricAccumulator
crates/analytics/src/payments/accumulator.rs
analytics
trait_definition
null
null
null
34
null
null
PaymentMetricAccumulator
null
null
null
null
// Function: apple_pay_merchant_registration // File: crates/router/src/routes/verification.rs // Module: router pub fn apple_pay_merchant_registration( state: web::Data<AppState>, req: HttpRequest, json_payload: web::Json<verifications::ApplepayMerchantVerificationRequest>, path: web::Path<common_util...
crates/router/src/routes/verification.rs
router
function_signature
null
null
null
85
apple_pay_merchant_registration
null
null
null
null
null
null
// Struct: GooglePayAssuranceDetails // File: crates/hyperswitch_domain_models/src/payment_method_data.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct GooglePayAssuranceDetails
crates/hyperswitch_domain_models/src/payment_method_data.rs
hyperswitch_domain_models
struct_definition
GooglePayAssuranceDetails
0
[]
47
null
null
null
null
null
null
null
// Implementation: impl ConnectorResponseNew // File: crates/diesel_models/src/query/connector_response.rs // Module: diesel_models // Methods: 1 total (0 public) impl ConnectorResponseNew
crates/diesel_models/src/query/connector_response.rs
diesel_models
impl_block
null
null
null
42
null
ConnectorResponseNew
null
1
0
null
null
// Implementation: impl api::PaymentToken for for Paypal // File: crates/hyperswitch_connectors/src/connectors/paypal.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentToken for for Paypal
crates/hyperswitch_connectors/src/connectors/paypal.rs
hyperswitch_connectors
impl_block
null
null
null
55
null
Paypal
api::PaymentToken for
0
0
null
null
// Struct: SilverflowWebhookEvent // File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct SilverflowWebhookEvent
crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
hyperswitch_connectors
struct_definition
SilverflowWebhookEvent
0
[]
52
null
null
null
null
null
null
null
// Struct: AvsResponse // File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct AvsResponse
crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
hyperswitch_connectors
struct_definition
AvsResponse
0
[]
47
null
null
null
null
null
null
null
// Implementation: impl api::PaymentVoid for for Mpgs // File: crates/hyperswitch_connectors/src/connectors/mpgs.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentVoid for for Mpgs
crates/hyperswitch_connectors/src/connectors/mpgs.rs
hyperswitch_connectors
impl_block
null
null
null
59
null
Mpgs
api::PaymentVoid for
0
0
null
null
// Struct: CheckTokenStatus // File: crates/router/src/types/payment_methods.rs // Module: router // Implementations: 0 pub struct CheckTokenStatus
crates/router/src/types/payment_methods.rs
router
struct_definition
CheckTokenStatus
0
[]
35
null
null
null
null
null
null
null
// Implementation: impl api::Refund for for Stripebilling // File: crates/hyperswitch_connectors/src/connectors/stripebilling.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Refund for for Stripebilling
crates/hyperswitch_connectors/src/connectors/stripebilling.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Stripebilling
api::Refund for
0
0
null
null
// Struct: SessionRoutingPmTypeInput // File: crates/router/src/core/payments/routing.rs // Module: router // Implementations: 0 pub struct SessionRoutingPmTypeInput<'a>
crates/router/src/core/payments/routing.rs
router
struct_definition
SessionRoutingPmTypeInput
0
[]
46
null
null
null
null
null
null
null
// Function: server // File: crates/router/src/routes/app.rs // Module: router pub fn server(state: AppState) -> Scope
crates/router/src/routes/app.rs
router
function_signature
null
null
null
29
server
null
null
null
null
null
null
// Implementation: impl PaymentMethodUpdateInternal // File: crates/diesel_models/src/payment_method.rs // Module: diesel_models // Methods: 1 total (1 public) impl PaymentMethodUpdateInternal
crates/diesel_models/src/payment_method.rs
diesel_models
impl_block
null
null
null
42
null
PaymentMethodUpdateInternal
null
1
1
null
null
// Function: get_allowed_signals // File: crates/common_utils/src/signals.rs // Module: common_utils pub fn get_allowed_signals() -> Result<DummySignal, std::io::Error>
crates/common_utils/src/signals.rs
common_utils
function_signature
null
null
null
42
get_allowed_signals
null
null
null
null
null
null
// Implementation: impl api::PaymentSessionUpdate for for Paypal // File: crates/hyperswitch_connectors/src/connectors/paypal.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentSessionUpdate for for Paypal
crates/hyperswitch_connectors/src/connectors/paypal.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Paypal
api::PaymentSessionUpdate for
0
0
null
null
// File: crates/openapi/src/routes/organization.rs // Module: openapi // Public functions: 7 #[cfg(feature = "v1")] /// Organization - Create /// /// Create a new organization #[utoipa::path( post, path = "/organization", request_body( content = OrganizationCreateRequest, examples( ...
crates/openapi/src/routes/organization.rs
openapi
full_file
null
null
null
1,120
null
null
null
null
null
null
null
// Implementation: impl api::Payment for for Chargebee // File: crates/hyperswitch_connectors/src/connectors/chargebee.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Payment for for Chargebee
crates/hyperswitch_connectors/src/connectors/chargebee.rs
hyperswitch_connectors
impl_block
null
null
null
56
null
Chargebee
api::Payment for
0
0
null
null
// Struct: ListRolesAtEntityLevelRequest // File: crates/api_models/src/user_role/role.rs // Module: api_models // Implementations: 0 pub struct ListRolesAtEntityLevelRequest
crates/api_models/src/user_role/role.rs
api_models
struct_definition
ListRolesAtEntityLevelRequest
0
[]
44
null
null
null
null
null
null
null
// Struct: PaymentMethodAuthConnectorChoice // File: crates/api_models/src/pm_auth.rs // Module: api_models // Implementations: 0 pub struct PaymentMethodAuthConnectorChoice
crates/api_models/src/pm_auth.rs
api_models
struct_definition
PaymentMethodAuthConnectorChoice
0
[]
40
null
null
null
null
null
null
null
// Function: get_org_dispute_metrics // File: crates/router/src/analytics.rs // Module: router // Documentation: Panics if `json_payload` array does not contain one `GetDisputeMetricRequest` element. pub fn get_org_dispute_metrics( state: web::Data<AppState>, req: actix_web::HttpRequest, json_...
crates/router/src/analytics.rs
router
function_signature
null
null
null
98
get_org_dispute_metrics
null
null
null
null
null
null
// Function: get_transaction_id // File: crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs // Module: hyperswitch_connectors pub fn get_transaction_id( meta: &NexinetsPaymentsMetadata, ) -> Result<String, error_stack::Report<errors::ConnectorError>>
crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs
hyperswitch_connectors
function_signature
null
null
null
69
get_transaction_id
null
null
null
null
null
null
// Struct: FiservAuthType // File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct FiservAuthType
crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
hyperswitch_connectors
struct_definition
FiservAuthType
0
[]
52
null
null
null
null
null
null
null
// Function: totp_begin // File: crates/router/src/routes/user.rs // Module: router pub fn totp_begin(state: web::Data<AppState>, req: HttpRequest) -> HttpResponse
crates/router/src/routes/user.rs
router
function_signature
null
null
null
41
totp_begin
null
null
null
null
null
null
// Struct: TenantID // File: crates/router/src/db/kafka_store.rs // Module: router // Implementations: 0 pub struct TenantID
crates/router/src/db/kafka_store.rs
router
struct_definition
TenantID
0
[]
34
null
null
null
null
null
null
null
// Trait: EuclidAnalysable // File: crates/euclid/src/dssa/types.rs // Module: euclid pub trait EuclidAnalysable: Sized
crates/euclid/src/dssa/types.rs
euclid
trait_definition
null
null
null
37
null
null
EuclidAnalysable
null
null
null
null
// Struct: BluecodeErrorResponse // File: crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct BluecodeErrorResponse
crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs
hyperswitch_connectors
struct_definition
BluecodeErrorResponse
0
[]
47
null
null
null
null
null
null
null
// File: crates/scheduler/src/consumer/types/batch.rs // Module: scheduler // Public functions: 2 // Public structs: 1 use std::collections::HashMap; use common_utils::{errors::CustomResult, ext_traits::OptionExt}; use diesel_models::process_tracker::ProcessTracker; use error_stack::ResultExt; use time::PrimitiveDate...
crates/scheduler/src/consumer/types/batch.rs
scheduler
full_file
null
null
null
903
null
null
null
null
null
null
null
// Implementation: impl api::ConnectorAccessToken for for Bankofamerica // File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::ConnectorAccessToken for for Bankofamerica
crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
hyperswitch_connectors
impl_block
null
null
null
64
null
Bankofamerica
api::ConnectorAccessToken for
0
0
null
null
// Function: save_in_locker_external // File: crates/router/src/core/payments/tokenization.rs // Module: router pub fn save_in_locker_external( state: &SessionState, merchant_context: &domain::MerchantContext, payment_method_request: api::PaymentMethodCreate, card_detail: Option<api::CardDetail>, e...
crates/router/src/core/payments/tokenization.rs
router
function_signature
null
null
null
119
save_in_locker_external
null
null
null
null
null
null
// File: crates/router/src/db/relay.rs // Module: router use common_utils::types::keymanager::KeyManagerState; use diesel_models; use error_stack::{report, ResultExt}; use hyperswitch_domain_models::behaviour::{Conversion, ReverseConversion}; use storage_impl::MockDb; use super::domain; use crate::{ connection, ...
crates/router/src/db/relay.rs
router
full_file
null
null
null
2,066
null
null
null
null
null
null
null
// Struct: JWTAuth // File: crates/router/src/services/authentication.rs // Module: router // Implementations: 0 pub struct JWTAuth
crates/router/src/services/authentication.rs
router
struct_definition
JWTAuth
0
[]
32
null
null
null
null
null
null
null
// Struct: TsysPaymentsSyncResponse // File: crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct TsysPaymentsSyncResponse
crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
hyperswitch_connectors
struct_definition
TsysPaymentsSyncResponse
0
[]
51
null
null
null
null
null
null
null
// Struct: PaymentMethodIntentConfirm // File: crates/api_models/src/payment_methods.rs // Module: api_models // Implementations: 1 pub struct PaymentMethodIntentConfirm
crates/api_models/src/payment_methods.rs
api_models
struct_definition
PaymentMethodIntentConfirm
1
[]
38
null
null
null
null
null
null
null
// Implementation: impl ConnectorCommon for for Boku // File: crates/hyperswitch_connectors/src/connectors/boku.rs // Module: hyperswitch_connectors // Methods: 4 total (0 public) impl ConnectorCommon for for Boku
crates/hyperswitch_connectors/src/connectors/boku.rs
hyperswitch_connectors
impl_block
null
null
null
53
null
Boku
ConnectorCommon for
4
0
null
null
// Struct: ArchipelIncrementalAuthorizationRequest // File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ArchipelIncrementalAuthorizationRequest
crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
hyperswitch_connectors
struct_definition
ArchipelIncrementalAuthorizationRequest
0
[]
53
null
null
null
null
null
null
null
// File: crates/router/src/db/dispute.rs // Module: router // Public structs: 1 use std::collections::HashMap; use error_stack::report; use hyperswitch_domain_models::disputes; use router_env::{instrument, tracing}; use super::{MockDb, Store}; use crate::{ connection, core::errors::{self, CustomResult}, ...
crates/router/src/db/dispute.rs
router
full_file
null
null
null
7,976
null
null
null
null
null
null
null
// Implementation: impl Parse for for DieselEnumMeta // File: crates/router_derive/src/macros/diesel.rs // Module: router_derive // Methods: 1 total (0 public) impl Parse for for DieselEnumMeta
crates/router_derive/src/macros/diesel.rs
router_derive
impl_block
null
null
null
49
null
DieselEnumMeta
Parse for
1
0
null
null
// Function: update_by_unified_code_unified_message_locale // File: crates/diesel_models/src/query/unified_translations.rs // Module: diesel_models pub fn update_by_unified_code_unified_message_locale( conn: &PgPooledConn, unified_code: String, unified_message: String, locale: String, ...
crates/diesel_models/src/query/unified_translations.rs
diesel_models
function_signature
null
null
null
86
update_by_unified_code_unified_message_locale
null
null
null
null
null
null
// Struct: StripePaymentIntentRequest // File: crates/router/src/compatibility/stripe/payment_intents/types.rs // Module: router // Implementations: 0 pub struct StripePaymentIntentRequest
crates/router/src/compatibility/stripe/payment_intents/types.rs
router
struct_definition
StripePaymentIntentRequest
0
[]
43
null
null
null
null
null
null
null
// Implementation: impl IncomingWebhook for for Payu // File: crates/hyperswitch_connectors/src/connectors/payu.rs // Module: hyperswitch_connectors // Methods: 3 total (0 public) impl IncomingWebhook for for Payu
crates/hyperswitch_connectors/src/connectors/payu.rs
hyperswitch_connectors
impl_block
null
null
null
55
null
Payu
IncomingWebhook for
3
0
null
null
// Function: generate_sample_data_for_user // File: crates/router/src/core/user/sample_data.rs // Module: router pub fn generate_sample_data_for_user( state: SessionState, user_from_token: UserFromToken, req: SampleDataRequest, _req_state: ReqState, ) -> SampleDataApiResponse<()>
crates/router/src/core/user/sample_data.rs
router
function_signature
null
null
null
70
generate_sample_data_for_user
null
null
null
null
null
null
// Function: find_connector_ids // File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs // Module: hyperswitch_connectors pub fn find_connector_ids(&self) -> Result<ChargebeeMandateDetails, errors::ConnectorError>
crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
hyperswitch_connectors
function_signature
null
null
null
59
find_connector_ids
null
null
null
null
null
null
// File: crates/router/src/types/storage/mandate.rs // Module: router use async_bb8_diesel::AsyncRunQueryDsl; use common_utils::errors::CustomResult; use diesel::{associations::HasTable, ExpressionMethods, QueryDsl}; pub use diesel_models::mandate::{ Mandate, MandateNew, MandateUpdate, MandateUpdateInternal, Singl...
crates/router/src/types/storage/mandate.rs
router
full_file
null
null
null
708
null
null
null
null
null
null
null
// Struct: NexixpayPaymentsRequest // File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct NexixpayPaymentsRequest
crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
hyperswitch_connectors
struct_definition
NexixpayPaymentsRequest
0
[]
53
null
null
null
null
null
null
null
// Function: is_jwt_auth // File: crates/router/src/services/authentication.rs // Module: router pub fn is_jwt_auth(headers: &HeaderMap) -> bool
crates/router/src/services/authentication.rs
router
function_signature
null
null
null
35
is_jwt_auth
null
null
null
null
null
null
// Function: construct_public_and_private_db_configs // File: crates/router/src/utils/user.rs // Module: router pub fn construct_public_and_private_db_configs( state: &SessionState, auth_config: &user_api::AuthConfig, encryption_key: &[u8], id: String, ) -> UserResult<(Option<Encryption>, Option<serde_...
crates/router/src/utils/user.rs
router
function_signature
null
null
null
82
construct_public_and_private_db_configs
null
null
null
null
null
null
// File: crates/router/src/db/customers.rs // Module: router pub use hyperswitch_domain_models::customer::{CustomerInterface, CustomerListConstraints};
crates/router/src/db/customers.rs
router
full_file
null
null
null
32
null
null
null
null
null
null
null
"cavite" | "kabite" => Ok(Self::Cavite), "cebu" | "sebu" => Ok(Self::Cebu), "centralluzon" | "rehiyonnggitnangluzon" => Ok(Self::CentralLuzon), "centralvisayas" | "rehiyonnggitnangbisaya" => Ok(Self::CentralVisayas), "cordilleraadministrativeregion" | "rehiyon...
crates/hyperswitch_connectors/src/utils.rs#chunk5
hyperswitch_connectors
chunk
null
null
null
8,181
null
null
null
null
null
null
null
// Struct: PaysafePaymentsSyncResponse // File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PaysafePaymentsSyncResponse
crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
hyperswitch_connectors
struct_definition
PaysafePaymentsSyncResponse
0
[]
52
null
null
null
null
null
null
null
// Implementation: impl api::PaymentSync for for Katapult // File: crates/hyperswitch_connectors/src/connectors/katapult.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentSync for for Katapult
crates/hyperswitch_connectors/src/connectors/katapult.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Katapult
api::PaymentSync for
0
0
null
null
// Struct: ListRolesQueryParams // File: crates/api_models/src/user_role/role.rs // Module: api_models // Implementations: 0 pub struct ListRolesQueryParams
crates/api_models/src/user_role/role.rs
api_models
struct_definition
ListRolesQueryParams
0
[]
40
null
null
null
null
null
null
null
// Implementation: impl api::Payment for for Wellsfargopayout // File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Payment for for Wellsfargopayout
crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs
hyperswitch_connectors
impl_block
null
null
null
65
null
Wellsfargopayout
api::Payment for
0
0
null
null
// Function: get_group_authorization_info // File: crates/router/src/services/authorization/info.rs // Module: router pub fn get_group_authorization_info() -> Option<Vec<GroupInfo>>
crates/router/src/services/authorization/info.rs
router
function_signature
null
null
null
40
get_group_authorization_info
null
null
null
null
null
null
// File: crates/diesel_models/src/types.rs // Module: diesel_models // Public functions: 3 // Public structs: 9 #[cfg(feature = "v2")] use common_enums::enums::PaymentConnectorTransmission; #[cfg(feature = "v2")] use common_utils::id_type; use common_utils::{hashing::HashedString, pii, types::MinorUnit}; use diesel::{...
crates/diesel_models/src/types.rs
diesel_models
full_file
null
null
null
2,196
null
null
null
null
null
null
null
// Implementation: impl PaymentsPostProcessing for for Plaid // File: crates/hyperswitch_connectors/src/connectors/plaid.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl PaymentsPostProcessing for for Plaid
crates/hyperswitch_connectors/src/connectors/plaid.rs
hyperswitch_connectors
impl_block
null
null
null
55
null
Plaid
PaymentsPostProcessing for
0
0
null
null
// Trait: OutgoingWebhookLogsFilterAnalytics // File: crates/analytics/src/outgoing_webhook_event/events.rs // Module: analytics pub trait OutgoingWebhookLogsFilterAnalytics: LoadRow<OutgoingWebhookLogsResult>
crates/analytics/src/outgoing_webhook_event/events.rs
analytics
trait_definition
null
null
null
51
null
null
OutgoingWebhookLogsFilterAnalytics
null
null
null
null
// Implementation: impl MerchantAccount // File: crates/diesel_models/src/query/merchant_account.rs // Module: diesel_models // Methods: 9 total (0 public) impl MerchantAccount
crates/diesel_models/src/query/merchant_account.rs
diesel_models
impl_block
null
null
null
40
null
MerchantAccount
null
9
0
null
null
// Implementation: impl Noon // File: crates/hyperswitch_connectors/src/connectors/noon.rs // Module: hyperswitch_connectors // Methods: 1 total (0 public) impl Noon
crates/hyperswitch_connectors/src/connectors/noon.rs
hyperswitch_connectors
impl_block
null
null
null
43
null
Noon
null
1
0
null
null
// Module Structure // File: crates/router/src/core/errors/user.rs // Module: router // Public submodules: pub mod sample_data;
crates/router/src/core/errors/user.rs
router
module_structure
null
null
null
30
null
null
null
null
null
1
0
// Struct: Deutschebank // File: crates/hyperswitch_connectors/src/connectors/deutschebank.rs // Module: hyperswitch_connectors // Implementations: 18 // Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentsCompleteAuthorize, api::PaymentSync, api:...
crates/hyperswitch_connectors/src/connectors/deutschebank.rs
hyperswitch_connectors
struct_definition
Deutschebank
18
[ "api::Payment", "api::PaymentSession", "api::ConnectorAccessToken", "api::MandateSetup", "api::PaymentAuthorize", "api::PaymentsCompleteAuthorize", "api::PaymentSync", "api::PaymentCapture", "api::PaymentVoid", "api::Refund", "api::RefundExecute", "api::RefundSync", "api::PaymentToken", "C...
132
null
null
null
null
null
null
null
// File: crates/router/tests/connectors/custombilling.rs // Module: router use masking::Secret; use router::{ types::{self, api, storage::enums, }}; use crate::utils::{self, ConnectorActions}; use test_utils::connector_auth; #[derive(Clone, Copy)] struct CustombillingTest; impl ConnectorActions for Custombilling...
crates/router/tests/connectors/custombilling.rs
router
full_file
null
null
null
2,904
null
null
null
null
null
null
null
// Function: create_role // File: crates/router/src/routes/user_role.rs // Module: router pub fn create_role( state: web::Data<AppState>, req: HttpRequest, json_payload: web::Json<role_api::CreateRoleRequest>, ) -> HttpResponse
crates/router/src/routes/user_role.rs
router
function_signature
null
null
null
59
create_role
null
null
null
null
null
null
// Implementation: impl api::Payment for for Getnet // File: crates/hyperswitch_connectors/src/connectors/getnet.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Payment for for Getnet
crates/hyperswitch_connectors/src/connectors/getnet.rs
hyperswitch_connectors
impl_block
null
null
null
55
null
Getnet
api::Payment for
0
0
null
null
// Implementation: impl ConnectorValidation for for Trustpayments // File: crates/hyperswitch_connectors/src/connectors/trustpayments.rs // Module: hyperswitch_connectors // Methods: 2 total (0 public) impl ConnectorValidation for for Trustpayments
crates/hyperswitch_connectors/src/connectors/trustpayments.rs
hyperswitch_connectors
impl_block
null
null
null
54
null
Trustpayments
ConnectorValidation for
2
0
null
null
// Implementation: impl Payments // File: crates/router/src/routes/app.rs // Module: router // Methods: 1 total (1 public) impl Payments
crates/router/src/routes/app.rs
router
impl_block
null
null
null
33
null
Payments
null
1
1
null
null
// Struct: OrganizationResponse // File: crates/api_models/src/organization.rs // Module: api_models // Implementations: 0 pub struct OrganizationResponse
crates/api_models/src/organization.rs
api_models
struct_definition
OrganizationResponse
0
[]
34
null
null
null
null
null
null
null
// File: crates/router/src/routes/recovery_webhooks.rs // Module: router // Public functions: 1 use actix_web::{web, HttpRequest, Responder}; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{ api_locking, webhooks::{self, types}, }, services::{api,...
crates/router/src/routes/recovery_webhooks.rs
router
full_file
null
null
null
380
null
null
null
null
null
null
null
// Implementation: impl std::ops::DerefMut for for PaymentsTokenReference // File: crates/hyperswitch_domain_models/src/mandates.rs // Module: hyperswitch_domain_models // Methods: 1 total (0 public) impl std::ops::DerefMut for for PaymentsTokenReference
crates/hyperswitch_domain_models/src/mandates.rs
hyperswitch_domain_models
impl_block
null
null
null
64
null
PaymentsTokenReference
std::ops::DerefMut for
1
0
null
null
// File: crates/analytics/src/auth_events/metrics/authentication_funnel.rs // Module: analytics use std::collections::HashSet; use api_models::analytics::{ auth_events::{AuthEventDimensions, AuthEventFilters, AuthEventMetricsBucketIdentifier}, Granularity, TimeRange, }; use common_utils::errors::ReportSwitchE...
crates/analytics/src/auth_events/metrics/authentication_funnel.rs
analytics
full_file
null
null
null
1,073
null
null
null
null
null
null
null
// Struct: IntoIter // File: crates/hyperswitch_constraint_graph/src/dense_map.rs // Module: hyperswitch_constraint_graph // Implementations: 2 // Traits: Iterator pub struct IntoIter<K, V>
crates/hyperswitch_constraint_graph/src/dense_map.rs
hyperswitch_constraint_graph
struct_definition
IntoIter
2
[ "Iterator" ]
50
null
null
null
null
null
null
null
// Struct: TransactionSearchInput // File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct TransactionSearchInput
crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
hyperswitch_connectors
struct_definition
TransactionSearchInput
0
[]
48
null
null
null
null
null
null
null
// File: crates/router/src/routes/dummy_connector.rs // Module: router // Public functions: 6 use actix_web::web; use router_env::{instrument, tracing}; use super::app; use crate::{ core::api_locking, services::{api, authentication as auth}, }; mod consts; mod core; mod errors; pub mod types; mod utils; #[c...
crates/router/src/routes/dummy_connector.rs
router
full_file
null
null
null
1,173
null
null
null
null
null
null
null
// Implementation: impl ConnectorCommon for for Helcim // File: crates/hyperswitch_connectors/src/connectors/helcim.rs // Module: hyperswitch_connectors // Methods: 6 total (0 public) impl ConnectorCommon for for Helcim
crates/hyperswitch_connectors/src/connectors/helcim.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Helcim
ConnectorCommon for
6
0
null
null
// Function: is_correct_password // File: crates/router/src/utils/user/password.rs // Module: router pub fn is_correct_password( candidate: &Secret<String>, password: &Secret<String>, ) -> CustomResult<bool, UserErrors>
crates/router/src/utils/user/password.rs
router
function_signature
null
null
null
52
is_correct_password
null
null
null
null
null
null
// Struct: HipayPaymentsRequest // File: crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct HipayPaymentsRequest
crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs
hyperswitch_connectors
struct_definition
HipayPaymentsRequest
0
[]
50
null
null
null
null
null
null
null
// Implementation: impl PaysafePaymentMethodDetails // File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs // Module: hyperswitch_connectors // Methods: 7 total (7 public) impl PaysafePaymentMethodDetails
crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
hyperswitch_connectors
impl_block
null
null
null
55
null
PaysafePaymentMethodDetails
null
7
7
null
null
// Function: update_merchant_account // File: crates/openapi/src/routes/merchant_account.rs // Module: openapi pub fn update_merchant_account()
crates/openapi/src/routes/merchant_account.rs
openapi
function_signature
null
null
null
34
update_merchant_account
null
null
null
null
null
null
// Struct: SinglePurposeToken // File: crates/router/src/services/authentication.rs // Module: router // Implementations: 1 pub struct SinglePurposeToken
crates/router/src/services/authentication.rs
router
struct_definition
SinglePurposeToken
1
[]
34
null
null
null
null
null
null
null
// Struct: Payer // File: crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct Payer
crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs
hyperswitch_connectors
struct_definition
Payer
0
[]
45
null
null
null
null
null
null
null
// Struct: AchVerification // File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct AchVerification
crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
hyperswitch_connectors
struct_definition
AchVerification
0
[]
48
null
null
null
null
null
null
null
// Function: list_user_roles_details // File: crates/router/src/core/user.rs // Module: router pub fn list_user_roles_details( state: SessionState, user_from_token: auth::UserFromToken, request: user_api::GetUserRoleDetailsRequest, _req_state: ReqState, ) -> UserResponse<Vec<user_api::GetUserRoleDetail...
crates/router/src/core/user.rs
router
function_signature
null
null
null
82
list_user_roles_details
null
null
null
null
null
null