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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Implementation: impl PaymentIntentFetchConstraints
// File: crates/hyperswitch_domain_models/src/payments/payment_intent.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl PaymentIntentFetchConstraints | crates/hyperswitch_domain_models/src/payments/payment_intent.rs | hyperswitch_domain_models | impl_block | null | null | null | 49 | null | PaymentIntentFetchConstraints | null | 1 | 1 | null | null |
// Struct: CreateRoleRequest
// File: crates/api_models/src/user_role/role.rs
// Module: api_models
// Implementations: 0
pub struct CreateRoleRequest | crates/api_models/src/user_role/role.rs | api_models | struct_definition | CreateRoleRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl Coinbase
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Coinbase | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | impl_block | null | null | null | 44 | null | Coinbase | null | 1 | 1 | null | null |
// Implementation: impl ConnectorValidation for for Cryptopay
// File: crates/hyperswitch_connectors/src/connectors/cryptopay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Cryptopay | crates/hyperswitch_connectors/src/connectors/cryptopay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Cryptopay | ConnectorValidation for | 1 | 0 | null | null |
// Implementation: impl api::Refund for for Klarna
// File: crates/hyperswitch_connectors/src/connectors/klarna.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Klarna | crates/hyperswitch_connectors/src/connectors/klarna.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Klarna | api::Refund for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/inespay.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use base64::Engine;
use common_enums::enums;
use common_utils::{
consts::BASE64_ENGINE,
crypto,
errors::CustomResul... | crates/hyperswitch_connectors/src/connectors/inespay.rs | hyperswitch_connectors | full_file | null | null | null | 5,943 | null | null | null | null | null | null | null |
// Function: psync_response_handler
// File: crates/router/src/core/revenue_recovery/types.rs
// Module: router
pub fn psync_response_handler(
&self,
state: &SessionState,
payment_intent: &PaymentIntent,
psync_task_process: &storage::ProcessTracker,
revenue_recovery_metadata: &m... | crates/router/src/core/revenue_recovery/types.rs | router | function_signature | null | null | null | 107 | psync_response_handler | null | null | null | null | null | null |
// File: crates/router/src/routes/lock_utils.rs
// Module: router
use router_env::Flow;
#[derive(Clone, Debug, strum::Display)]
#[strum(serialize_all = "snake_case")]
pub enum ApiIdentifier {
Payments,
Refunds,
Webhooks,
Organization,
MerchantAccount,
MerchantConnector,
Configs,
Custom... | crates/router/src/routes/lock_utils.rs | router | full_file | null | null | null | 3,049 | null | null | null | null | null | null | null |
// Function: f64_histogram_buckets
// File: crates/router_env/src/metrics.rs
// Module: router_env
pub fn f64_histogram_buckets() -> Vec<f64> | crates/router_env/src/metrics.rs | router_env | function_signature | null | null | null | 40 | f64_histogram_buckets | null | null | null | null | null | null |
// File: crates/common_utils/src/id_type/payment.rs
// Module: common_utils
// Public functions: 8
use crate::{
errors::{CustomResult, ValidationError},
generate_id_with_default_len,
id_type::{AlphaNumericId, LengthId},
};
crate::id_type!(
PaymentId,
"A type for payment_id that can be used for pay... | crates/common_utils/src/id_type/payment.rs | common_utils | full_file | null | null | null | 879 | null | null | null | null | null | null | null |
// Struct: PaymentMethodResponseItem
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodResponseItem | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodResponseItem | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl CtxValueKind
// File: crates/euclid/src/dssa/types.rs
// Module: euclid
// Methods: 3 total (3 public)
impl CtxValueKind | crates/euclid/src/dssa/types.rs | euclid | impl_block | null | null | null | 43 | null | CtxValueKind | null | 3 | 3 | null | null |
// Implementation: impl ChargebeeWebhookBody
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl ChargebeeWebhookBody | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | ChargebeeWebhookBody | null | 1 | 1 | null | null |
// Struct: PaymentsSuccessRateAccumulator
// File: crates/analytics/src/payment_intents/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: PaymentIntentMetricAccumulator
pub struct PaymentsSuccessRateAccumulator | crates/analytics/src/payment_intents/accumulator.rs | analytics | struct_definition | PaymentsSuccessRateAccumulator | 1 | [
"PaymentIntentMetricAccumulator"
] | 54 | null | null | null | null | null | null | null |
// Implementation: impl Payments
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Payments | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Payments | null | 1 | 1 | null | null |
// Function: payment_method_session_confirm
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn payment_method_session_confirm() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 33 | payment_method_session_confirm | null | null | null | null | null | null |
// Implementation: impl masking::SerializableSecret for for CustomerAcceptance
// File: crates/common_types/src/payments.rs
// Module: common_types
// Methods: 0 total (0 public)
impl masking::SerializableSecret for for CustomerAcceptance | crates/common_types/src/payments.rs | common_types | impl_block | null | null | null | 51 | null | CustomerAcceptance | masking::SerializableSecret for | 0 | 0 | null | null |
// Struct: RazorpayRouterData
// File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RazorpayRouterData<T> | crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs | hyperswitch_connectors | struct_definition | RazorpayRouterData | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl auth_service::AuthService for for Plaid
// File: crates/pm_auth/src/connector/plaid.rs
// Module: pm_auth
// Methods: 0 total (0 public)
impl auth_service::AuthService for for Plaid | crates/pm_auth/src/connector/plaid.rs | pm_auth | impl_block | null | null | null | 51 | null | Plaid | auth_service::AuthService for | 0 | 0 | null | null |
// Struct: ShippingInformation
// File: crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ShippingInformation | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs | hyperswitch_connectors | struct_definition | ShippingInformation | 0 | [] | 46 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/types.rs
// Module: hyperswitch_interfaces
// Public structs: 2
//! Types interface
use hyperswitch_domain_models::{
router_data::{AccessToken, AccessTokenAuthenticationResponse},
router_data_v2::flow_common_types,
router_flow_types::{
access_token_auth::... | crates/hyperswitch_interfaces/src/types.rs | hyperswitch_interfaces | full_file | null | null | null | 4,331 | null | null | null | null | null | null | null |
// Struct: PaymentMethodsEnabled
// File: crates/common_types/src/payment_methods.rs
// Module: common_types
// Implementations: 1
pub struct PaymentMethodsEnabled | crates/common_types/src/payment_methods.rs | common_types | struct_definition | PaymentMethodsEnabled | 1 | [] | 36 | null | null | null | null | null | null | null |
// File: crates/router/src/routes/blocklist.rs
// Module: router
// Public functions: 4
use actix_web::{web, HttpRequest, HttpResponse};
use api_models::blocklist as api_blocklist;
use error_stack::report;
use router_env::Flow;
use crate::{
core::{api_locking, blocklist},
routes::AppState,
services::{api,... | crates/router/src/routes/blocklist.rs | router | full_file | null | null | null | 1,461 | null | null | null | null | null | null | null |
// Struct: JpmorganPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JpmorganPaymentsRequest | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | JpmorganPaymentsRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/id_type/refunds.rs
// Module: common_utils
crate::id_type!(RefundReferenceId, "A type for refund_reference_id");
crate::impl_id_type_methods!(RefundReferenceId, "refund_reference_id");
// This is to display the `RefundReferenceId` as RefundReferenceId(abcd)
crate::impl_debug_id_type!(... | crates/common_utils/src/id_type/refunds.rs | common_utils | full_file | null | null | null | 152 | null | null | null | null | null | null | null |
// Struct: RefundFilters
// File: crates/api_models/src/analytics/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundFilters | crates/api_models/src/analytics/refunds.rs | api_models | struct_definition | RefundFilters | 0 | [] | 38 | null | null | null | null | null | null | null |
// File: crates/router/src/utils/user/theme.rs
// Module: router
// Public functions: 10
use std::path::PathBuf;
use common_enums::EntityType;
use common_utils::{ext_traits::AsyncExt, id_type, types::user::ThemeLineage};
use diesel_models::user::theme::Theme;
use error_stack::ResultExt;
use hyperswitch_domain_models:... | crates/router/src/utils/user/theme.rs | router | full_file | null | null | null | 2,103 | null | null | null | null | null | null | null |
// Struct: LoonioPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct LoonioPaymentsResponse | crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs | hyperswitch_connectors | struct_definition | LoonioPaymentsResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: BrowserInformation
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct BrowserInformation | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | BrowserInformation | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Vgs
// File: crates/hyperswitch_connectors/src/connectors/vgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Vgs | crates/hyperswitch_connectors/src/connectors/vgs.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Vgs | api::PaymentToken for | 0 | 0 | null | null |
// Struct: AirwallexPLShippingAddress
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AirwallexPLShippingAddress | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AirwallexPLShippingAddress | 0 | [] | 55 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/nomupay.rs
// Module: router
use api_models::payments::{Address, AddressDetails};
use masking::Secret;
use router::types::{self, api, storage::enums, PaymentAddress};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions, PaymentInfo};
#[derive(Clone, Copy)... | crates/router/tests/connectors/nomupay.rs | router | full_file | null | null | null | 1,064 | null | null | null | null | null | null | null |
// Struct: RequestMetadata
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RequestMetadata | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | RequestMetadata | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/payload.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/payload.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Forte
// File: crates/hyperswitch_connectors/src/connectors/forte.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Forte | crates/hyperswitch_connectors/src/connectors/forte.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Forte | api::PaymentSession for | 0 | 0 | null | null |
// Struct: PaymentStart
// File: crates/router/src/core/payments/operations/payment_start.rs
// Module: router
// Implementations: 0
pub struct PaymentStart | crates/router/src/core/payments/operations/payment_start.rs | router | struct_definition | PaymentStart | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Paystack
// File: crates/hyperswitch_connectors/src/connectors/paystack.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Paystack | crates/hyperswitch_connectors/src/connectors/paystack.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paystack | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Implementation: impl ConnectorSpecifications for for Nexinets
// File: crates/hyperswitch_connectors/src/connectors/nexinets.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Nexinets | crates/hyperswitch_connectors/src/connectors/nexinets.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Nexinets | ConnectorSpecifications for | 3 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Adyen
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Adyen | crates/hyperswitch_connectors/src/connectors/adyen.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Adyen | ConnectorCommon for | 5 | 0 | null | null |
// File: crates/external_services/src/http_client/client.rs
// Module: external_services
// Public functions: 4
use std::time::Duration;
use base64::Engine;
use common_utils::consts::BASE64_ENGINE;
pub use common_utils::errors::CustomResult;
use error_stack::ResultExt;
use hyperswitch_interfaces::{errors::HttpClientE... | crates/external_services/src/http_client/client.rs | external_services | full_file | null | null | null | 1,353 | null | null | null | null | null | null | null |
// Function: with_storage
// File: crates/router/src/routes/app.rs
// Module: router
// Documentation: Panics if Store can't be created or JWE decryption fails
pub fn with_storage(
conf: settings::Settings<SecuredSecret>,
storage_impl: StorageImpl,
shut_down_signal: oneshot::Sender<() | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 73 | with_storage | null | null | null | null | null | null |
// Struct: Inespay
// File: crates/hyperswitch_connectors/src/connectors/inespay.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Re... | crates/hyperswitch_connectors/src/connectors/inespay.rs | hyperswitch_connectors | struct_definition | Inespay | 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... | 128 | null | null | null | null | null | null | null |
// Function: get_external_authentication_request_poll_id
// File: crates/common_utils/src/id_type/payment.rs
// Module: common_utils
// Documentation: Get external authentication request poll id
pub fn get_external_authentication_request_poll_id(&self) -> String | crates/common_utils/src/id_type/payment.rs | common_utils | function_signature | null | null | null | 51 | get_external_authentication_request_poll_id | null | null | null | null | null | null |
// Struct: RecipientCreate
// File: crates/pm_auth/src/types/api/auth_service.rs
// Module: pm_auth
// Implementations: 0
pub struct RecipientCreate | crates/pm_auth/src/types/api/auth_service.rs | pm_auth | struct_definition | RecipientCreate | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: handle_unified_connector_service_response_for_payment_register
// File: crates/router/src/core/unified_connector_service.rs
// Module: router
pub fn handle_unified_connector_service_response_for_payment_register(
response: payments_grpc::PaymentServiceRegisterResponse,
) -> UnifiedConnectorServiceResu... | crates/router/src/core/unified_connector_service.rs | router | function_signature | null | null | null | 61 | handle_unified_connector_service_response_for_payment_register | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Worldline
// File: crates/hyperswitch_connectors/src/connectors/worldline.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Worldline | crates/hyperswitch_connectors/src/connectors/worldline.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Worldline | api::RefundExecute for | 0 | 0 | null | null |
// Function: update_token_expiry_based_on_schedule_time
// File: crates/router/src/workflows/revenue_recovery.rs
// Module: router
pub fn update_token_expiry_based_on_schedule_time(
state: &SessionState,
connector_customer_id: &str,
delayed_schedule_time: Option<time::PrimitiveDateTime>,
) -> CustomResult<... | crates/router/src/workflows/revenue_recovery.rs | router | function_signature | null | null | null | 77 | update_token_expiry_based_on_schedule_time | null | null | null | null | null | null |
// Struct: NexinetsAsyncDetails
// File: crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexinetsAsyncDetails | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs | hyperswitch_connectors | struct_definition | NexinetsAsyncDetails | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Archipel
// File: crates/hyperswitch_connectors/src/connectors/archipel.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Archipel | crates/hyperswitch_connectors/src/connectors/archipel.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Archipel | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: MerchantKeyStoreNew
// File: crates/diesel_models/src/merchant_key_store.rs
// Module: diesel_models
// Implementations: 0
pub struct MerchantKeyStoreNew | crates/diesel_models/src/merchant_key_store.rs | diesel_models | struct_definition | MerchantKeyStoreNew | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: get_storage_type
// File: crates/router_derive/src/macros/diesel.rs
// Module: router_derive
pub fn get_storage_type(&self) -> &StorageType | crates/router_derive/src/macros/diesel.rs | router_derive | function_signature | null | null | null | 40 | get_storage_type | null | null | null | null | null | null |
samsung_pay: None,
}))
}
domain::WalletData::GooglePay(google_pay_pm_data) => {
Ok(Some(api_models::payments::AdditionalPaymentData::Wallet {
apple_pay: None,
google_pay: Some(payment_additional_types::Wa... | crates/router/src/core/payments/helpers.rs#chunk5 | router | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// File: crates/router/src/consts/user_role.rs
// Module: router
// User Roles
pub const ROLE_ID_MERCHANT_ADMIN: &str = "merchant_admin";
pub const ROLE_ID_MERCHANT_VIEW_ONLY: &str = "merchant_view_only";
pub const ROLE_ID_MERCHANT_IAM_ADMIN: &str = "merchant_iam_admin";
pub const ROLE_ID_MERCHANT_DEVELOPER: &str = "m... | crates/router/src/consts/user_role.rs | router | full_file | null | null | null | 249 | null | null | null | null | null | null | null |
// Trait: SdkEventMetricAccumulator
// File: crates/analytics/src/sdk_events/accumulator.rs
// Module: analytics
pub trait SdkEventMetricAccumulator | crates/analytics/src/sdk_events/accumulator.rs | analytics | trait_definition | null | null | null | 38 | null | null | SdkEventMetricAccumulator | null | null | null | null |
// Function: add_payment_method_status_update_task
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn add_payment_method_status_update_task(
db: &dyn StorageInterface,
payment_method: &domain::PaymentMethod,
prev_status: enums::PaymentMethodStatus,
curr_status: enums::PaymentMe... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 92 | add_payment_method_status_update_task | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Moneris
// File: crates/hyperswitch_connectors/src/connectors/moneris.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Moneris | crates/hyperswitch_connectors/src/connectors/moneris.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Moneris | api::PaymentSync for | 0 | 0 | null | null |
// Struct: FeatureMatrixRequest
// File: crates/api_models/src/feature_matrix.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct FeatureMatrixRequest | crates/api_models/src/feature_matrix.rs | api_models | struct_definition | FeatureMatrixRequest | 1 | [
"common_utils::events::ApiEventMetric"
] | 49 | null | null | null | null | null | null | null |
// Struct: EcommerceCardPaymentOnlyResponseData
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct EcommerceCardPaymentOnlyResponseData | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | struct_definition | EcommerceCardPaymentOnlyResponseData | 0 | [] | 57 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Gigadat
// File: crates/hyperswitch_connectors/src/connectors/gigadat.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Gigadat | crates/hyperswitch_connectors/src/connectors/gigadat.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Gigadat | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: IatapayAuthUpdateResponse
// File: crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IatapayAuthUpdateResponse | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs | hyperswitch_connectors | struct_definition | IatapayAuthUpdateResponse | 0 | [] | 57 | null | null | null | null | null | null | null |
// Struct: MandateResponseBody
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MandateResponseBody | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | MandateResponseBody | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: validate
// File: crates/external_services/src/grpc_client/revenue_recovery/recovery_decider_client.rs
// Module: external_services
// Documentation: Validate the configuration
pub fn validate(&self) -> Result<(), RecoveryDeciderError> | crates/external_services/src/grpc_client/revenue_recovery/recovery_decider_client.rs | external_services | function_signature | null | null | null | 52 | validate | null | null | null | null | null | null |
// Struct: IatapayAccessTokenErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IatapayAccessTokenErrorResponse | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs | hyperswitch_connectors | struct_definition | IatapayAccessTokenErrorResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: generate_digest
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo.rs
// Module: hyperswitch_connectors
pub fn generate_digest(&self, payload: &[u8]) -> String | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs | hyperswitch_connectors | function_signature | null | null | null | 48 | generate_digest | null | null | null | null | null | null |
// Struct: FrmFulfillmentSignifydRequest
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FrmFulfillmentSignifydRequest | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs | hyperswitch_connectors | struct_definition | FrmFulfillmentSignifydRequest | 0 | [] | 59 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Datatrans
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Datatrans | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Datatrans | api::RefundSync for | 0 | 0 | null | null |
// File: crates/router/src/core/currency.rs
// Module: router
// Public functions: 3
use analytics::errors::AnalyticsError;
use common_utils::errors::CustomResult;
use currency_conversion::types::ExchangeRates;
use error_stack::ResultExt;
use router_env::logger;
use crate::{
consts::DEFAULT_ANALYTICS_FOREX_RETRY_... | crates/router/src/core/currency.rs | router | full_file | null | null | null | 723 | null | null | null | null | null | null | null |
// Implementation: impl PaymentMethod
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
// Methods: 2 total (2 public)
impl PaymentMethod | crates/diesel_models/src/payment_method.rs | diesel_models | impl_block | null | null | null | 38 | null | PaymentMethod | null | 2 | 2 | null | null |
// Struct: ResetTrackingIdRequest
// File: crates/api_models/src/connector_onboarding.rs
// Module: api_models
// Implementations: 0
pub struct ResetTrackingIdRequest | crates/api_models/src/connector_onboarding.rs | api_models | struct_definition | ResetTrackingIdRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Struct: CustomerBody
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustomerBody | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | CustomerBody | 0 | [] | 46 | null | null | null | null | null | null | null |
// File: crates/router/src/compatibility/stripe/webhooks.rs
// Module: router
// Public structs: 4
#[cfg(feature = "payouts")]
use api_models::payouts as payout_models;
use api_models::{
enums::{Currency, DisputeStatus, MandateStatus},
webhooks::{self as api},
};
use common_utils::{crypto::SignMessage, date_ti... | crates/router/src/compatibility/stripe/webhooks.rs | router | full_file | null | null | null | 3,021 | null | null | null | null | null | null | null |
// Trait: StorageModel
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
// Documentation: Storage model with all required capabilities for KV operations
pub trait StorageModel<D: Conversion>: de::DeserializeOwned
+ serde::Serialize
+ Debug
+ KvStorePartition
+ UniqueConstrai... | crates/storage_impl/src/kv_router_store.rs | storage_impl | trait_definition | null | null | null | 86 | null | null | StorageModel | null | null | null | null |
// Struct: GetSubscriptionEstimate
// File: crates/hyperswitch_domain_models/src/router_flow_types/subscriptions.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GetSubscriptionEstimate | crates/hyperswitch_domain_models/src/router_flow_types/subscriptions.rs | hyperswitch_domain_models | struct_definition | GetSubscriptionEstimate | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: connector_create
// File: crates/router/src/routes/admin.rs
// Module: router
pub fn connector_create(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::MerchantId>,
json_payload: web::Json<admin::MerchantConnectorCreate>,
) -> HttpResponse | crates/router/src/routes/admin.rs | router | function_signature | null | null | null | 73 | connector_create | null | null | null | null | null | null |
// Struct: ThreeDsSettings
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDsSettings | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | ThreeDsSettings | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_forex_exchange_rates
// File: crates/router/src/core/currency.rs
// Module: router
pub fn get_forex_exchange_rates(
state: SessionState,
) -> CustomResult<ExchangeRates, AnalyticsError> | crates/router/src/core/currency.rs | router | function_signature | null | null | null | 50 | get_forex_exchange_rates | null | null | null | null | null | null |
// Function: get_token
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
pub fn get_token(transaction_data: Option<&Self>) -> Option<String> | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 50 | get_token | null | null | null | null | null | null |
// Function: perform_volume_split
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn perform_volume_split(
mut splits: Vec<routing_types::ConnectorVolumeSplit>,
) -> RoutingResult<Vec<routing_types::RoutableConnectorChoice>> | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 59 | perform_volume_split | null | null | null | null | null | null |
// Implementation: impl ExternalAuthentication for for Netcetera
// File: crates/hyperswitch_connectors/src/connectors/netcetera.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ExternalAuthentication for for Netcetera | crates/hyperswitch_connectors/src/connectors/netcetera.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Netcetera | ExternalAuthentication for | 0 | 0 | null | null |
// Implementation: impl api::PaymentToken for for Forte
// File: crates/hyperswitch_connectors/src/connectors/forte.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Forte | crates/hyperswitch_connectors/src/connectors/forte.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Forte | api::PaymentToken for | 0 | 0 | null | null |
// Function: insert
// File: crates/diesel_models/src/query/merchant_account.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<MerchantAccount> | crates/diesel_models/src/query/merchant_account.rs | diesel_models | function_signature | null | null | null | 45 | insert | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Boku
// File: crates/hyperswitch_connectors/src/connectors/boku.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Boku | crates/hyperswitch_connectors/src/connectors/boku.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Boku | ConnectorValidation for | 0 | 0 | null | null |
// Struct: RecipientBankAccountRequest
// File: crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RecipientBankAccountRequest | crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs | hyperswitch_connectors | struct_definition | RecipientBankAccountRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/analytics/src/lambda_utils.rs
// Module: analytics
// Public functions: 1
use aws_config::{self, meta::region::RegionProviderChain, Region};
use aws_sdk_lambda::{types::InvocationType::Event, Client};
use aws_smithy_types::Blob;
use common_utils::errors::CustomResult;
use error_stack::{report, ResultEx... | crates/analytics/src/lambda_utils.rs | analytics | full_file | null | null | null | 291 | null | null | null | null | null | null | null |
// Function: refunds_update
// File: crates/openapi/src/routes/refunds.rs
// Module: openapi
pub fn refunds_update() | crates/openapi/src/routes/refunds.rs | openapi | function_signature | null | null | null | 29 | refunds_update | null | null | null | null | null | null |
// Struct: User
// File: crates/router_derive/src/lib.rs
// Module: router_derive
// Implementations: 0
pub struct User | crates/router_derive/src/lib.rs | router_derive | struct_definition | User | 0 | [] | 33 | null | null | null | null | null | null | null |
// Implementation: impl Globepay
// File: crates/hyperswitch_connectors/src/connectors/globepay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Globepay | crates/hyperswitch_connectors/src/connectors/globepay.rs | hyperswitch_connectors | impl_block | null | null | null | 49 | null | Globepay | null | 1 | 1 | null | null |
// Function: get_payout_attempt_id
// File: crates/router/src/utils.rs
// Module: router
pub fn get_payout_attempt_id(payout_id: &str, attempt_count: i16) -> String | crates/router/src/utils.rs | router | function_signature | null | null | null | 46 | get_payout_attempt_id | null | null | null | null | null | null |
// Implementation: impl MerchantConnectorListResponse
// File: crates/api_models/src/admin.rs
// Module: api_models
// Methods: 2 total (2 public)
impl MerchantConnectorListResponse | crates/api_models/src/admin.rs | api_models | impl_block | null | null | null | 40 | null | MerchantConnectorListResponse | null | 2 | 2 | null | null |
// Struct: ShippingData
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ShippingData | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | ShippingData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: SyncResponse
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SyncResponse | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | SyncResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl Context
// File: crates/euclid/src/backend/vir_interpreter/types.rs
// Module: euclid
// Methods: 2 total (2 public)
impl Context | crates/euclid/src/backend/vir_interpreter/types.rs | euclid | impl_block | null | null | null | 40 | null | Context | null | 2 | 2 | null | null |
// Struct: CardDetailFromLocker
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct CardDetailFromLocker | crates/api_models/src/payment_methods.rs | api_models | struct_definition | CardDetailFromLocker | 0 | [] | 38 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/merchant_key_store.rs
// Module: diesel_models
// Public structs: 3
use common_utils::{custom_serde, encryption::Encryption};
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use time::PrimitiveDateTime;
use crate::schema::merchant_key_store;
#[derive(
... | crates/diesel_models/src/merchant_key_store.rs | diesel_models | full_file | null | null | null | 333 | null | null | null | null | null | null | null |
// Function: generic_delete
// File: crates/diesel_models/src/query/generics.rs
// Module: diesel_models
pub fn generic_delete<T, P>(conn: &PgPooledConn, predicate: P) -> StorageResult<bool>
where
T: FilterDsl<P> + HasTable<Table = T> + Table + 'static,
Filter<T, P>: IntoUpdateTarget,
DeleteStatement<
... | crates/diesel_models/src/query/generics.rs | diesel_models | function_signature | null | null | null | 137 | generic_delete | null | null | null | null | null | null |
// Struct: RequiredFieldFinal
// File: crates/payment_methods/src/configs/settings.rs
// Module: payment_methods
// Implementations: 0
pub struct RequiredFieldFinal | crates/payment_methods/src/configs/settings.rs | payment_methods | struct_definition | RequiredFieldFinal | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/api_keys.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/api_keys.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.