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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Function: profile_create
// File: crates/router/src/routes/profiles.rs
// Module: router
pub fn profile_create(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<admin::ProfileCreate>,
) -> HttpResponse | crates/router/src/routes/profiles.rs | router | function_signature | null | null | null | 57 | profile_create | null | null | null | null | null | null |
// Struct: SaleQueryResponse
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SaleQueryResponse | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | SaleQueryResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl Default for for Filter
// File: crates/analytics/src/query.rs
// Module: analytics
// Methods: 1 total (0 public)
impl Default for for Filter | crates/analytics/src/query.rs | analytics | impl_block | null | null | null | 39 | null | Filter | Default for | 1 | 0 | null | null |
// Function: add_refund_execute_task
// File: crates/router/src/core/refunds.rs
// Module: router
pub fn add_refund_execute_task(
db: &dyn db::StorageInterface,
refund: &diesel_refund::Refund,
runner: storage::ProcessTrackerRunner,
) -> RouterResult<storage::ProcessTracker> | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 74 | add_refund_execute_task | null | null | null | null | null | null |
// Struct: Getnet
// File: crates/hyperswitch_connectors/src/connectors/getnet.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refu... | crates/hyperswitch_connectors/src/connectors/getnet.rs | hyperswitch_connectors | struct_definition | Getnet | 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... | 125 | null | null | null | null | null | null | null |
// Function: is_dynamic_routing
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn is_dynamic_routing(self) -> bool | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 33 | is_dynamic_routing | null | null | null | null | null | null |
order_details: order_details.or(source.order_details),
allowed_payment_method_types: allowed_payment_method_types
.or(source.allowed_payment_method_types),
metadata: metadata.or(source.metadata),
connector_metadata: connector_metadata.or(source.connector_m... | crates/diesel_models/src/payment_intent.rs#chunk1 | diesel_models | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_domain_models/src/callback_mapper.rs
// Module: hyperswitch_domain_models
pub fn new(
id: String,
callback_mapper_id_type: common_enums::CallbackMapperIdType,
data: CallbackMapperData,
created_at: time::PrimitiveDateTime,
last_modifie... | crates/hyperswitch_domain_models/src/callback_mapper.rs | hyperswitch_domain_models | function_signature | null | null | null | 82 | new | null | null | null | null | null | null |
// Struct: PaypalDetails
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalDetails | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | PaypalDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: proxy_core
// File: crates/openapi/src/routes/proxy.rs
// Module: openapi
pub fn proxy_core() | crates/openapi/src/routes/proxy.rs | openapi | function_signature | null | null | null | 29 | proxy_core | null | null | null | null | null | null |
// Function: value
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
pub fn value(&self) -> Option<&String> | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 46 | value | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/router_flow_types/webhooks.rs
// Module: hyperswitch_domain_models
// Public functions: 2
// Public structs: 3
use serde::Serialize;
#[derive(Clone, Debug)]
pub struct VerifyWebhookSource;
#[derive(Debug, Clone, Serialize)]
pub struct ConnectorMandateDetails {
pub co... | crates/hyperswitch_domain_models/src/router_flow_types/webhooks.rs | hyperswitch_domain_models | full_file | null | null | null | 167 | null | null | null | null | null | null | null |
// Struct: Tsys
// File: crates/hyperswitch_connectors/src/connectors/tsys.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refund, ... | crates/hyperswitch_connectors/src/connectors/tsys.rs | hyperswitch_connectors | struct_definition | Tsys | 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... | 125 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: SepaBankTransfer
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct SepaBankTransfer | crates/api_models/src/payouts.rs | api_models | struct_definition | SepaBankTransfer | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: UpdateCardInfo
// File: crates/diesel_models/src/cards_info.rs
// Module: diesel_models
// Implementations: 0
pub struct UpdateCardInfo | crates/diesel_models/src/cards_info.rs | diesel_models | struct_definition | UpdateCardInfo | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Mpgs
// File: crates/hyperswitch_connectors/src/connectors/mpgs.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Mpgs | crates/hyperswitch_connectors/src/connectors/mpgs.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Mpgs | webhooks::IncomingWebhook for | 3 | 0 | null | null |
&self,
request: &webhooks::IncomingWebhookRequestDetails<'_>,
_merchant_id: &common_utils::id_type::MerchantId,
_connector_webhook_secrets: &api_models::webhooks::ConnectorWebhookSecrets,
) -> CustomResult<Vec<u8>, errors::ConnectorError> {
let trustpay_response: trustpay::Tr... | crates/hyperswitch_connectors/src/connectors/trustpay.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 3,942 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Facilitapay
// File: crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Facilitapay | crates/hyperswitch_connectors/src/connectors/facilitapay.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Facilitapay | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: make_in_aggregator
// File: crates/hyperswitch_constraint_graph/src/builder.rs
// Module: hyperswitch_constraint_graph
pub fn make_in_aggregator<M: Metadata>(
&mut self,
values: Vec<V>,
info: Option<&'static str>,
metadata: Option<M>,
) -> Result<NodeId, GraphError<V>> | crates/hyperswitch_constraint_graph/src/builder.rs | hyperswitch_constraint_graph | function_signature | null | null | null | 78 | make_in_aggregator | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Datatrans
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Datatrans | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Datatrans | ConnectorCommon for | 6 | 0 | null | null |
// Struct: Routing
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 2
pub struct Routing | crates/router/src/routes/app.rs | router | struct_definition | Routing | 2 | [] | 30 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Zsl
// File: crates/hyperswitch_connectors/src/connectors/zsl.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Zsl | crates/hyperswitch_connectors/src/connectors/zsl.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Zsl | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: FilesFlowData
// File: crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct FilesFlowData | crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs | hyperswitch_domain_models | struct_definition | FilesFlowData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Redsys
// File: crates/hyperswitch_connectors/src/connectors/redsys.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Redsys | crates/hyperswitch_connectors/src/connectors/redsys.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Redsys | api::PaymentSync for | 0 | 0 | null | null |
// Implementation: impl std::ops::Deref for for PayoutsMandateReference
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl std::ops::Deref for for PayoutsMandateReference | crates/diesel_models/src/payment_method.rs | diesel_models | impl_block | null | null | null | 64 | null | PayoutsMandateReference | std::ops::Deref for | 1 | 0 | null | null |
// Implementation: impl UnifiedTranslationsInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 4 total (0 public)
impl UnifiedTranslationsInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 47 | null | KafkaStore | UnifiedTranslationsInterface for | 4 | 0 | null | null |
// Function: merchant_account_list
// File: crates/router/src/routes/admin.rs
// Module: router
pub fn merchant_account_list(
state: web::Data<AppState>,
req: HttpRequest,
organization_id: web::Path<common_utils::id_type::OrganizationId>,
) -> HttpResponse | crates/router/src/routes/admin.rs | router | function_signature | null | null | null | 62 | merchant_account_list | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Iatapay
// File: crates/hyperswitch_connectors/src/connectors/iatapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Iatapay | crates/hyperswitch_connectors/src/connectors/iatapay.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Iatapay | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl api::MandateSetup for for Hyperwallet
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Hyperwallet | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Hyperwallet | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Zsl
// File: crates/hyperswitch_connectors/src/connectors/zsl.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Zsl | crates/hyperswitch_connectors/src/connectors/zsl.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Zsl | ConnectorValidation for | 1 | 0 | null | null |
// Function: update
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn update(&mut self, new: Self) | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 33 | update | null | null | null | null | null | null |
// Struct: Address
// File: crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Address | crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs | hyperswitch_connectors | struct_definition | Address | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::PayoutFulfill for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutFulfill for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Wise | api::PayoutFulfill for | 0 | 0 | null | null |
// Function: get_email
// File: crates/router/src/services/email/types.rs
// Module: router
pub fn get_email(&self) -> UserResult<domain::UserEmail> | crates/router/src/services/email/types.rs | router | function_signature | null | null | null | 38 | get_email | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Tokenex
// File: crates/hyperswitch_connectors/src/connectors/tokenex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Tokenex | crates/hyperswitch_connectors/src/connectors/tokenex.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tokenex | api::PaymentSession for | 0 | 0 | null | null |
// Function: collect
// File: crates/analytics/src/payments/accumulator.rs
// Module: analytics
pub fn collect(self) -> PaymentMetricsBucketValue | crates/analytics/src/payments/accumulator.rs | analytics | function_signature | null | null | null | 33 | collect | null | null | null | null | null | null |
// Function: config_path
// File: crates/router_env/src/logger/config.rs
// Module: router_env
// Documentation: Config path.
pub fn config_path(environment: &str, explicit_config_path: Option<PathBuf>) -> PathBuf | crates/router_env/src/logger/config.rs | router_env | function_signature | null | null | null | 49 | config_path | null | null | null | null | null | null |
// Function: transition_state
// File: crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs
// Module: hyperswitch_interfaces
// Documentation: Transition the secret state from `SecuredSecret` to `RawSecret`
pub fn transition_state(
mut self,
decryptor_fn: impl FnOnce(T) -> T,
) -> ... | crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs | hyperswitch_interfaces | function_signature | null | null | null | 82 | transition_state | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Cashtocode
// File: crates/hyperswitch_connectors/src/connectors/cashtocode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Cashtocode | crates/hyperswitch_connectors/src/connectors/cashtocode.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Cashtocode | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: GooglePayPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GooglePayPaymentInformation | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | GooglePayPaymentInformation | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
pub fn new() -> Self | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | function_signature | null | null | null | 31 | new | null | null | null | null | null | null |
// Implementation: impl Tokenization
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Tokenization | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 35 | null | Tokenization | null | 1 | 1 | null | null |
// Function: masked_serialize
// File: crates/masking/src/serde.rs
// Module: masking
// Documentation: Masked serialization. the default behaviour for secrets is to serialize in exposed format since the common use cases for storing the secret to database or sending it over the network requires the secret to be expos... | crates/masking/src/serde.rs | masking | function_signature | null | null | null | 105 | masked_serialize | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Checkbook
// File: crates/hyperswitch_connectors/src/connectors/checkbook.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Checkbook | crates/hyperswitch_connectors/src/connectors/checkbook.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Checkbook | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl GetAuthType for for PublishableKeyAuth
// File: crates/router/src/services/authentication.rs
// Module: router
// Methods: 1 total (0 public)
impl GetAuthType for for PublishableKeyAuth | crates/router/src/services/authentication.rs | router | impl_block | null | null | null | 49 | null | PublishableKeyAuth | GetAuthType for | 1 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Prophetpay
// File: crates/hyperswitch_connectors/src/connectors/prophetpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Prophetpay | crates/hyperswitch_connectors/src/connectors/prophetpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Prophetpay | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Function: new
// File: connector-template/mod.rs
// Module: connector-template
pub fn new() -> &'static Self | connector-template/mod.rs | connector-template | function_signature | null | null | null | 27 | new | null | null | null | null | null | null |
// Struct: CardPaymentMethod
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardPaymentMethod | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | struct_definition | CardPaymentMethod | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: find_optional_by_merchant_reference_id_merchant_id
// File: crates/diesel_models/src/query/payment_intent.rs
// Module: diesel_models
pub fn find_optional_by_merchant_reference_id_merchant_id(
conn: &PgPooledConn,
merchant_reference_id: &str,
merchant_id: &common_utils::id_type::Me... | crates/diesel_models/src/query/payment_intent.rs | diesel_models | function_signature | null | null | null | 85 | find_optional_by_merchant_reference_id_merchant_id | null | null | null | null | null | null |
// Function: get_payment_method_sub_type
// File: crates/diesel_models/src/types.rs
// Module: diesel_models
pub fn get_payment_method_sub_type(&self) -> Option<common_enums::PaymentMethodType> | crates/diesel_models/src/types.rs | diesel_models | function_signature | null | null | null | 47 | get_payment_method_sub_type | null | null | null | null | null | null |
// Struct: PayoutOutput
// File: crates/hyperswitch_connectors/src/connectors/payone/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayoutOutput | crates/hyperswitch_connectors/src/connectors/payone/transformers.rs | hyperswitch_connectors | struct_definition | PayoutOutput | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: find_by_merchant_id_connector_transaction_id
// File: crates/diesel_models/src/query/refund.rs
// Module: diesel_models
pub fn find_by_merchant_id_connector_transaction_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
connector_transaction_id: &str,
) -... | crates/diesel_models/src/query/refund.rs | diesel_models | function_signature | null | null | null | 81 | find_by_merchant_id_connector_transaction_id | null | null | null | null | null | null |
// Implementation: impl PaymentMetricAccumulator for for PaymentsDistributionAccumulator
// File: crates/analytics/src/payments/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl PaymentMetricAccumulator for for PaymentsDistributionAccumulator | crates/analytics/src/payments/accumulator.rs | analytics | impl_block | null | null | null | 58 | null | PaymentsDistributionAccumulator | PaymentMetricAccumulator for | 2 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Payu
// File: crates/hyperswitch_connectors/src/connectors/payu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Payu | crates/hyperswitch_connectors/src/connectors/payu.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Payu | api::PaymentVoid for | 0 | 0 | null | null |
// Function: payouts_list_by_filter
// File: crates/openapi/src/routes/payouts.rs
// Module: openapi
pub fn payouts_list_by_filter() | crates/openapi/src/routes/payouts.rs | openapi | function_signature | null | null | null | 34 | payouts_list_by_filter | null | null | null | null | null | null |
// Implementation: impl GetPaymentMethodType for for BankDebitData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl GetPaymentMethodType for for BankDebitData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 60 | null | BankDebitData | GetPaymentMethodType for | 1 | 0 | null | null |
// Struct: GetPaymentIntentFiltersRequest
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct GetPaymentIntentFiltersRequest | crates/api_models/src/analytics.rs | api_models | struct_definition | GetPaymentIntentFiltersRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: RecurringMetadata
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RecurringMetadata | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | RecurringMetadata | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Mollie
// File: crates/hyperswitch_connectors/src/connectors/mollie.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Mollie | crates/hyperswitch_connectors/src/connectors/mollie.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Mollie | api::PaymentSession for | 0 | 0 | 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 |
// Struct: UpdateSuccessRateWindowConfig
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct UpdateSuccessRateWindowConfig | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | UpdateSuccessRateWindowConfig | 0 | [] | 42 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/tokenization.rs
// Module: hyperswitch_domain_models
// Public functions: 1
// Public structs: 3
use common_enums;
use common_utils::{
self, date_time,
errors::{CustomResult, ValidationError},
types::keymanager,
};
use masking::Secret;
use serde::{Deserialize, ... | crates/hyperswitch_domain_models/src/tokenization.rs | hyperswitch_domain_models | full_file | null | null | null | 958 | null | null | null | null | null | null | null |
// File: crates/router/src/services/logger.rs
// Module: router
//! Logger of the system.
pub use crate::logger::*;
| crates/router/src/services/logger.rs | router | full_file | null | null | null | 27 | null | null | null | null | null | null | null |
// Function: get_user_authentication_method_by_id
// File: crates/diesel_models/src/query/user_authentication_method.rs
// Module: diesel_models
pub fn get_user_authentication_method_by_id(
conn: &PgPooledConn,
id: &str,
) -> StorageResult<Self> | crates/diesel_models/src/query/user_authentication_method.rs | diesel_models | function_signature | null | null | null | 61 | get_user_authentication_method_by_id | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/paystack.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/paystack.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Struct: PaypalThreeDsSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalThreeDsSyncResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalThreeDsSyncResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl CustomerRequest
// File: crates/api_models/src/customers.rs
// Module: api_models
// Methods: 3 total (3 public)
impl CustomerRequest | crates/api_models/src/customers.rs | api_models | impl_block | null | null | null | 37 | null | CustomerRequest | null | 3 | 3 | null | null |
// Implementation: impl Default for for ContractBasedRoutingConfig
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (0 public)
impl Default for for ContractBasedRoutingConfig | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 47 | null | ContractBasedRoutingConfig | Default for | 1 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Adyenplatform
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Adyenplatform | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Adyenplatform | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Implementation: impl events::ApiEventMetric for for SurchargeDecisionConfigReq
// File: crates/api_models/src/surcharge_decision_configs.rs
// Module: api_models
// Methods: 1 total (0 public)
impl events::ApiEventMetric for for SurchargeDecisionConfigReq | crates/api_models/src/surcharge_decision_configs.rs | api_models | impl_block | null | null | null | 60 | null | SurchargeDecisionConfigReq | events::ApiEventMetric for | 1 | 0 | null | null |
// Function: payment_intents_cancel
// File: crates/router/src/compatibility/stripe/payment_intents.rs
// Module: router
pub fn payment_intents_cancel(
state: web::Data<routes::AppState>,
qs_config: web::Data<serde_qs::Config>,
req: HttpRequest,
form_payload: web::Bytes,
path: web::Path<common_util... | crates/router/src/compatibility/stripe/payment_intents.rs | router | function_signature | null | null | null | 92 | payment_intents_cancel | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Jpmorgan
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Jpmorgan | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Jpmorgan | api::PaymentSync for | 0 | 0 | null | null |
// Struct: SuccessBasedRoutingPayloadWrapper
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct SuccessBasedRoutingPayloadWrapper | crates/api_models/src/routing.rs | api_models | struct_definition | SuccessBasedRoutingPayloadWrapper | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: new
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
pub fn new(org_new: OrganizationNew) -> Self | crates/diesel_models/src/organization.rs | diesel_models | function_signature | null | null | null | 34 | new | null | null | null | null | null | null |
// Struct: ExchangeTokenResponse
// File: crates/pm_auth/src/types.rs
// Module: pm_auth
// Implementations: 0
pub struct ExchangeTokenResponse | crates/pm_auth/src/types.rs | pm_auth | struct_definition | ExchangeTokenResponse | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: PayloadCard
// File: crates/hyperswitch_connectors/src/connectors/payload/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayloadCard | crates/hyperswitch_connectors/src/connectors/payload/requests.rs | hyperswitch_connectors | struct_definition | PayloadCard | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl ConnectorCommon for for Riskified | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Riskified | ConnectorCommon for | 4 | 0 | null | null |
// Function: enable_specific_routing_algorithm
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn enable_specific_routing_algorithm<A>(
state: &SessionState,
key_store: domain::MerchantKeyStore,
business_profile: domain::Profile,
feature_to_enable: routing_types::DynamicRouting... | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 148 | enable_specific_routing_algorithm | null | null | null | null | null | null |
}
api_enums::Country::BonaireSintEustatiusAndSaba => {
dir::enums::Country::BonaireSintEustatiusAndSaba
}
api_enums::Country::BosniaAndHerzegovina => dir::enums::Country::BosniaAndHerzegovina,
api_enums::Country::Botswana => dir::enums::Country::Botswana,
api_... | crates/kgraph_utils/src/transformers.rs#chunk1 | kgraph_utils | chunk | null | null | null | 4,920 | null | null | null | null | null | null | null |
// Struct: MetricsBucketResponse
// File: crates/api_models/src/analytics/sdk_events.rs
// Module: api_models
// Implementations: 0
pub struct MetricsBucketResponse | crates/api_models/src/analytics/sdk_events.rs | api_models | struct_definition | MetricsBucketResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: add_access_token
// File: crates/router/src/core/payments/access_token.rs
// Module: router
pub fn add_access_token<
F: Clone + 'static,
Req: Debug + Clone + 'static,
Res: Debug + Clone + 'static,
>(
state: &SessionState,
connector: &api_types::ConnectorData,
merchant_context: &dom... | crates/router/src/core/payments/access_token.rs | router | function_signature | null | null | null | 121 | add_access_token | null | null | null | null | null | null |
// Struct: PaymentMethodStatusUpdateWorkflow
// File: crates/router/src/workflows/payment_method_status_update.rs
// Module: router
// Implementations: 0
pub struct PaymentMethodStatusUpdateWorkflow | crates/router/src/workflows/payment_method_status_update.rs | router | struct_definition | PaymentMethodStatusUpdateWorkflow | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: ZenMerchantActionData
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ZenMerchantActionData | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | ZenMerchantActionData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: get_token_data
// File: crates/router/src/types/storage/payment_method.rs
// Module: router
pub fn get_token_data(&self) -> Option<PaymentTokenData> | crates/router/src/types/storage/payment_method.rs | router | function_signature | null | null | null | 39 | get_token_data | null | null | null | null | null | null |
// Function: get_individual_surcharge_key_value_pairs
// File: crates/router/src/core/payments/types.rs
// Module: router
pub fn get_individual_surcharge_key_value_pairs(&self) -> Vec<(String, SurchargeDetails)> | crates/router/src/core/payments/types.rs | router | function_signature | null | null | null | 49 | get_individual_surcharge_key_value_pairs | null | null | null | null | null | null |
// Struct: XenditAuthType
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct XenditAuthType | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | XenditAuthType | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payments/metrics/avg_ticket_size.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payments::{PaymentDimensions, PaymentFilters, PaymentMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchExt;
use diesel_mod... | crates/analytics/src/payments/metrics/avg_ticket_size.rs | analytics | full_file | null | null | null | 1,028 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Paytm
// File: crates/hyperswitch_connectors/src/connectors/paytm.rs
// Module: hyperswitch_connectors
// Methods: 2 total (0 public)
impl ConnectorValidation for for Paytm | crates/hyperswitch_connectors/src/connectors/paytm.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Paytm | ConnectorValidation for | 2 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Vgs
// File: crates/hyperswitch_connectors/src/connectors/vgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Vgs | crates/hyperswitch_connectors/src/connectors/vgs.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Vgs | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: PaymentAttemptCore
// File: crates/router/src/core/fraud_check/types.rs
// Module: router
// Implementations: 0
pub struct PaymentAttemptCore | crates/router/src/core/fraud_check/types.rs | router | struct_definition | PaymentAttemptCore | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::revenue_recovery_v2::RevenueRecoveryRecordBackV2 for for Recurly
// File: crates/hyperswitch_connectors/src/connectors/recurly.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::revenue_recovery_v2::RevenueRecoveryRecordBackV2 for for Recurly | crates/hyperswitch_connectors/src/connectors/recurly.rs | hyperswitch_connectors | impl_block | null | null | null | 82 | null | Recurly | api::revenue_recovery_v2::RevenueRecoveryRecordBackV2 for | 0 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Hyperwallet
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Hyperwallet | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Hyperwallet | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Klarna
// File: crates/hyperswitch_connectors/src/connectors/klarna.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Klarna | crates/hyperswitch_connectors/src/connectors/klarna.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Klarna | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: AuthorizedotnetSetupMandateResponse
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizedotnetSetupMandateResponse | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | AuthorizedotnetSetupMandateResponse | 0 | [] | 59 | null | null | null | null | null | null | null |
// Struct: ZenCardDetails
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ZenCardDetails | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | ZenCardDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl PaymentAttemptBatchNew
// File: crates/diesel_models/src/user/sample_data.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl PaymentAttemptBatchNew | crates/diesel_models/src/user/sample_data.rs | diesel_models | impl_block | null | null | null | 43 | null | PaymentAttemptBatchNew | null | 1 | 0 | null | null |
// Struct: InstructionNarrative
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct InstructionNarrative | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | struct_definition | InstructionNarrative | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/configs.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/configs.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl DynamicRoutingClientConfig
// File: crates/external_services/src/grpc_client/dynamic_routing.rs
// Module: external_services
// Methods: 1 total (1 public)
impl DynamicRoutingClientConfig | crates/external_services/src/grpc_client/dynamic_routing.rs | external_services | impl_block | null | null | null | 45 | null | DynamicRoutingClientConfig | null | 1 | 1 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.