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: ConnectorWalletDetailsConfig
// File: crates/connector_configs/src/connector.rs
// Module: connector_configs
// Implementations: 0
pub struct ConnectorWalletDetailsConfig | crates/connector_configs/src/connector.rs | connector_configs | struct_definition | ConnectorWalletDetailsConfig | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Payu
// File: crates/hyperswitch_connectors/src/connectors/payu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Payu | crates/hyperswitch_connectors/src/connectors/payu.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Payu | api::Refund for | 0 | 0 | null | null |
// Struct: FrmFilterRow
// File: crates/analytics/src/frm/filters.rs
// Module: analytics
// Implementations: 0
pub struct FrmFilterRow | crates/analytics/src/frm/filters.rs | analytics | struct_definition | FrmFilterRow | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: get_mandate_details_value
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
pub fn get_mandate_details_value(&self) -> CustomResult<serde_json::Value, ParsingError> | crates/diesel_models/src/payment_method.rs | diesel_models | function_signature | null | null | null | 51 | get_mandate_details_value | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for CtpMastercard
// File: crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for CtpMastercard | crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | CtpMastercard | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: GooglePayPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GooglePayPaymentInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | GooglePayPaymentInformation | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: find_by_customer_id_merchant_id_status
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
pub fn find_by_customer_id_merchant_id_status(
conn: &PgPooledConn,
customer_id: &common_utils::id_type::CustomerId,
merchant_id: &common_utils::id_type::Mercha... | crates/diesel_models/src/query/payment_method.rs | diesel_models | function_signature | null | null | null | 105 | find_by_customer_id_merchant_id_status | null | null | null | null | null | null |
// Function: payments_intent_operation_core
// File: crates/router/src/core/payments.rs
// Module: router
pub fn payments_intent_operation_core<F, Req, Op, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: domain::MerchantContext,
profile: domain::Profile,
operation: Op,
req: Req... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 168 | payments_intent_operation_core | null | null | null | null | null | null |
// Struct: PaymentMethodDetails
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentMethodDetails | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | PaymentMethodDetails | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Cryptopay
// File: crates/hyperswitch_connectors/src/connectors/cryptopay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Cryptopay | crates/hyperswitch_connectors/src/connectors/cryptopay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Cryptopay | api::PaymentVoid for | 0 | 0 | null | null |
// Function: refunds_retrieve
// File: crates/openapi/src/routes/refunds.rs
// Module: openapi
pub fn refunds_retrieve() | crates/openapi/src/routes/refunds.rs | openapi | function_signature | null | null | null | 31 | refunds_retrieve | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Elavon
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Elavon | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Elavon | api::PaymentSync for | 0 | 0 | null | null |
// Struct: PaypalItemPayoutWebhooks
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalItemPayoutWebhooks | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalItemPayoutWebhooks | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for HyperswitchVault
// File: crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for HyperswitchVault | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs | hyperswitch_connectors | impl_block | null | null | null | 69 | null | HyperswitchVault | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Struct: TenantConfig
// File: crates/drainer/src/settings.rs
// Module: drainer
// Implementations: 0
pub struct TenantConfig | crates/drainer/src/settings.rs | drainer | struct_definition | TenantConfig | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: UserPassword
// File: crates/router/src/types/domain/user.rs
// Module: router
// Implementations: 1
pub struct UserPassword | crates/router/src/types/domain/user.rs | router | struct_definition | UserPassword | 1 | [] | 33 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
// Public exports:
pub use crate::database::store::Store;
pub use crate::{database::store::DatabaseStore, mock_db::MockDb};
| crates/storage_impl/src/kv_router_store.rs | storage_impl | module_structure | null | null | null | 54 | null | null | null | null | null | 0 | 2 |
// Function: handle_metadata_update
// File: crates/router/src/core/webhooks/network_tokenization_incoming.rs
// Module: router
pub fn handle_metadata_update(
state: &SessionState,
metadata: &pm_types::NetworkTokenRequestorData,
locker_id: String,
payment_method: &domain::PaymentMethod,
merchant_co... | crates/router/src/core/webhooks/network_tokenization_incoming.rs | router | function_signature | null | null | null | 111 | handle_metadata_update | null | null | null | null | null | null |
// Struct: Request
// File: crates/common_utils/src/request.rs
// Module: common_utils
// Implementations: 1
pub struct Request | crates/common_utils/src/request.rs | common_utils | struct_definition | Request | 1 | [] | 31 | null | null | null | null | null | null | null |
// Implementation: impl PaymentVoid for for DummyConnector
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentVoid for for DummyConnector | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | DummyConnector | PaymentVoid for | 0 | 0 | null | null |
// Struct: AuthorizedotnetAuthType
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizedotnetAuthType | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | AuthorizedotnetAuthType | 0 | [] | 53 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/db.rs
// Module: router
// Public submodules:
pub mod address;
pub mod api_keys;
pub mod authentication;
pub mod authorization;
pub mod blocklist;
pub mod blocklist_fingerprint;
pub mod blocklist_lookup;
pub mod business_profile;
pub mod callback_mapper;
pub mod capture;
... | crates/router/src/db.rs | router | module_structure | null | null | null | 178 | null | null | null | null | null | 44 | 2 |
// Struct: ConnectNameAndMCAIdForProfile
// File: crates/router/src/core/routing/helpers.rs
// Module: router
// Implementations: 0
pub struct ConnectNameAndMCAIdForProfile<'a> | crates/router/src/core/routing/helpers.rs | router | struct_definition | ConnectNameAndMCAIdForProfile | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/external_services/src/grpc_client/revenue_recovery/recovery_decider_client.rs
// Module: external_services
// Public functions: 2
// Public structs: 1
use std::fmt::Debug;
use common_utils::errors::CustomResult;
use error_stack::{Report, ResultExt};
use router_env::logger;
use crate::grpc_client::Cli... | crates/external_services/src/grpc_client/revenue_recovery/recovery_decider_client.rs | external_services | full_file | null | null | null | 836 | null | null | null | null | null | null | null |
// Function: get_token_data_for_payment_method
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn get_token_data_for_payment_method(
state: SessionState,
merchant_account: domain::MerchantAccount,
key_store: domain::MerchantKeyStore,
profile: domain::Profile,
request: payme... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 102 | get_token_data_for_payment_method | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 12
use cards::CardNumber;
use common_enums::{enums, Currency};
use common_utils::{pii::Email, types::StringMajorUnit};
use error_stack::ResultExt;
use hyperswitch_domain_models::{
payme... | crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 5,341 | null | null | null | null | null | null | null |
// Struct: PSync
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PSync | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | PSync | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Tokenio
// File: crates/hyperswitch_connectors/src/connectors/tokenio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Tokenio | crates/hyperswitch_connectors/src/connectors/tokenio.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Tokenio | api::RefundSync for | 0 | 0 | null | null |
// Function: start_web_server
// File: crates/drainer/src/lib.rs
// Module: drainer
pub fn start_web_server(
conf: Settings,
stores: HashMap<id_type::TenantId, Arc<Store>>,
) -> Result<Server, errors::DrainerError> | crates/drainer/src/lib.rs | drainer | function_signature | null | null | null | 61 | start_web_server | null | null | null | null | null | null |
// Function: call_surcharge_decision_management_for_session_flow
// File: crates/router/src/core/payments.rs
// Module: router
pub fn call_surcharge_decision_management_for_session_flow(
state: &SessionState,
merchant_context: &domain::MerchantContext,
_business_profile: &domain::Profile,
payment_attem... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 127 | call_surcharge_decision_management_for_session_flow | null | null | null | null | null | null |
// Function: number_value
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn number_value(input: &str) -> ParseResult<&str, ast::ValueType> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 45 | number_value | null | null | null | null | null | null |
// Function: to_card_details_from_locker
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
pub fn to_card_details_from_locker(self) -> payment_methods::CardDetailFromLocker | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 52 | to_card_details_from_locker | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Tesouro
// File: crates/hyperswitch_connectors/src/connectors/tesouro.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Tesouro | crates/hyperswitch_connectors/src/connectors/tesouro.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Tesouro | api::Refund for | 0 | 0 | null | null |
// Struct: PostCaptureVoid
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PostCaptureVoid | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | PostCaptureVoid | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/gsm.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/gsm.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: MerchantId
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct MerchantId | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantId | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: AuthorizedotnetCreateSyncRequest
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizedotnetCreateSyncRequest | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | AuthorizedotnetCreateSyncRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: XenditSplitRequest
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct XenditSplitRequest | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | XenditSplitRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: set_status_code
// File: crates/hyperswitch_interfaces/src/events/routing_api_logs.rs
// Module: hyperswitch_interfaces
// Documentation: set response status code
pub fn set_status_code(&mut self, code: u16) | crates/hyperswitch_interfaces/src/events/routing_api_logs.rs | hyperswitch_interfaces | function_signature | null | null | null | 54 | set_status_code | null | null | null | null | null | null |
// Function: call_unified_connector_service_for_external_proxy
// File: crates/router/src/core/payments.rs
// Module: router
pub fn call_unified_connector_service_for_external_proxy<F, RouterDReq, ApiRequest, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: &domain::MerchantContext,
_co... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 417 | call_unified_connector_service_for_external_proxy | null | null | null | null | null | null |
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
// Public functions: 30
// Public structs: 8
use common_enums::PaymentMethodType;
#[cfg(feature = "v2")]
use common_utils::request;
use common_utils::{
crypto::{DecodeMessage, EncodeMessage, GcmAes256},
ext_traits::{BytesExt, Encode},
... | crates/router/src/core/payment_methods/vault.rs#chunk0 | router | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Implementation: impl Mask for for String
// File: crates/masking/src/maskable.rs
// Module: masking
// Methods: 1 total (0 public)
impl Mask for for String | crates/masking/src/maskable.rs | masking | impl_block | null | null | null | 41 | null | String | Mask for | 1 | 0 | null | null |
// File: crates/router/src/db/organization.rs
// Module: router
use common_utils::{errors::CustomResult, id_type};
use diesel_models::{organization as storage, organization::OrganizationBridge};
use error_stack::report;
use router_env::{instrument, tracing};
use crate::{connection, core::errors, services::Store};
#[... | crates/router/src/db/organization.rs | router | full_file | null | null | null | 1,003 | null | null | null | null | null | null | null |
// Implementation: impl UploadFile for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl UploadFile for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Stripe | UploadFile for | 0 | 0 | null | null |
// Struct: ProcessorConnected
// File: crates/api_models/src/user/dashboard_metadata.rs
// Module: api_models
// Implementations: 0
pub struct ProcessorConnected | crates/api_models/src/user/dashboard_metadata.rs | api_models | struct_definition | ProcessorConnected | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Flexiti
// File: crates/hyperswitch_connectors/src/connectors/flexiti.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Flexiti | crates/hyperswitch_connectors/src/connectors/flexiti.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Flexiti | api::PaymentAuthorize for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/placetopay.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
use common_enums::enums;
use common_utils::{
errors... | crates/hyperswitch_connectors/src/connectors/placetopay.rs | hyperswitch_connectors | full_file | null | null | null | 5,673 | 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 |
// Struct: ClientSecretResponse
// File: crates/api_models/src/ephemeral_key.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct ClientSecretResponse | crates/api_models/src/ephemeral_key.rs | api_models | struct_definition | ClientSecretResponse | 1 | [
"common_utils::events::ApiEventMetric"
] | 51 | null | null | null | null | null | null | null |
// Implementation: impl Deref for for Memoization
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (0 public)
impl Deref for for Memoization | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 50 | null | Memoization | Deref for | 1 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Coinbase
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Coinbase | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Coinbase | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: NexinetsCaptureOrVoidRequest
// File: crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexinetsCaptureOrVoidRequest | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs | hyperswitch_connectors | struct_definition | NexinetsCaptureOrVoidRequest | 0 | [] | 57 | null | null | null | null | null | null | null |
// File: crates/router/src/types/storage/payment_link.rs
// Module: router
use async_bb8_diesel::AsyncRunQueryDsl;
use diesel::{associations::HasTable, ExpressionMethods, QueryDsl};
pub use diesel_models::{
payment_link::{PaymentLink, PaymentLinkNew},
schema::payment_link::dsl,
};
use error_stack::ResultExt;
... | crates/router/src/types/storage/payment_link.rs | router | full_file | null | null | null | 605 | null | null | null | null | null | null | null |
// Function: get_pending_connector_capture_ids
// File: crates/router/src/core/payments/types.rs
// Module: router
pub fn get_pending_connector_capture_ids(&self) -> Vec<String> | crates/router/src/core/payments/types.rs | router | function_signature | null | null | null | 40 | get_pending_connector_capture_ids | null | null | null | null | null | null |
// File: crates/analytics/src/disputes/metrics/sessionized_metrics.rs
// Module: analytics
mod dispute_status_metric;
mod total_amount_disputed;
mod total_dispute_lost_amount;
pub(super) use dispute_status_metric::DisputeStatusMetric;
pub(super) use total_amount_disputed::TotalAmountDisputed;
pub(super) use total_disp... | crates/analytics/src/disputes/metrics/sessionized_metrics.rs | analytics | full_file | null | null | null | 101 | null | null | null | null | null | null | null |
// Struct: ApiEvent
// File: crates/router/src/events/api_logs.rs
// Module: router
// Implementations: 2
// Traits: KafkaMessage
pub struct ApiEvent | crates/router/src/events/api_logs.rs | router | struct_definition | ApiEvent | 2 | [
"KafkaMessage"
] | 39 | null | null | null | null | null | null | null |
// Function: create_internal_user
// File: crates/router/src/core/user.rs
// Module: router
pub fn create_internal_user(
state: SessionState,
request: user_api::CreateInternalUserRequest,
) -> UserResponse<()> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 50 | create_internal_user | null | null | null | null | null | null |
// Struct: TokenResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TokenResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | TokenResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl Capturable for for SetupMandateRequestData
// File: crates/router/src/types.rs
// Module: router
// Methods: 0 total (0 public)
impl Capturable for for SetupMandateRequestData | crates/router/src/types.rs | router | impl_block | null | null | null | 50 | null | SetupMandateRequestData | Capturable for | 0 | 0 | null | null |
// Struct: MpgsRouterData
// File: crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MpgsRouterData<T> | crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs | hyperswitch_connectors | struct_definition | MpgsRouterData | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: KafkaPaymentAttempt
// File: crates/router/src/services/kafka/payment_attempt.rs
// Module: router
// Implementations: 3
// Traits: super::KafkaMessage
pub struct KafkaPaymentAttempt<'a> | crates/router/src/services/kafka/payment_attempt.rs | router | struct_definition | KafkaPaymentAttempt | 3 | [
"super::KafkaMessage"
] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAuthenticationToken for for Nordea
// File: crates/hyperswitch_connectors/src/connectors/nordea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAuthenticationToken for for Nordea | crates/hyperswitch_connectors/src/connectors/nordea.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Nordea | api::ConnectorAuthenticationToken for | 0 | 0 | null | null |
// Implementation: impl EmailData for for BizEmailProd
// File: crates/router/src/services/email/types.rs
// Module: router
// Methods: 1 total (0 public)
impl EmailData for for BizEmailProd | crates/router/src/services/email/types.rs | router | impl_block | null | null | null | 46 | null | BizEmailProd | EmailData for | 1 | 0 | null | null |
// Struct: UserKeyStore
// File: crates/diesel_models/src/user_key_store.rs
// Module: diesel_models
// Implementations: 0
pub struct UserKeyStore | crates/diesel_models/src/user_key_store.rs | diesel_models | struct_definition | UserKeyStore | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: SkrillWallet
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SkrillWallet | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | SkrillWallet | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: get_role
// File: crates/router/src/routes/user_role.rs
// Module: router
pub fn get_role(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
) -> HttpResponse | crates/router/src/routes/user_role.rs | router | function_signature | null | null | null | 52 | get_role | null | null | null | null | null | null |
// Struct: GocardlessPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GocardlessPaymentsRequest | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | GocardlessPaymentsRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: FiservemeaTransactionAmount
// File: crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservemeaTransactionAmount | crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs | hyperswitch_connectors | struct_definition | FiservemeaTransactionAmount | 0 | [] | 58 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/sift.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Request, Re... | crates/hyperswitch_connectors/src/connectors/sift.rs | hyperswitch_connectors | full_file | null | null | null | 4,705 | null | null | null | null | null | null | null |
// Struct: WellsfargoNotAvailableErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WellsfargoNotAvailableErrorResponse | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | WellsfargoNotAvailableErrorResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 21
use api_models::{payouts, webhooks};
use common_enums::enums;
use common_utils::pii;
use error_stack::{report, ResultExt};
use hyperswitch_domain_mo... | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | full_file | null | null | null | 5,633 | null | null | null | null | null | null | null |
// Function: get_optional_email
// File: crates/api_models/src/customers.rs
// Module: api_models
pub fn get_optional_email(&self) -> Option<pii::Email> | crates/api_models/src/customers.rs | api_models | function_signature | null | null | null | 39 | get_optional_email | null | null | null | null | null | null |
// Struct: ClientRiskInformationRules
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ClientRiskInformationRules | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | ClientRiskInformationRules | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl AuthInfo for for AuthenticationData
// File: crates/router/src/services/authentication.rs
// Module: router
// Methods: 1 total (0 public)
impl AuthInfo for for AuthenticationData | crates/router/src/services/authentication.rs | router | impl_block | null | null | null | 43 | null | AuthenticationData | AuthInfo for | 1 | 0 | null | null |
// Struct: ChargebeePaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeePaymentsRequest | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeePaymentsRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: validate_xendit_charge_refund
// File: crates/router/src/core/utils/refunds_validator.rs
// Module: router
pub fn validate_xendit_charge_refund(
xendit_split_payment_response: &common_types::payments::XenditChargeResponseData,
xendit_split_refund_request: &common_types::domain::XenditSplitSubMerch... | crates/router/src/core/utils/refunds_validator.rs | router | function_signature | null | null | null | 90 | validate_xendit_charge_refund | null | null | null | null | null | null |
// Function: get_filters
// File: crates/analytics/src/api_event/core.rs
// Module: analytics
pub fn get_filters(
pool: &AnalyticsProvider,
req: GetApiEventFiltersRequest,
merchant_id: &common_utils::id_type::MerchantId,
) -> AnalyticsResult<ApiEventFiltersResponse> | crates/analytics/src/api_event/core.rs | analytics | function_signature | null | null | null | 68 | get_filters | null | null | null | null | null | null |
// Struct: FiservemeaPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservemeaPaymentsResponse | crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs | hyperswitch_connectors | struct_definition | FiservemeaPaymentsResponse | 0 | [] | 58 | null | null | null | null | null | null | null |
// Struct: PaymentsStoredCredentials
// File: crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentsStoredCredentials | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | hyperswitch_connectors | struct_definition | PaymentsStoredCredentials | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/relay.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<Relay> | crates/diesel_models/src/query/relay.rs | diesel_models | function_signature | null | null | null | 44 | insert | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Tokenex
// File: crates/hyperswitch_connectors/src/connectors/tokenex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Tokenex | crates/hyperswitch_connectors/src/connectors/tokenex.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tokenex | api::PaymentToken for | 0 | 0 | null | null |
// File: crates/api_models/src/admin.rs
// Module: api_models
// Public functions: 40
// Public structs: 67
use std::collections::{HashMap, HashSet};
use common_types::primitive_wrappers;
use common_utils::{
consts,
crypto::Encryptable,
errors::{self, CustomResult},
ext_traits::Encode,
id_type, li... | crates/api_models/src/admin.rs#chunk0 | api_models | chunk | null | null | null | 8,169 | null | null | null | null | null | null | null |
// Function: make_dsl_input
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn make_dsl_input(
payments_dsl_input: &routing::PaymentsDslInput<'_>,
) -> RoutingResult<dsl_inputs::BackendInput> | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 60 | make_dsl_input | null | null | null | null | null | null |
// Struct: RefundSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundSyncResponse | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | struct_definition | RefundSyncResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/integrity.rs
// Module: hyperswitch_interfaces
use common_utils::errors::IntegrityCheckError;
use hyperswitch_domain_models::router_request_types::{
AuthoriseIntegrityObject, CaptureIntegrityObject, PaymentsAuthorizeData, PaymentsCaptureData,
PaymentsSyncData, RefundI... | crates/hyperswitch_interfaces/src/integrity.rs | hyperswitch_interfaces | full_file | null | null | null | 2,228 | null | null | null | null | null | null | null |
// Struct: RevenueRecoveryId
// File: crates/api_models/src/process_tracker/revenue_recovery.rs
// Module: api_models
// Implementations: 0
pub struct RevenueRecoveryId | crates/api_models/src/process_tracker/revenue_recovery.rs | api_models | struct_definition | RevenueRecoveryId | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: SingleUseMandate
// File: crates/diesel_models/src/mandate.rs
// Module: diesel_models
// Implementations: 0
pub struct SingleUseMandate | crates/diesel_models/src/mandate.rs | diesel_models | struct_definition | SingleUseMandate | 0 | [] | 42 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/bitpay.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/bitpay.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// File: crates/analytics/src/frm/filters.rs
// Module: analytics
// Public functions: 1
// Public structs: 1
use api_models::analytics::{
frm::{FrmDimensions, FrmTransactionType},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchExt;
use diesel_models::enums::FraudCheckStatus;
use error_stack:... | crates/analytics/src/frm/filters.rs | analytics | full_file | null | null | null | 470 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/square.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/square.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Implementation: impl ConnectorSpecifications for for Authipay
// File: crates/hyperswitch_connectors/src/connectors/authipay.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Authipay | crates/hyperswitch_connectors/src/connectors/authipay.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Authipay | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: GenericLinkNew
// File: crates/diesel_models/src/generic_link.rs
// Module: diesel_models
// Implementations: 1
// Traits: Default
pub struct GenericLinkNew | crates/diesel_models/src/generic_link.rs | diesel_models | struct_definition | GenericLinkNew | 1 | [
"Default"
] | 43 | null | null | null | null | null | null | null |
// Struct: Item
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Item | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | struct_definition | Item | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: customers_list
// File: crates/router/src/routes/customers.rs
// Module: router
pub fn customers_list(
state: web::Data<AppState>,
req: HttpRequest,
query: web::Query<customers::CustomerListRequest>,
) -> HttpResponse | crates/router/src/routes/customers.rs | router | function_signature | null | null | null | 57 | customers_list | null | null | null | null | null | null |
// Struct: FileMetadataNew
// File: crates/diesel_models/src/file.rs
// Module: diesel_models
// Implementations: 0
pub struct FileMetadataNew | crates/diesel_models/src/file.rs | diesel_models | struct_definition | FileMetadataNew | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: DwollaErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DwollaErrorResponse | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs | hyperswitch_connectors | struct_definition | DwollaErrorResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: find_by_merchant_id_preprocessing_id
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn find_by_merchant_id_preprocessing_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
preprocessing_id: &str,
) -> StorageResult... | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 79 | find_by_merchant_id_preprocessing_id | null | null | null | null | null | null |
// Struct: StripePaymentListConstraints
// File: crates/router/src/compatibility/stripe/setup_intents/types.rs
// Module: router
// Implementations: 0
pub struct StripePaymentListConstraints | crates/router/src/compatibility/stripe/setup_intents/types.rs | router | struct_definition | StripePaymentListConstraints | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl PaymentIntents
// File: crates/router/src/compatibility/stripe/app.rs
// Module: router
// Methods: 1 total (1 public)
impl PaymentIntents | crates/router/src/compatibility/stripe/app.rs | router | impl_block | null | null | null | 41 | null | PaymentIntents | null | 1 | 1 | null | null |
// Function: new
// File: crates/router/src/core/payments.rs
// Module: router
pub fn new() -> Self | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 27 | new | 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.