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: Authorize
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Authorize | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | Authorize | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: PriorityLogicData
// File: crates/api_models/src/open_router.rs
// Module: api_models
// Implementations: 0
pub struct PriorityLogicData | crates/api_models/src/open_router.rs | api_models | struct_definition | PriorityLogicData | 0 | [] | 36 | null | null | null | null | null | null | null |
// File: crates/injector/src/vault_metadata.rs
// Module: injector
// Public functions: 2
// Public structs: 2
use std::collections::HashMap;
use base64::Engine;
use masking::{ExposeInterface, Secret};
use router_env::logger;
use url::Url;
use crate::{consts::EXTERNAL_VAULT_METADATA_HEADER, types::ConnectionConfig, ... | crates/injector/src/vault_metadata.rs | injector | full_file | null | null | null | 2,974 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Moneris
// File: crates/hyperswitch_connectors/src/connectors/moneris.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Moneris | crates/hyperswitch_connectors/src/connectors/moneris.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Moneris | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl ProcessTrackerInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 9 total (0 public)
impl ProcessTrackerInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 47 | null | KafkaStore | ProcessTrackerInterface for | 9 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nuvei | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: Taxjar
// File: crates/hyperswitch_connectors/src/connectors/taxjar.rs
// Module: hyperswitch_connectors
// Implementations: 18
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refu... | crates/hyperswitch_connectors/src/connectors/taxjar.rs | hyperswitch_connectors | struct_definition | Taxjar | 18 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"api::TaxCalculation",
"ConnectorCom... | 132 | null | null | null | null | null | null | null |
// Struct: ChargebeeSubscriptionDetails
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeSubscriptionDetails | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeSubscriptionDetails | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: PaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
// Traits: SignatureCalculationData
pub struct PaymentsRequest | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | PaymentsRequest | 1 | [
"SignatureCalculationData"
] | 53 | null | null | null | null | null | null | null |
// Struct: PaystackPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaystackPaymentsRequest | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs | hyperswitch_connectors | struct_definition | PaystackPaymentsRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: revoke_mandate
// File: crates/router/src/core/mandate.rs
// Module: router
pub fn revoke_mandate(
state: SessionState,
merchant_context: domain::MerchantContext,
req: mandates::MandateId,
) -> RouterResponse<mandates::MandateRevokedResponse> | crates/router/src/core/mandate.rs | router | function_signature | null | null | null | 72 | revoke_mandate | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Worldline
// File: crates/hyperswitch_connectors/src/connectors/worldline.rs
// Module: hyperswitch_connectors
// Methods: 7 total (0 public)
impl webhooks::IncomingWebhook for for Worldline | crates/hyperswitch_connectors/src/connectors/worldline.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Worldline | webhooks::IncomingWebhook for | 7 | 0 | null | null |
// Struct: Card
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Card | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | Card | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: new
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
pub fn new(
id: id_type::OrganizationId,
organization_type: common_enums::OrganizationType,
organization_name: Option<String>,
) -> Self | crates/diesel_models/src/organization.rs | diesel_models | function_signature | null | null | null | 58 | new | null | null | null | null | null | null |
// File: crates/external_services/src/grpc_client/dynamic_routing/elimination_based_client.rs
// Module: external_services
use api_models::routing::{
EliminationAnalyserConfig as EliminationConfig, RoutableConnectorChoice,
RoutableConnectorChoiceWithBucketName,
};
use common_utils::{ext_traits::OptionExt, tran... | crates/external_services/src/grpc_client/dynamic_routing/elimination_based_client.rs | external_services | full_file | null | null | null | 1,299 | null | null | null | null | null | null | null |
// Struct: Amount
// File: crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Amount | crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs | hyperswitch_connectors | struct_definition | Amount | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl PaymentIntentNew
// File: crates/diesel_models/src/query/payment_intent.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl PaymentIntentNew | crates/diesel_models/src/query/payment_intent.rs | diesel_models | impl_block | null | null | null | 41 | null | PaymentIntentNew | null | 1 | 0 | null | null |
// Struct: PaymentAccountFeatureInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentAccountFeatureInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | PaymentAccountFeatureInformation | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: find_by_lookup_id
// File: crates/diesel_models/src/query/reverse_lookup.rs
// Module: diesel_models
pub fn find_by_lookup_id(lookup_id: &str, conn: &PgPooledConn) -> StorageResult<Self> | crates/diesel_models/src/query/reverse_lookup.rs | diesel_models | function_signature | null | null | null | 54 | find_by_lookup_id | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(config: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// File: crates/router/src/types/api/ephemeral_key.rs
// Module: router
pub use api_models::ephemeral_key::*;
| crates/router/src/types/api/ephemeral_key.rs | router | full_file | null | null | null | 30 | null | null | null | null | null | null | null |
// File: crates/router/src/types/api/bank_accounts.rs
// Module: router
| crates/router/src/types/api/bank_accounts.rs | router | full_file | null | null | null | 18 | null | null | null | null | null | null | null |
// File: crates/router/src/routes/payment_methods.rs
// Module: router
// Public functions: 39
// Public structs: 2
use ::payment_methods::{
controller::PaymentMethodsController,
core::{migration, migration::payment_methods::migrate_payment_method},
};
#[cfg(all(feature = "v1", any(feature = "olap", feature = ... | crates/router/src/routes/payment_methods.rs#chunk0 | router | chunk | null | null | null | 8,177 | null | null | null | null | null | null | null |
// Struct: Score
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Score | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | Score | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl ObjectReferenceId
// File: crates/api_models/src/webhooks.rs
// Module: api_models
// Methods: 1 total (1 public)
impl ObjectReferenceId | crates/api_models/src/webhooks.rs | api_models | impl_block | null | null | null | 39 | null | ObjectReferenceId | null | 1 | 1 | null | null |
// Function: create_new_authentication
// File: crates/router/src/core/authentication/utils.rs
// Module: router
pub fn create_new_authentication(
state: &SessionState,
merchant_id: common_utils::id_type::MerchantId,
authentication_connector: String,
token: String,
profile_id: common_utils::id_type... | crates/router/src/core/authentication/utils.rs | router | function_signature | null | null | null | 155 | create_new_authentication | null | null | null | null | null | null |
// Struct: PeachpaymentsPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PeachpaymentsPaymentsResponse | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | struct_definition | PeachpaymentsPaymentsResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Shift4
// File: crates/hyperswitch_connectors/src/connectors/shift4.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Shift4 | crates/hyperswitch_connectors/src/connectors/shift4.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Shift4 | api::RefundExecute for | 0 | 0 | null | null |
// Implementation: impl super::sdk_events::events::SdkEventsFilterAnalytics for for ClickhouseClient
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::sdk_events::events::SdkEventsFilterAnalytics for for ClickhouseClient | crates/analytics/src/clickhouse.rs | analytics | impl_block | null | null | null | 65 | null | ClickhouseClient | super::sdk_events::events::SdkEventsFilterAnalytics for | 0 | 0 | null | null |
// Implementation: impl api::RefundExecute for for Worldpay
// File: crates/hyperswitch_connectors/src/connectors/worldpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Worldpay | crates/hyperswitch_connectors/src/connectors/worldpay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Worldpay | api::RefundExecute for | 0 | 0 | null | null |
// Function: add_access_token_for_payout
// File: crates/router/src/core/payouts/access_token.rs
// Module: router
pub fn add_access_token_for_payout<F: Clone + 'static>(
state: &SessionState,
connector: &api_types::ConnectorData,
merchant_context: &domain::MerchantContext,
router_data: &types::Payouts... | crates/router/src/core/payouts/access_token.rs | router | function_signature | null | null | null | 108 | add_access_token_for_payout | null | null | null | null | null | null |
// Struct: PaymentGetIntent
// File: crates/router/src/core/payments/operations/payment_get_intent.rs
// Module: router
// Implementations: 0
pub struct PaymentGetIntent | crates/router/src/core/payments/operations/payment_get_intent.rs | router | struct_definition | PaymentGetIntent | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl TransactionStatus
// File: crates/common_enums/src/enums.rs
// Module: common_enums
// Methods: 2 total (2 public)
impl TransactionStatus | crates/common_enums/src/enums.rs | common_enums | impl_block | null | null | null | 39 | null | TransactionStatus | null | 2 | 2 | null | null |
// File: crates/external_services/src/grpc_client/dynamic_routing/success_rate_client.rs
// Module: external_services
use api_models::routing::{
CurrentBlockThreshold, RoutableConnectorChoice, RoutableConnectorChoiceWithStatus,
SuccessBasedRoutingConfig, SuccessBasedRoutingConfigBody, SuccessRateSpecificityLev... | crates/external_services/src/grpc_client/dynamic_routing/success_rate_client.rs | external_services | full_file | null | null | null | 2,332 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Phonepe
// File: crates/hyperswitch_connectors/src/connectors/phonepe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Phonepe | crates/hyperswitch_connectors/src/connectors/phonepe.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Phonepe | api::PaymentCapture for | 0 | 0 | null | null |
// Function: list_user_authentication_methods
// File: crates/router/src/core/user.rs
// Module: router
pub fn list_user_authentication_methods(
state: SessionState,
req: user_api::GetUserAuthenticationMethodsRequest,
) -> UserResponse<Vec<user_api::UserAuthenticationMethodResponse>> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 62 | list_user_authentication_methods | null | null | null | null | null | null |
// Struct: GocardlessCustomer
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GocardlessCustomer | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | GocardlessCustomer | 0 | [] | 50 | null | null | null | null | null | null | null |
payment_method_data::WalletData::GooglePay(_) => Self::GooglePay,
payment_method_data::WalletData::BluecodeRedirect {} => Self::Bluecode,
payment_method_data::WalletData::GooglePayRedirect(_) => Self::GooglePayRedirect,
payment_method_data::WalletData::Goo... | crates/hyperswitch_connectors/src/utils.rs#chunk9 | hyperswitch_connectors | chunk | null | null | null | 8,186 | 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 |
// Function: signout_external_token
// File: crates/router/src/core/external_service_auth.rs
// Module: router
pub fn signout_external_token(
state: SessionState,
json_payload: external_service_auth_api::ExternalSignoutTokenRequest,
) -> RouterResponse<()> | crates/router/src/core/external_service_auth.rs | router | function_signature | null | null | null | 59 | signout_external_token | null | null | null | null | null | null |
// Struct: MerchantAccountNew
// File: crates/diesel_models/src/merchant_account.rs
// Module: diesel_models
// Implementations: 0
pub struct MerchantAccountNew | crates/diesel_models/src/merchant_account.rs | diesel_models | struct_definition | MerchantAccountNew | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: delete_entry_from_blocklist
// File: crates/router/src/core/blocklist/utils.rs
// Module: router
pub fn delete_entry_from_blocklist(
state: &SessionState,
merchant_id: &common_utils::id_type::MerchantId,
request: api_blocklist::DeleteFromBlocklistRequest,
) -> RouterResult<api_blocklist::Delet... | crates/router/src/core/blocklist/utils.rs | router | function_signature | null | null | null | 83 | delete_entry_from_blocklist | null | null | null | null | null | null |
// Struct: BancontactBankRedirectAdditionalData
// File: crates/api_models/src/payments/additional_info.rs
// Module: api_models
// Implementations: 0
pub struct BancontactBankRedirectAdditionalData | crates/api_models/src/payments/additional_info.rs | api_models | struct_definition | BancontactBankRedirectAdditionalData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: Globepay
// File: crates/hyperswitch_connectors/src/connectors/globepay.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::... | crates/hyperswitch_connectors/src/connectors/globepay.rs | hyperswitch_connectors | struct_definition | Globepay | 17 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"ConnectorCommon",
"ConnectorValidat... | 129 | null | null | null | null | null | null | null |
// Struct: EphemeralKeyNew
// File: crates/diesel_models/src/ephemeral_key.rs
// Module: diesel_models
// Implementations: 0
pub struct EphemeralKeyNew | crates/diesel_models/src/ephemeral_key.rs | diesel_models | struct_definition | EphemeralKeyNew | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: NordeaFailures
// File: crates/hyperswitch_connectors/src/connectors/nordea/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NordeaFailures | crates/hyperswitch_connectors/src/connectors/nordea/responses.rs | hyperswitch_connectors | struct_definition | NordeaFailures | 0 | [] | 49 | null | null | null | null | null | null | null |
// Trait: GetRoutableConnectorsForChoice
// File: crates/router/src/core/routing.rs
// Module: router
pub trait GetRoutableConnectorsForChoice | crates/router/src/core/routing.rs | router | trait_definition | null | null | null | 38 | null | null | GetRoutableConnectorsForChoice | null | null | null | null |
// Struct: RefundSyncBody
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundSyncBody | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | RefundSyncBody | 0 | [] | 49 | null | 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::MerchantConnectorAccountId>,
json_payload: web::Json<api_models::admin::MerchantConnectorUpdate>,
) ->... | crates/router/src/routes/admin.rs | router | function_signature | null | null | null | 77 | connector_update | null | null | null | null | null | null |
// Function: from_conf
// File: crates/analytics/src/sqlx.rs
// Module: analytics
pub fn from_conf(conf: &Database, schema: &str) -> Self | crates/analytics/src/sqlx.rs | analytics | function_signature | null | null | null | 38 | from_conf | null | null | null | null | null | null |
// File: crates/router/src/routes/customers.rs
// Module: router
// Public functions: 11
use actix_web::{web, HttpRequest, HttpResponse, Responder};
use common_utils::id_type;
use router_env::{instrument, tracing, Flow};
use super::app::AppState;
use crate::{
core::{api_locking, customers::*},
services::{api,... | crates/router/src/routes/customers.rs | router | full_file | null | null | null | 2,858 | null | null | null | null | null | null | null |
// Implementation: impl api::UasAuthentication for for Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::UasAuthentication for for Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 74 | null | Juspaythreedsserver | api::UasAuthentication for | 0 | 0 | null | null |
// Struct: PaymentRedirectCompleteAuthorize
// File: crates/router/src/core/payments.rs
// Module: router
// Implementations: 1
// Traits: PaymentRedirectFlow
pub struct PaymentRedirectCompleteAuthorize | crates/router/src/core/payments.rs | router | struct_definition | PaymentRedirectCompleteAuthorize | 1 | [
"PaymentRedirectFlow"
] | 44 | null | null | null | null | null | null | null |
// Implementation: impl RefundSync for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RefundSync for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Cybersource | RefundSync for | 0 | 0 | null | null |
// Struct: DisputeTransaction
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DisputeTransaction | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | DisputeTransaction | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: find_by_algorithm_id_merchant_id
// File: crates/diesel_models/src/query/routing_algorithm.rs
// Module: diesel_models
pub fn find_by_algorithm_id_merchant_id(
conn: &PgPooledConn,
algorithm_id: &common_utils::id_type::RoutingId,
merchant_id: &common_utils::id_type::MerchantId,
... | crates/diesel_models/src/query/routing_algorithm.rs | diesel_models | function_signature | null | null | null | 85 | find_by_algorithm_id_merchant_id | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/events.rs
// Module: diesel_models
// Public functions: 11
use std::collections::HashSet;
use diesel::{
associations::HasTable, BoolExpressionMethods, ExpressionMethods, NullableExpressionMethods,
};
use super::generics;
use crate::{
events::{Event, EventNew, EventUpda... | crates/diesel_models/src/query/events.rs | diesel_models | full_file | null | null | null | 2,676 | null | null | null | null | null | null | null |
// Struct: PaymentMethodId
// File: crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentMethodId | crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs | hyperswitch_connectors | struct_definition | PaymentMethodId | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl Deref for for ExtendedAuthorizationAppliedBool
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Methods: 1 total (0 public)
impl Deref for for ExtendedAuthorizationAppliedBool | crates/common_types/src/primitive_wrappers.rs | common_types | impl_block | null | null | null | 51 | null | ExtendedAuthorizationAppliedBool | Deref for | 1 | 0 | null | null |
// Function: list_by_merchant_id_initial_attempt_id
// File: crates/diesel_models/src/query/events.rs
// Module: diesel_models
pub fn list_by_merchant_id_initial_attempt_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
initial_attempt_id: &str,
) -> StorageResult<Ve... | crates/diesel_models/src/query/events.rs | diesel_models | function_signature | null | null | null | 80 | list_by_merchant_id_initial_attempt_id | null | null | null | null | null | null |
// Struct: EligiblePaymentMethods
// File: crates/payment_methods/src/configs/settings.rs
// Module: payment_methods
// Implementations: 0
pub struct EligiblePaymentMethods | crates/payment_methods/src/configs/settings.rs | payment_methods | struct_definition | EligiblePaymentMethods | 0 | [] | 39 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/chat.rs
// Module: hyperswitch_domain_models
// Public structs: 2
use common_utils::id_type;
use masking::Secret;
#[derive(Debug, serde::Deserialize, serde::Serialize, Clone)]
pub struct GetDataMessage {
pub message: Secret<String>,
}
#[derive(Debug, serde::Deseriali... | crates/hyperswitch_domain_models/src/chat.rs | hyperswitch_domain_models | full_file | null | null | null | 143 | null | null | null | null | null | null | null |
// Implementation: impl NewUser
// File: crates/router/src/types/domain/user.rs
// Module: router
// Methods: 10 total (6 public)
impl NewUser | crates/router/src/types/domain/user.rs | router | impl_block | null | null | null | 37 | null | NewUser | null | 10 | 6 | null | null |
// File: crates/payment_methods/src/configs/payment_connector_required_fields.rs
// Module: payment_methods
// Public functions: 3
use std::collections::{HashMap, HashSet};
use api_models::{
enums::{self, Connector, FieldType},
payment_methods::RequiredFieldInfo,
};
use crate::configs::settings::{
BankRe... | crates/payment_methods/src/configs/payment_connector_required_fields.rs#chunk0 | payment_methods | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Function: perform_session_token_routing
// File: crates/router/src/core/payments.rs
// Module: router
pub fn perform_session_token_routing<F, D>(
state: SessionState,
merchant_context: &domain::MerchantContext,
business_profile: &domain::Profile,
payment_data: &mut D,
connectors: api::SessionCon... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 110 | perform_session_token_routing | null | null | null | null | null | null |
// Struct: NestedErrorStack
// File: crates/router/src/core/errors.rs
// Module: router
// Implementations: 0
pub struct NestedErrorStack<'a> | crates/router/src/core/errors.rs | router | struct_definition | NestedErrorStack | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Facilitapay
// File: crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Facilitapay | crates/hyperswitch_connectors/src/connectors/facilitapay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Facilitapay | ConnectorValidation for | 0 | 0 | null | null |
// Struct: CurrentFlow
// File: crates/router/src/types/domain/user/decision_manager.rs
// Module: router
// Implementations: 1
pub struct CurrentFlow | crates/router/src/types/domain/user/decision_manager.rs | router | struct_definition | CurrentFlow | 1 | [] | 36 | null | null | null | null | null | null | null |
// Struct: EncryptedJsonType
// File: crates/hyperswitch_domain_models/src/type_encryption.rs
// Module: hyperswitch_domain_models
// Implementations: 3
// Traits: std::ops::Deref
pub struct EncryptedJsonType<T> | crates/hyperswitch_domain_models/src/type_encryption.rs | hyperswitch_domain_models | struct_definition | EncryptedJsonType | 3 | [
"std::ops::Deref"
] | 57 | null | null | null | null | null | null | null |
// Implementation: impl masking::SerializableSecret for for OrderDetailsWithAmount
// File: crates/diesel_models/src/types.rs
// Module: diesel_models
// Methods: 0 total (0 public)
impl masking::SerializableSecret for for OrderDetailsWithAmount | crates/diesel_models/src/types.rs | diesel_models | impl_block | null | null | null | 53 | null | OrderDetailsWithAmount | masking::SerializableSecret for | 0 | 0 | null | null |
// Implementation: impl SessionState
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 4 total (4 public)
impl SessionState | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 35 | null | SessionState | null | 4 | 4 | null | null |
// Function: update_conditional_config_id
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn update_conditional_config_id(&mut self, ids: String) | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 41 | update_conditional_config_id | null | null | null | null | null | null |
// Implementation: impl OrganizationBridge for for Organization
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
// Methods: 3 total (0 public)
impl OrganizationBridge for for Organization | crates/diesel_models/src/organization.rs | diesel_models | impl_block | null | null | null | 44 | null | Organization | OrganizationBridge for | 3 | 0 | null | null |
// Struct: NetceteraAuthenticationSuccessResponse
// File: crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NetceteraAuthenticationSuccessResponse | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs | hyperswitch_connectors | struct_definition | NetceteraAuthenticationSuccessResponse | 0 | [] | 57 | null | null | null | null | null | null | null |
// Function: create
// File: crates/analytics/src/opensearch.rs
// Module: analytics
pub fn create(conf: &OpenSearchConfig) -> CustomResult<Self, OpenSearchError> | crates/analytics/src/opensearch.rs | analytics | function_signature | null | null | null | 41 | create | null | null | null | null | null | null |
// Implementation: impl api::PaymentsPreProcessing for for Trustpay
// File: crates/hyperswitch_connectors/src/connectors/trustpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsPreProcessing for for Trustpay | crates/hyperswitch_connectors/src/connectors/trustpay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Trustpay | api::PaymentsPreProcessing for | 0 | 0 | null | null |
// Function: get_profile_outgoing_webhook_events
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_profile_outgoing_webhook_events(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Query<
api_models::analytics::outgoing_webhook_event::Ou... | crates/router/src/analytics.rs | router | function_signature | null | null | null | 90 | get_profile_outgoing_webhook_events | null | null | null | null | null | null |
// Struct: NoonCard
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonCard | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonCard | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: apply_changeset
// File: crates/diesel_models/src/business_profile.rs
// Module: diesel_models
pub fn apply_changeset(self, source: Profile) -> Profile | crates/diesel_models/src/business_profile.rs | diesel_models | function_signature | null | null | null | 38 | apply_changeset | null | null | null | null | null | null |
// Function: customers_list
// File: crates/router/src/routes/customers.rs
// Module: router
pub fn customers_list(
state: web::Data<AppState>,
req: HttpRequest,
query: web::Query<customers::CustomerListRequest>,
) -> HttpResponse | crates/router/src/routes/customers.rs | router | function_signature | null | null | null | 57 | customers_list | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/user_role.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<UserRole> | crates/diesel_models/src/query/user_role.rs | diesel_models | function_signature | null | null | null | 43 | insert | null | null | null | null | null | null |
// Struct: PaymentOptions
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentOptions | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | PaymentOptions | 0 | [] | 49 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/core/user.rs
// Module: router
// Public submodules:
pub mod dashboard_metadata;
pub mod sample_data;
pub mod theme;
| crates/router/src/core/user.rs | router | module_structure | null | null | null | 38 | null | null | null | null | null | 3 | 0 |
// Implementation: impl api::PaymentCapture for for Inespay
// File: crates/hyperswitch_connectors/src/connectors/inespay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Inespay | crates/hyperswitch_connectors/src/connectors/inespay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Inespay | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Paysafe
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Paysafe | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Paysafe | api::PaymentVoid for | 0 | 0 | null | null |
// Function: deep_health_check
// File: crates/drainer/src/health_check.rs
// Module: drainer
pub fn deep_health_check(
conf: web::Data<Settings>,
stores: web::Data<HashMap<String, Arc<Store>>>,
) -> impl actix_web::Responder | crates/drainer/src/health_check.rs | drainer | function_signature | null | null | null | 62 | deep_health_check | null | null | null | null | null | null |
// File: crates/api_models/src/user_role.rs
// Module: api_models
// Public structs: 9
use common_enums::{ParentGroup, PermissionGroup};
use common_utils::pii;
use masking::Secret;
pub mod role;
#[derive(Debug, serde::Serialize)]
pub struct AuthorizationInfoResponse(pub Vec<AuthorizationInfo>);
#[derive(Debug, serd... | crates/api_models/src/user_role.rs | api_models | full_file | null | null | null | 447 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Paytm
// File: crates/hyperswitch_connectors/src/connectors/paytm.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Paytm | crates/hyperswitch_connectors/src/connectors/paytm.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Paytm | api::RefundExecute for | 0 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Checkout
// File: crates/hyperswitch_connectors/src/connectors/checkout.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Checkout | crates/hyperswitch_connectors/src/connectors/checkout.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Checkout | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl OrganizationBridge for for OrganizationNew
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
// Methods: 3 total (0 public)
impl OrganizationBridge for for OrganizationNew | crates/diesel_models/src/organization.rs | diesel_models | impl_block | null | null | null | 46 | null | OrganizationNew | OrganizationBridge for | 3 | 0 | null | null |
// File: crates/router/src/core/routing/helpers.rs
// Module: router
// Public functions: 32
// Public structs: 5
//! Analysis for usage of all helper functions for use case of routing
//!
//! Functions that are used to perform the retrieval of merchant's
//! routing dict, configs, defaults
use std::fmt::Debug;
#[cfg(... | crates/router/src/core/routing/helpers.rs#chunk0 | router | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Struct: Chat
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct Chat | crates/router/src/routes/app.rs | router | struct_definition | Chat | 1 | [] | 30 | null | null | null | null | null | null | null |
// Struct: PayboxAuthType
// File: crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayboxAuthType | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | hyperswitch_connectors | struct_definition | PayboxAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl MerchantConnectorAccountNew
// File: crates/diesel_models/src/query/merchant_connector_account.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl MerchantConnectorAccountNew | crates/diesel_models/src/query/merchant_connector_account.rs | diesel_models | impl_block | null | null | null | 45 | null | MerchantConnectorAccountNew | null | 1 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Bamboraapac
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Bamboraapac | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Bamboraapac | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Digitalvirgo
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Digitalvirgo | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Digitalvirgo | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Santander
// File: crates/hyperswitch_connectors/src/connectors/santander.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Santander | crates/hyperswitch_connectors/src/connectors/santander.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Santander | ConnectorValidation for | 0 | 0 | null | null |
// Implementation: impl api::ConnectorMandateRevoke for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorMandateRevoke for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 69 | null | Cybersource | api::ConnectorMandateRevoke for | 0 | 0 | null | null |
// Implementation: impl SecretStateContainer
// File: crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs
// Module: hyperswitch_interfaces
// Methods: 2 total (2 public)
impl SecretStateContainer | crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs | hyperswitch_interfaces | impl_block | null | null | null | 47 | null | SecretStateContainer | null | 2 | 2 | null | null |
// Function: build
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
pub fn build(self) -> api::CardNetworkTokenizeResponse | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | function_signature | null | null | null | 39 | build | 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.