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: GooglePayPaymentMethodInfo
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GooglePayPaymentMethodInfo | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | GooglePayPaymentMethodInfo | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/analytics/src/auth_events/metrics/authentication_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
auth_events::{AuthEventDimensions, AuthEventFilters, AuthEventMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchEx... | crates/analytics/src/auth_events/metrics/authentication_count.rs | analytics | full_file | null | null | null | 1,027 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorRedirectResponse for for Trustpay
// File: crates/hyperswitch_connectors/src/connectors/trustpay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorRedirectResponse for for Trustpay | crates/hyperswitch_connectors/src/connectors/trustpay.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Trustpay | ConnectorRedirectResponse for | 1 | 0 | null | null |
// Struct: PaymentMethodDataBankCreds
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodDataBankCreds | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodDataBankCreds | 0 | [] | 42 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
// Public functions: 17
use async_bb8_diesel::AsyncRunQueryDsl;
#[cfg(feature = "v1")]
use diesel::Table;
use diesel::{
associations::HasTable, debug_query, pg::Pg, BoolExpressionMethods, ExpressionMethods, QueryDsl,
};
use error_st... | crates/diesel_models/src/query/payment_method.rs | diesel_models | full_file | null | null | null | 2,348 | null | null | null | null | null | null | null |
// Function: routing_create_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn routing_create_config(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<routing_types::RoutingConfigRequest>,
transaction_type: Option<enums::TransactionType>,
) -> impl Respond... | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 74 | routing_create_config | null | null | null | null | null | null |
// File: crates/analytics/src/query.rs
// Module: analytics
// Public functions: 21
// Public structs: 3
use std::{fmt, marker::PhantomData};
use api_models::{
analytics::{
self as analytics_api,
api_event::ApiEventDimensions,
auth_events::{AuthEventDimensions, AuthEventFlows},
dis... | crates/analytics/src/query.rs | analytics | full_file | null | null | null | 6,953 | null | null | null | null | null | null | null |
// Struct: EbanxFulfillResponse
// File: crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct EbanxFulfillResponse | crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs | hyperswitch_connectors | struct_definition | EbanxFulfillResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/common_types/src/refunds.rs
// Module: common_types
// Public structs: 1
//! Refund related types
use common_utils::impl_to_sql_from_sql_json;
use diesel::{sql_types::Jsonb, AsExpression, FromSqlRow};
use serde::{Deserialize, Serialize};
use utoipa::ToSchema;
use crate::domain::{AdyenSplitData, Xendi... | crates/common_types/src/refunds.rs | common_types | full_file | null | null | null | 424 | null | null | null | null | null | null | null |
// File: crates/api_models/src/surcharge_decision_configs.rs
// Module: api_models
// Public structs: 5
use common_utils::{
consts::SURCHARGE_PERCENTAGE_PRECISION_LENGTH,
events,
types::{MinorUnit, Percentage},
};
use euclid::frontend::{
ast::Program,
dir::{DirKeyKind, EuclidDirFilter},
};
use serd... | crates/api_models/src/surcharge_decision_configs.rs | api_models | full_file | null | null | null | 649 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl ConnectorCommon for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Nuvei | ConnectorCommon for | 4 | 0 | null | null |
// Trait: WalletFlow
// File: crates/router/src/core/payments.rs
// Module: router
pub trait WalletFlow<F, D>: Send + Sync
where
F: Send + Clone,
D: OperationSessionGetters<F> + Send + Sync + Clone, | crates/router/src/core/payments.rs | router | trait_definition | null | null | null | 59 | null | null | WalletFlow | null | null | null | null |
// File: crates/router/src/core/payments/operations/payment_get_intent.rs
// Module: router
// Public structs: 1
use std::marker::PhantomData;
use api_models::{enums::FrmSuggestion, payments::PaymentsGetIntentRequest};
use async_trait::async_trait;
use common_utils::errors::CustomResult;
use router_env::{instrument, ... | crates/router/src/core/payments/operations/payment_get_intent.rs | router | full_file | null | null | null | 1,762 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/types/user/core.rs
// Module: common_utils
// Public structs: 1
use diesel::{deserialize::FromSqlRow, expression::AsExpression};
use crate::id_type;
/// Struct for lineageContext
#[derive(Clone, Debug, serde::Serialize, serde::Deserialize, AsExpression, FromSqlRow)]
#[diesel(sql_type... | crates/common_utils/src/types/user/core.rs | common_utils | full_file | null | null | null | 210 | null | null | null | null | null | null | null |
// Struct: StaxChildCapture
// File: crates/hyperswitch_connectors/src/connectors/stax/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StaxChildCapture | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs | hyperswitch_connectors | struct_definition | StaxChildCapture | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/router/src/types/storage/cards_info.rs
// Module: router
pub use diesel_models::cards_info::{CardInfo, UpdateCardInfo};
| crates/router/src/types/storage/cards_info.rs | router | full_file | null | null | null | 32 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsCompleteAuthorize for for Paysafe
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsCompleteAuthorize for for Paysafe | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Paysafe | api::PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// File: crates/hyperswitch_interfaces/src/disputes.rs
// Module: hyperswitch_interfaces
// Public structs: 1
//! Disputes interface
use common_utils::types::StringMinorUnit;
use hyperswitch_domain_models::router_response_types::DisputeSyncResponse;
use time::PrimitiveDateTime;
/// struct DisputePayload
#[derive(Defa... | crates/hyperswitch_interfaces/src/disputes.rs | hyperswitch_interfaces | full_file | null | null | null | 379 | null | null | null | null | null | null | null |
// Function: from_headers
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn from_headers(headers: HashMap<String, Secret<String>>) -> Self | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 36 | from_headers | null | null | null | null | null | null |
// Implementation: impl Chat
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Chat | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Chat | null | 1 | 1 | null | null |
// Implementation: impl api::PaymentCapture for for Taxjar
// File: crates/hyperswitch_connectors/src/connectors/taxjar.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Taxjar | crates/hyperswitch_connectors/src/connectors/taxjar.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Taxjar | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: ContractBasedRoutingConfigBody
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 1
pub struct ContractBasedRoutingConfigBody | crates/api_models/src/routing.rs | api_models | struct_definition | ContractBasedRoutingConfigBody | 1 | [] | 40 | null | null | null | null | null | null | null |
// File: crates/router/src/db/routing_algorithm.rs
// Module: router
use diesel_models::routing_algorithm as routing_storage;
use error_stack::report;
use router_env::{instrument, tracing};
use storage_impl::mock_db::MockDb;
use crate::{
connection,
core::errors::{self, CustomResult},
services::Store,
};
... | crates/router/src/db/routing_algorithm.rs | router | full_file | null | null | null | 1,906 | 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: get_internal_user_merchant_id
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Documentation: Get a merchant id for internal use only
pub fn get_internal_user_merchant_id(merchant_id: &str) -> Self | crates/common_utils/src/id_type/merchant.rs | common_utils | function_signature | null | null | null | 58 | get_internal_user_merchant_id | null | null | null | null | null | null |
// Function: set_billing_data
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
pub fn set_billing_data(mut self, address: Option<&Address>) -> Result<Self, Error> | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 55 | set_billing_data | null | null | null | null | null | null |
// Function: diesel_enum
// File: crates/router_derive/src/lib.rs
// Module: router_derive
pub fn diesel_enum(
args: proc_macro::TokenStream,
item: proc_macro::TokenStream,
) -> proc_macro::TokenStream | crates/router_derive/src/lib.rs | router_derive | function_signature | null | null | null | 54 | diesel_enum | null | null | null | null | null | null |
// Function: delete_sample_data
// File: crates/router/src/routes/user.rs
// Module: router
pub fn delete_sample_data(
state: web::Data<AppState>,
http_req: HttpRequest,
payload: web::Json<SampleDataRequest>,
) -> impl actix_web::Responder | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 62 | delete_sample_data | null | null | null | null | null | null |
// Implementation: impl super::outgoing_webhook_event::events::OutgoingWebhookLogsFilterAnalytics
for for ClickhouseClient
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::outgoing_webhook_event::events::OutgoingWebhookLogsFilterAnalytics
for for Click... | crates/analytics/src/clickhouse.rs | analytics | impl_block | null | null | null | 81 | null | ClickhouseClient | super::outgoing_webhook_event::events::OutgoingWebhookLogsFilterAnalytics
for | 0 | 0 | null | null |
// Struct: Refunds
// File: crates/router/src/compatibility/stripe/app.rs
// Module: router
// Implementations: 1
pub struct Refunds | crates/router/src/compatibility/stripe/app.rs | router | struct_definition | Refunds | 1 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Silverflow
// File: crates/hyperswitch_connectors/src/connectors/silverflow.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl webhooks::IncomingWebhook for for Silverflow | crates/hyperswitch_connectors/src/connectors/silverflow.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Silverflow | webhooks::IncomingWebhook for | 6 | 0 | null | null |
// Struct: DeletePaymentMethodFromVaultInputData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeletePaymentMethodFromVaultInputData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | DeletePaymentMethodFromVaultInputData | 0 | [] | 56 | null | null | null | null | null | null | null |
// File: crates/router/src/types/domain/user/user_authentication_method.rs
// Module: router
use std::sync::LazyLock;
use common_enums::{Owner, UserAuthType};
use diesel_models::UserAuthenticationMethod;
pub static DEFAULT_USER_AUTH_METHOD: LazyLock<UserAuthenticationMethod> =
LazyLock::new(|| UserAuthentication... | crates/router/src/types/domain/user/user_authentication_method.rs | router | full_file | null | null | null | 181 | null | null | null | null | null | null | null |
// Struct: StripeOutgoingWebhook
// File: crates/router/src/compatibility/stripe/webhooks.rs
// Module: router
// Implementations: 1
// Traits: OutgoingWebhookType
pub struct StripeOutgoingWebhook | crates/router/src/compatibility/stripe/webhooks.rs | router | struct_definition | StripeOutgoingWebhook | 1 | [
"OutgoingWebhookType"
] | 52 | null | null | null | null | null | null | null |
// Struct: SilverflowVoidRequest
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SilverflowVoidRequest | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | SilverflowVoidRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorEnum
// File: crates/hyperswitch_interfaces/src/connector_integration_interface.rs
// Module: hyperswitch_interfaces
// Methods: 2 total (2 public)
impl ConnectorEnum | crates/hyperswitch_interfaces/src/connector_integration_interface.rs | hyperswitch_interfaces | impl_block | null | null | null | 43 | null | ConnectorEnum | null | 2 | 2 | null | null |
// Struct: SmithyField
// File: crates/smithy-core/src/types.rs
// Module: smithy-core
// Implementations: 0
pub struct SmithyField | crates/smithy-core/src/types.rs | smithy-core | struct_definition | SmithyField | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: SubmitSinglePaymentResponse
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SubmitSinglePaymentResponse | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | SubmitSinglePaymentResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl NoParams
// File: crates/hyperswitch_domain_models/src/connector_endpoints.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl NoParams | crates/hyperswitch_domain_models/src/connector_endpoints.rs | hyperswitch_domain_models | impl_block | null | null | null | 45 | null | NoParams | null | 1 | 1 | null | null |
// Struct: CardReqBodyV2
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
// Implementations: 0
pub struct CardReqBodyV2 | crates/router/src/core/payment_methods/transformers.rs | router | struct_definition | CardReqBodyV2 | 0 | [] | 42 | null | null | null | null | null | null | null |
// File: crates/analytics/src/frm/metrics/frm_blocked_rate.rs
// Module: analytics
use api_models::analytics::{
frm::{FrmDimensions, FrmFilters, FrmMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchExt;
use error_stack::ResultExt;
use time::PrimitiveDateTime;
use super... | crates/analytics/src/frm/metrics/frm_blocked_rate.rs | analytics | full_file | null | null | null | 837 | null | null | null | null | null | null | null |
// Struct: BarclaycardServerErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardServerErrorResponse | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardServerErrorResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: list_user_authentication_methods_for_owner_id
// File: crates/diesel_models/src/query/user_authentication_method.rs
// Module: diesel_models
pub fn list_user_authentication_methods_for_owner_id(
conn: &PgPooledConn,
owner_id: &str,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/user_authentication_method.rs | diesel_models | function_signature | null | null | null | 65 | list_user_authentication_methods_for_owner_id | null | null | null | null | null | null |
// Function: create_elimination_routing
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn create_elimination_routing(
state: web::Data<AppState>,
req: HttpRequest,
query: web::Query<api_models::routing::CreateDynamicRoutingQuery>,
path: web::Path<routing_types::ToggleDynamicRoutingP... | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 98 | create_elimination_routing | null | null | null | null | null | null |
// Struct: MerchantIdentification
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantIdentification | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | MerchantIdentification | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/api_models/src/refunds.rs
// Module: api_models
// Implementations: 2
pub struct RefundResponse | crates/api_models/src/refunds.rs | api_models | struct_definition | RefundResponse | 2 | [] | 36 | null | null | null | null | null | null | null |
// Struct: JuspaythreedsserverRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JuspaythreedsserverRefundRequest | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs | hyperswitch_connectors | struct_definition | JuspaythreedsserverRefundRequest | 0 | [] | 66 | null | null | null | null | null | null | null |
// Struct: KafkaPayout
// File: crates/router/src/services/kafka/payout.rs
// Module: router
// Implementations: 2
// Traits: super::KafkaMessage
pub struct KafkaPayout<'a> | crates/router/src/services/kafka/payout.rs | router | struct_definition | KafkaPayout | 2 | [
"super::KafkaMessage"
] | 49 | null | null | null | null | null | null | null |
// Function: user_signin
// File: crates/router/src/routes/user.rs
// Module: router
pub fn user_signin(
state: web::Data<AppState>,
http_req: HttpRequest,
json_payload: web::Json<user_api::SignInRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 60 | user_signin | null | null | null | null | null | null |
// Struct: DisputeMetricRow
// File: crates/analytics/src/disputes/metrics.rs
// Module: analytics
// Implementations: 0
pub struct DisputeMetricRow | crates/analytics/src/disputes/metrics.rs | analytics | struct_definition | DisputeMetricRow | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 72 | null | Juspaythreedsserver | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: RecoveryPaymentIntent
// File: crates/hyperswitch_domain_models/src/revenue_recovery.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RecoveryPaymentIntent | crates/hyperswitch_domain_models/src/revenue_recovery.rs | hyperswitch_domain_models | struct_definition | RecoveryPaymentIntent | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: PlacetopayRouterData
// File: crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlacetopayRouterData<T> | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs | hyperswitch_connectors | struct_definition | PlacetopayRouterData | 0 | [] | 57 | null | null | null | null | null | null | null |
// Struct: PaymentsCollectionItem
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentsCollectionItem | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaymentsCollectionItem | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Dlocal
// File: crates/hyperswitch_connectors/src/connectors/dlocal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Dlocal | crates/hyperswitch_connectors/src/connectors/dlocal.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Dlocal | api::Refund for | 0 | 0 | null | null |
// Implementation: impl Default for for RedisSettings
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
// Methods: 1 total (0 public)
impl Default for for RedisSettings | crates/redis_interface/src/types.rs | redis_interface | impl_block | null | null | null | 43 | null | RedisSettings | Default for | 1 | 0 | null | null |
// Function: from_conf
// File: crates/analytics/src/lib.rs
// Module: analytics
pub fn from_conf(
config: &AnalyticsConfig,
tenant: &dyn storage_impl::config::TenantConfig,
) -> Self | crates/analytics/src/lib.rs | analytics | function_signature | null | null | null | 50 | from_conf | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Shift4
// File: crates/hyperswitch_connectors/src/connectors/shift4.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Shift4 | crates/hyperswitch_connectors/src/connectors/shift4.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Shift4 | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl Default for for Storage
// File: crates/router_env/src/logger/storage.rs
// Module: router_env
// Methods: 1 total (0 public)
impl Default for for Storage | crates/router_env/src/logger/storage.rs | router_env | impl_block | null | null | null | 41 | null | Storage | Default for | 1 | 0 | null | null |
// Struct: VersionResponseData
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VersionResponseData | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | VersionResponseData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl std::ops::Deref for for RedisValue
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
// Methods: 1 total (0 public)
impl std::ops::Deref for for RedisValue | crates/redis_interface/src/types.rs | redis_interface | impl_block | null | null | null | 53 | null | RedisValue | std::ops::Deref for | 1 | 0 | null | null |
maud::html! {
(maud::DOCTYPE)
html {
head {
meta name="viewport" content="width=device-width, initial-scale=1";
}
body style="background-color: #ffffff; padding: 20px; font-family: Arial, Hel... | crates/router/src/services/api.rs#chunk4 | router | chunk | null | null | null | 6,485 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Facilitapay
// File: crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Facilitapay | crates/hyperswitch_connectors/src/connectors/facilitapay.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Facilitapay | api::PaymentToken for | 0 | 0 | null | null |
// Struct: TokenexInsertRequest
// File: crates/hyperswitch_connectors/src/connectors/tokenex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TokenexInsertRequest | crates/hyperswitch_connectors/src/connectors/tokenex/transformers.rs | hyperswitch_connectors | struct_definition | TokenexInsertRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Wellsfargo
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Wellsfargo | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Wellsfargo | api::PaymentSync for | 0 | 0 | null | null |
// File: crates/euclid_macros/src/inner/knowledge.rs
// Module: euclid_macros
use std::{
fmt::{Display, Formatter},
hash::Hash,
rc::Rc,
};
use proc_macro2::{Span, TokenStream};
use quote::{format_ident, quote};
use rustc_hash::{FxHashMap, FxHashSet};
use syn::{parse::Parse, Token};
mod strength {
syn... | crates/euclid_macros/src/inner/knowledge.rs | euclid_macros | full_file | null | null | null | 4,259 | null | null | null | null | null | null | null |
// Implementation: impl KafkaPaymentIntent
// File: crates/router/src/services/kafka/payment_intent.rs
// Module: router
// Methods: 1 total (1 public)
impl KafkaPaymentIntent | crates/router/src/services/kafka/payment_intent.rs | router | impl_block | null | null | null | 40 | null | KafkaPaymentIntent | null | 1 | 1 | null | null |
// Struct: ConstraintGraph
// File: crates/hyperswitch_constraint_graph/src/graph.rs
// Module: hyperswitch_constraint_graph
// Implementations: 2
pub struct ConstraintGraph<V: ValueNode> | crates/hyperswitch_constraint_graph/src/graph.rs | hyperswitch_constraint_graph | struct_definition | ConstraintGraph | 2 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Bluecode
// File: crates/hyperswitch_connectors/src/connectors/bluecode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Bluecode | crates/hyperswitch_connectors/src/connectors/bluecode.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Bluecode | api::Payment for | 0 | 0 | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: tokenize_card_flow
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn tokenize_card_flow(
state: &routes::SessionState,
req: domain::CardNetworkTokenizeRequest,
merchant_context: &domain::MerchantContext,
) -> errors::RouterResult<api::CardNetworkTokenizeResponse... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 75 | tokenize_card_flow | null | null | null | null | null | null |
// Struct: JuspaythreedsserverPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JuspaythreedsserverPaymentsResponse | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs | hyperswitch_connectors | struct_definition | JuspaythreedsserverPaymentsResponse | 0 | [] | 64 | null | null | null | null | null | null | null |
// Struct: DDCActionLink
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DDCActionLink | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | DDCActionLink | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl Refund for for DummyConnector
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl Refund for for DummyConnector | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | DummyConnector | Refund for | 0 | 0 | null | null |
// File: crates/analytics/src/auth_events/core.rs
// Module: analytics
// Public functions: 3
use std::collections::HashMap;
use api_models::analytics::{
auth_events::{
AuthEventDimensions, AuthEventMetrics, AuthEventMetricsBucketIdentifier,
MetricsBucketResponse,
},
AuthEventFilterValue, ... | crates/analytics/src/auth_events/core.rs | analytics | full_file | null | null | null | 1,975 | null | null | null | null | null | null | null |
// Implementation: impl Parse for for Input
// File: crates/router_derive/src/macros/generate_permissions.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl Parse for for Input | crates/router_derive/src/macros/generate_permissions.rs | router_derive | impl_block | null | null | null | 46 | null | Input | Parse for | 1 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Tesouro
// File: crates/hyperswitch_connectors/src/connectors/tesouro.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Tesouro | crates/hyperswitch_connectors/src/connectors/tesouro.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Tesouro | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: TransactionData
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TransactionData | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | TransactionData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl EliminationRoutingConfig
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 3 total (3 public)
impl EliminationRoutingConfig | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 41 | null | EliminationRoutingConfig | null | 3 | 3 | null | null |
// Function: delete
// File: crates/diesel_models/src/query/gsm.rs
// Module: diesel_models
pub fn delete(
conn: &PgPooledConn,
connector: String,
flow: String,
sub_flow: String,
code: String,
message: String,
) -> StorageResult<bool> | crates/diesel_models/src/query/gsm.rs | diesel_models | function_signature | null | null | null | 70 | delete | null | null | null | null | null | null |
// Function: parse_url_encoded_to_struct
// File: crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs
// Module: hyperswitch_connectors
pub fn parse_url_encoded_to_struct<T: DeserializeOwned>(
query_bytes: Bytes,
) -> CustomResult<T, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 66 | parse_url_encoded_to_struct | null | null | null | null | null | null |
// Implementation: impl FxExchangeRatesCacheEntry
// File: crates/router/src/utils/currency.rs
// Module: router
// Methods: 2 total (0 public)
impl FxExchangeRatesCacheEntry | crates/router/src/utils/currency.rs | router | impl_block | null | null | null | 44 | null | FxExchangeRatesCacheEntry | null | 2 | 0 | null | null |
// Implementation: impl api::MandateSetup for for Nexinets
// File: crates/hyperswitch_connectors/src/connectors/nexinets.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Nexinets | crates/hyperswitch_connectors/src/connectors/nexinets.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Nexinets | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl RefundExecute for for Signifyd
// File: crates/hyperswitch_connectors/src/connectors/signifyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RefundExecute for for Signifyd | crates/hyperswitch_connectors/src/connectors/signifyd.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Signifyd | RefundExecute for | 0 | 0 | null | null |
// Function: get_resource_id
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
pub fn get_resource_id<T, F>(
response: WorldpayPaymentsResponse,
connector_transaction_id: Option<String>,
transform_fn: F,
) -> Result<T, error_stack::Report<errors::C... | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | function_signature | null | null | null | 90 | get_resource_id | null | null | null | null | null | null |
// Function: get_file_purpose
// File: crates/router/src/core/files/helpers.rs
// Module: router
pub fn get_file_purpose(field: &mut Field) -> Option<api::FilePurpose> | crates/router/src/core/files/helpers.rs | router | function_signature | null | null | null | 44 | get_file_purpose | null | null | null | null | null | null |
// File: crates/router_derive/src/macros/generate_permissions.rs
// Module: router_derive
// Public functions: 4
use proc_macro::TokenStream;
use quote::{format_ident, quote};
use syn::{
braced, bracketed,
parse::{Parse, ParseBuffer, ParseStream},
parse_macro_input,
punctuated::Punctuated,
token::C... | crates/router_derive/src/macros/generate_permissions.rs | router_derive | full_file | null | null | null | 916 | null | null | null | null | null | null | null |
// Struct: NuveiRedirectionResponse
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiRedirectionResponse | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiRedirectionResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Gocardless
// File: crates/hyperswitch_connectors/src/connectors/gocardless.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Gocardless | crates/hyperswitch_connectors/src/connectors/gocardless.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Gocardless | api::RefundSync for | 0 | 0 | null | null |
// Function: update_with_id
// File: crates/diesel_models/src/query/tokenization.rs
// Module: diesel_models
pub fn update_with_id(
self,
conn: &PgPooledConn,
tokenization_record: tokenization_diesel::TokenizationUpdateInternal,
) -> StorageResult<Self> | crates/diesel_models/src/query/tokenization.rs | diesel_models | function_signature | null | null | null | 66 | update_with_id | null | null | null | null | null | null |
// Struct: ProfileAcquirerCreate
// File: crates/api_models/src/profile_acquirer.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct ProfileAcquirerCreate | crates/api_models/src/profile_acquirer.rs | api_models | struct_definition | ProfileAcquirerCreate | 1 | [
"common_utils::events::ApiEventMetric"
] | 51 | null | null | null | null | null | null | null |
// Function: reset_process_sync_task
// File: crates/router/src/core/payments.rs
// Module: router
pub fn reset_process_sync_task(
db: &dyn StorageInterface,
payment_attempt: &storage::PaymentAttempt,
schedule_time: time::PrimitiveDateTime,
) -> Result<(), errors::ProcessTrackerError> | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 68 | reset_process_sync_task | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Dwolla
// File: crates/hyperswitch_connectors/src/connectors/dwolla.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl ConnectorSpecifications for for Dwolla | crates/hyperswitch_connectors/src/connectors/dwolla.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Dwolla | ConnectorSpecifications for | 4 | 0 | null | null |
// File: crates/common_utils/src/events.rs
// Module: common_utils
use serde::Serialize;
use crate::{id_type, types::TimeRange};
pub trait ApiEventMetric {
fn get_api_event_type(&self) -> Option<ApiEventsType> {
None
}
}
#[derive(Clone, Debug, Eq, PartialEq, Serialize)]
#[serde(tag = "flow_type", re... | crates/common_utils/src/events.rs | common_utils | full_file | null | null | null | 1,335 | null | null | null | null | null | null | null |
// Function: get_organization_id
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_organization_id(&self) -> id_type::OrganizationId | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 37 | get_organization_id | null | null | null | null | null | null |
// Struct: CardVerification
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardVerification | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | CardVerification | 0 | [] | 48 | null | null | null | null | null | null | null |
// Trait: AuthServiceLinkToken
// File: crates/pm_auth/src/types/api/auth_service.rs
// Module: pm_auth
pub trait AuthServiceLinkToken: super::ConnectorIntegration<LinkToken, LinkTokenRequest, LinkTokenResponse> | crates/pm_auth/src/types/api/auth_service.rs | pm_auth | trait_definition | null | null | null | 47 | null | null | AuthServiceLinkToken | null | null | null | null |
// Function: new
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
pub fn new(node_type: NodeType<V>) -> Self | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Function: api_events_core
// File: crates/analytics/src/api_event/core.rs
// Module: analytics
pub fn api_events_core(
pool: &AnalyticsProvider,
req: ApiLogsRequest,
merchant_id: &common_utils::id_type::MerchantId,
) -> AnalyticsResult<Vec<ApiLogsResult>> | crates/analytics/src/api_event/core.rs | analytics | function_signature | null | null | null | 68 | api_events_core | null | null | null | null | null | null |
// Function: retrieve_merchant_routing_dictionary
// File: crates/router/src/core/routing.rs
// Module: router
pub fn retrieve_merchant_routing_dictionary(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id_list: Option<Vec<common_utils::id_type::ProfileId>>,
query_params: Routi... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 93 | retrieve_merchant_routing_dictionary | 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.