text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Function: contract_based_routing_update_configs
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn contract_based_routing_update_configs(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<routing_types::DynamicRoutingUpdateConfigQuery>,
json_payload: web::Json<routing_... | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 84 | contract_based_routing_update_configs | null | null | null | null | null | null |
// Implementation: impl api::PayoutFulfill for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutFulfill for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Nuvei | api::PayoutFulfill for | 0 | 0 | null | null |
// Struct: TransientBatchDecryptDataRequest
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
// Implementations: 0
pub struct TransientBatchDecryptDataRequest | crates/common_utils/src/types/keymanager.rs | common_utils | struct_definition | TransientBatchDecryptDataRequest | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: PaymentMethodData
// File: crates/router/src/compatibility/stripe/customers/types.rs
// Module: router
// Implementations: 0
pub struct PaymentMethodData | crates/router/src/compatibility/stripe/customers/types.rs | router | struct_definition | PaymentMethodData | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: CancelPaymentData
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CancelPaymentData | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | CancelPaymentData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_total_charged_amount
// File: crates/router/src/core/payments/types.rs
// Module: router
pub fn get_total_charged_amount(&self) -> common_types::MinorUnit | crates/router/src/core/payments/types.rs | router | function_signature | null | null | null | 42 | get_total_charged_amount | null | null | null | null | null | null |
// Implementation: impl GetLockingInput for for FPaymentsApproveRequest
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 1 total (0 public)
impl GetLockingInput for for FPaymentsApproveRequest | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 54 | null | FPaymentsApproveRequest | GetLockingInput for | 1 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/cashtocode.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::{
errors::CustomResult,
ext_traits::ByteSliceExt,
... | crates/hyperswitch_connectors/src/connectors/cashtocode.rs | hyperswitch_connectors | full_file | null | null | null | 4,058 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Payload
// File: crates/hyperswitch_connectors/src/connectors/payload.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Payload | crates/hyperswitch_connectors/src/connectors/payload.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Payload | ConnectorValidation for | 1 | 0 | null | null |
// Implementation: impl RefundSync for for Plaid
// File: crates/hyperswitch_connectors/src/connectors/plaid.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RefundSync for for Plaid | crates/hyperswitch_connectors/src/connectors/plaid.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Plaid | RefundSync for | 0 | 0 | null | null |
// Struct: ConnectorResponseData
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
// Implementations: 1
pub struct ConnectorResponseData | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | struct_definition | ConnectorResponseData | 1 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Blackhawknetwork
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Blackhawknetwork | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Blackhawknetwork | api::MandateSetup for | 0 | 0 | null | null |
// Struct: WorldpayEventResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WorldpayEventResponse | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | WorldpayEventResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: InputData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct InputData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | InputData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: SignifydAuthType
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/auth.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SignifydAuthType | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/auth.rs | hyperswitch_connectors | struct_definition | SignifydAuthType | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use base64::Engine;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Request, Requ... | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | full_file | null | null | null | 6,545 | null | null | null | null | null | null | null |
// Struct: ClientAuthSetupInfoResponse
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ClientAuthSetupInfoResponse | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | ClientAuthSetupInfoResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Silverflow
// File: crates/hyperswitch_connectors/src/connectors/silverflow.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Silverflow | crates/hyperswitch_connectors/src/connectors/silverflow.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Silverflow | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: InespayAuthType
// File: crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct InespayAuthType | crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs | hyperswitch_connectors | struct_definition | InespayAuthType | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: FacilitapayVoidResponse
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FacilitapayVoidResponse | crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs | hyperswitch_connectors | struct_definition | FacilitapayVoidResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: MerchantConnectorId
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct MerchantConnectorId | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantConnectorId | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Santander
// File: crates/hyperswitch_connectors/src/connectors/santander.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Santander | crates/hyperswitch_connectors/src/connectors/santander.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Santander | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl Encryption
// File: crates/common_utils/src/encryption.rs
// Module: common_utils
// Methods: 3 total (3 public)
impl Encryption | crates/common_utils/src/encryption.rs | common_utils | impl_block | null | null | null | 35 | null | Encryption | null | 3 | 3 | null | null |
// File: crates/router/tests/connectors/billwerk.rs
// Module: router
use masking::Secret;
use router::types::{self, domain, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
struct BillwerkTest;
impl ConnectorActions for BillwerkTest {}
impl utils::C... | crates/router/tests/connectors/billwerk.rs | router | full_file | null | null | null | 2,948 | null | null | null | null | null | null | null |
// Function: reset_password_token_only_flow
// File: crates/router/src/core/user.rs
// Module: router
pub fn reset_password_token_only_flow(
state: SessionState,
user_token: auth::UserFromSinglePurposeToken,
request: user_api::ResetPasswordRequest,
) -> UserResponse<()> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 65 | reset_password_token_only_flow | null | null | null | null | null | null |
// Implementation: impl api::Payouts for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payouts for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Wise | api::Payouts for | 0 | 0 | null | null |
// Struct: AuthenticationErrorInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthenticationErrorInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | AuthenticationErrorInformation | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: NetworkTokenErrorInfo
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct NetworkTokenErrorInfo | crates/router/src/types/payment_methods.rs | router | struct_definition | NetworkTokenErrorInfo | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: PayoutsMandateReferenceRecord
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PayoutsMandateReferenceRecord | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PayoutsMandateReferenceRecord | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: Event
// File: crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Event | crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs | hyperswitch_connectors | struct_definition | Event | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: recovery_incoming_webhook_flow
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
pub fn recovery_incoming_webhook_flow(
state: SessionState,
merchant_context: domain::MerchantContext,
business_profile: domain::Profile,
source_verified: bool,
connector_enum... | crates/router/src/core/webhooks/recovery_incoming.rs | router | function_signature | null | null | null | 178 | recovery_incoming_webhook_flow | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for UnifiedAuthenticationService
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for UnifiedAuthenticationService | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | UnifiedAuthenticationService | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl ProxyRequestWrapper
// File: crates/router/src/core/proxy/utils.rs
// Module: router
// Methods: 4 total (3 public)
impl ProxyRequestWrapper | crates/router/src/core/proxy/utils.rs | router | impl_block | null | null | null | 39 | null | ProxyRequestWrapper | null | 4 | 3 | null | null |
// Struct: NuveiPayoutSuccessResponse
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiPayoutSuccessResponse | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiPayoutSuccessResponse | 0 | [] | 57 | null | null | null | null | null | null | null |
// Implementation: impl Default for for VaultResponseData
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl Default for for VaultResponseData | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | impl_block | null | null | null | 52 | null | VaultResponseData | Default for | 1 | 0 | null | null |
// Function: api_key_update
// File: crates/router/src/routes/api_keys.rs
// Module: router
pub fn api_key_update(
state: web::Data<AppState>,
req: HttpRequest,
key_id: web::Path<common_utils::id_type::ApiKeyId>,
json_payload: web::Json<api_types::UpdateApiKeyRequest>,
) -> impl Responder | crates/router/src/routes/api_keys.rs | router | function_signature | null | null | null | 80 | api_key_update | null | null | null | null | null | null |
// Trait: RelayInterface
// File: crates/router/src/core/relay.rs
// Module: router
pub trait RelayInterface | crates/router/src/core/relay.rs | router | trait_definition | null | null | null | 26 | null | null | RelayInterface | null | null | null | null |
// Implementation: impl GrpcClientSettings
// File: crates/external_services/src/grpc_client.rs
// Module: external_services
// Methods: 1 total (0 public)
impl GrpcClientSettings | crates/external_services/src/grpc_client.rs | external_services | impl_block | null | null | null | 42 | null | GrpcClientSettings | null | 1 | 0 | null | null |
// Struct: CybersourceNotAvailableErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceNotAvailableErrorResponse | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceNotAvailableErrorResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: Shipments
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Shipments | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs | hyperswitch_connectors | struct_definition | Shipments | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: perform_health_check
// File: crates/external_services/src/grpc_client/health_check_client.rs
// Module: external_services
// Documentation: Perform health check for all services involved
pub fn perform_health_check(
&self,
config: &GrpcClientSettings,
) -> HealthCheckResult<HealthChe... | crates/external_services/src/grpc_client/health_check_client.rs | external_services | function_signature | null | null | null | 70 | perform_health_check | null | null | null | null | null | null |
// File: crates/router/src/services/kafka/authentication_event.rs
// Module: router
// Public functions: 1
// Public structs: 1
use diesel_models::{authentication::Authentication, enums as storage_enums};
use time::OffsetDateTime;
#[serde_with::skip_serializing_none]
#[derive(serde::Serialize, Debug)]
pub struct Kafk... | crates/router/src/services/kafka/authentication_event.rs | router | full_file | null | null | null | 1,131 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Digitalvirgo
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Digitalvirgo | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Digitalvirgo | api::Payment for | 0 | 0 | null | null |
// Struct: ItaubankErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ItaubankErrorResponse | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs | hyperswitch_connectors | struct_definition | ItaubankErrorResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: CybersourceConsumerAuthInformationRequest
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceConsumerAuthInformationRequest | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceConsumerAuthInformationRequest | 0 | [] | 57 | null | null | null | null | null | null | null |
// Function: get_id_type_by_key_from_headers
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn get_id_type_by_key_from_headers<T: FromStr>(
key: String,
headers: &HeaderMap,
) -> RouterResult<Option<T>> | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 59 | get_id_type_by_key_from_headers | null | null | null | null | null | null |
// File: crates/common_utils/src/id_type/customer.rs
// Module: common_utils
crate::id_type!(
CustomerId,
"A type for customer_id that can be used for customer ids"
);
crate::impl_id_type_methods!(CustomerId, "customer_id");
// This is to display the `CustomerId` as CustomerId(abcd)
crate::impl_debug_id_type!... | crates/common_utils/src/id_type/customer.rs | common_utils | full_file | null | null | null | 220 | null | null | null | null | null | null | null |
// Struct: GlobalpayWebhookObjectId
// File: crates/hyperswitch_connectors/src/connectors/globalpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobalpayWebhookObjectId | crates/hyperswitch_connectors/src/connectors/globalpay/response.rs | hyperswitch_connectors | struct_definition | GlobalpayWebhookObjectId | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: new
// File: crates/common_types/src/payments.rs
// Module: common_types
// Documentation: Creates a new `MerchantCountryCode` instance from a string.
pub fn new(country_code: String) -> Self | crates/common_types/src/payments.rs | common_types | function_signature | null | null | null | 48 | new | null | null | null | null | null | null |
// Implementation: impl Default for for RevenueRecoveryPaymentProcessTrackerMapping
// File: crates/scheduler/src/consumer/types/process_data.rs
// Module: scheduler
// Methods: 1 total (0 public)
impl Default for for RevenueRecoveryPaymentProcessTrackerMapping | crates/scheduler/src/consumer/types/process_data.rs | scheduler | impl_block | null | null | null | 55 | null | RevenueRecoveryPaymentProcessTrackerMapping | Default for | 1 | 0 | null | null |
// Struct: CardExpirationYear
// File: crates/cards/src/lib.rs
// Module: cards
// Implementations: 2
// Traits: Deref
pub struct CardExpirationYear | crates/cards/src/lib.rs | cards | struct_definition | CardExpirationYear | 2 | [
"Deref"
] | 39 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Hyperwallet
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Hyperwallet | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Hyperwallet | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Function: mock_delete_card_hs
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn mock_delete_card_hs<'a>(
db: &dyn db::StorageInterface,
card_id: &'a str,
) -> errors::CustomResult<payment_methods::DeleteCardResp, errors::VaultError> | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 71 | mock_delete_card_hs | null | null | null | null | null | null |
// Struct: PaymentProcessedAmount
// File: crates/api_models/src/analytics/payments.rs
// Module: api_models
// Implementations: 0
pub struct PaymentProcessedAmount | crates/api_models/src/analytics/payments.rs | api_models | struct_definition | PaymentProcessedAmount | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: BatchEncryptDataResponse
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
// Implementations: 0
pub struct BatchEncryptDataResponse | crates/common_utils/src/types/keymanager.rs | common_utils | struct_definition | BatchEncryptDataResponse | 0 | [] | 39 | null | null | null | null | null | null | null |
// Function: find_by_profile_name_merchant_id
// File: crates/diesel_models/src/query/business_profile.rs
// Module: diesel_models
pub fn find_by_profile_name_merchant_id(
conn: &PgPooledConn,
profile_name: &str,
merchant_id: &common_utils::id_type::MerchantId,
) -> StorageResult<Self> | crates/diesel_models/src/query/business_profile.rs | diesel_models | function_signature | null | null | null | 77 | find_by_profile_name_merchant_id | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Tsys
// File: crates/hyperswitch_connectors/src/connectors/tsys.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Tsys | crates/hyperswitch_connectors/src/connectors/tsys.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tsys | api::Refund for | 0 | 0 | null | null |
// Implementation: impl scheduler::SchedulerAppState for for AppState
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (0 public)
impl scheduler::SchedulerAppState for for AppState | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 45 | null | AppState | scheduler::SchedulerAppState for | 1 | 0 | null | null |
// Function: validate
// File: crates/router_derive/src/macros/misc.rs
// Module: router_derive
// Documentation: Validates that the configuration provided for the `parent_field` does not contain empty or default values
pub fn validate(&self, parent_field: &str) -> Result<(), ApplicationError> | crates/router_derive/src/macros/misc.rs | router_derive | function_signature | null | null | null | 65 | validate | null | null | null | null | null | null |
// Struct: ConnectorResponse
// File: crates/router/src/types.rs
// Module: router
// Implementations: 0
pub struct ConnectorResponse | crates/router/src/types.rs | router | struct_definition | ConnectorResponse | 0 | [] | 31 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 17
use common_enums::enums;
use common_utils::{
ext_traits::OptionExt,
request::Method,
types::{FloatMajorUnit, MinorUnit},
};
use error_stack::ResultExt;
use hyperswitch_domain_... | crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 4,450 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/id_type/invoice.rs
// Module: common_utils
crate::id_type!(
InvoiceId,
" A type for invoice_id that can be used for invoice ids"
);
crate::impl_id_type_methods!(InvoiceId, "invoice_id");
// This is to display the `InvoiceId` as InvoiceId(subs)
crate::impl_debug_id_type!(Invoi... | crates/common_utils/src/id_type/invoice.rs | common_utils | full_file | null | null | null | 200 | null | null | null | null | null | null | null |
// Struct: StripebillingInvoiceData
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripebillingInvoiceData | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | StripebillingInvoiceData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for ConnectorEnum
// File: crates/hyperswitch_interfaces/src/connector_integration_interface.rs
// Module: hyperswitch_interfaces
// Methods: 18 total (0 public)
impl IncomingWebhook for for ConnectorEnum | crates/hyperswitch_interfaces/src/connector_integration_interface.rs | hyperswitch_interfaces | impl_block | null | null | null | 54 | null | ConnectorEnum | IncomingWebhook for | 18 | 0 | null | null |
// Function: insert_pm_collect_link
// File: crates/diesel_models/src/query/generic_link.rs
// Module: diesel_models
pub fn insert_pm_collect_link(
self,
conn: &PgPooledConn,
) -> StorageResult<PaymentMethodCollectLink> | crates/diesel_models/src/query/generic_link.rs | diesel_models | function_signature | null | null | null | 58 | insert_pm_collect_link | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Nomupay | api::MandateSetup for | 0 | 0 | null | null |
// Function: emit
// File: crates/events/src/lib.rs
// Module: events
// Documentation: Emit the event and log any errors.
pub fn emit(self) | crates/events/src/lib.rs | events | function_signature | null | null | null | 35 | emit | null | null | null | null | null | null |
// Struct: PaypalRedirectResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalRedirectResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalRedirectResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Archipel
// File: crates/hyperswitch_connectors/src/connectors/archipel.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl IncomingWebhook for for Archipel | crates/hyperswitch_connectors/src/connectors/archipel.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Archipel | IncomingWebhook for | 3 | 0 | null | null |
// Function: if_statement
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn if_statement(input: &str) -> ParseResult<&str, ast::IfStatement> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 46 | if_statement | null | null | null | null | null | null |
// Struct: SquareRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/square/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SquareRefundRequest | crates/hyperswitch_connectors/src/connectors/square/transformers.rs | hyperswitch_connectors | struct_definition | SquareRefundRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Tesouro
// File: crates/hyperswitch_connectors/src/connectors/tesouro.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Tesouro | crates/hyperswitch_connectors/src/connectors/tesouro.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Tesouro | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: find_by_merchant_id
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
pub fn find_by_merchant_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/payment_method.rs | diesel_models | function_signature | null | null | null | 67 | find_by_merchant_id | null | null | null | null | null | null |
// Function: get_http_status_code_type
// File: crates/router/src/utils.rs
// Module: router
pub fn get_http_status_code_type(
status_code: u16,
) -> CustomResult<String, errors::ApiErrorResponse> | crates/router/src/utils.rs | router | function_signature | null | null | null | 50 | get_http_status_code_type | null | null | null | null | null | null |
// Implementation: impl ProcessTrackerBatch
// File: crates/scheduler/src/consumer/types/batch.rs
// Module: scheduler
// Methods: 2 total (2 public)
impl ProcessTrackerBatch | crates/scheduler/src/consumer/types/batch.rs | scheduler | impl_block | null | null | null | 41 | null | ProcessTrackerBatch | null | 2 | 2 | null | null |
// Struct: SiftRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/sift/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SiftRefundRequest | crates/hyperswitch_connectors/src/connectors/sift/transformers.rs | hyperswitch_connectors | struct_definition | SiftRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/webhooks.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/webhooks.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Function: get_total_payment_method_count_core
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn get_total_payment_method_count_core(
state: &SessionState,
merchant_context: &domain::MerchantContext,
) -> RouterResult<api::TotalPaymentMethodCountResponse> | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 65 | get_total_payment_method_count_core | null | null | null | null | null | null |
// Function: output
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn output<O: EuclidParsable>(input: &str) -> ParseResult<&str, O> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 49 | output | null | null | null | null | null | null |
// Implementation: impl Blocklist
// File: crates/diesel_models/src/query/blocklist.rs
// Module: diesel_models
// Methods: 4 total (0 public)
impl Blocklist | crates/diesel_models/src/query/blocklist.rs | diesel_models | impl_block | null | null | null | 39 | null | Blocklist | null | 4 | 0 | null | null |
// Implementation: impl Mandates
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Mandates | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 35 | null | Mandates | null | 1 | 1 | null | null |
// Function: get_surcharge_details
// File: crates/router/src/core/payments/types.rs
// Module: router
pub fn get_surcharge_details(&self, surcharge_key: SurchargeKey) -> Option<&SurchargeDetails> | crates/router/src/core/payments/types.rs | router | function_signature | null | null | null | 49 | get_surcharge_details | null | null | null | null | null | null |
// File: crates/pm_auth/src/types/api/auth_service.rs
// Module: pm_auth
// Public structs: 4
use crate::types::{
BankAccountCredentialsRequest, BankAccountCredentialsResponse, ExchangeTokenRequest,
ExchangeTokenResponse, LinkTokenRequest, LinkTokenResponse, RecipientCreateRequest,
RecipientCreateResponse,... | crates/pm_auth/src/types/api/auth_service.rs | pm_auth | full_file | null | null | null | 276 | null | null | null | null | null | null | null |
// Struct: CheckoutProcessing
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutProcessing | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutProcessing | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: LastPaymentError
// File: crates/router/src/compatibility/stripe/setup_intents/types.rs
// Module: router
// Implementations: 0
pub struct LastPaymentError | crates/router/src/compatibility/stripe/setup_intents/types.rs | router | struct_definition | LastPaymentError | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: ResultCode
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ResultCode | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | ResultCode | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: BluecodeRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluecodeRefundRequest | crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs | hyperswitch_connectors | struct_definition | BluecodeRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: get_webhook_config_disabled_events_key
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Documentation: get_webhook_config_disabled_events_key
pub fn get_webhook_config_disabled_events_key(&self, connector_id: &str) -> String | crates/common_utils/src/id_type/merchant.rs | common_utils | function_signature | null | null | null | 61 | get_webhook_config_disabled_events_key | null | null | null | null | null | null |
// Struct: PaystackPSyncResponseData
// File: crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaystackPSyncResponseData | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs | hyperswitch_connectors | struct_definition | PaystackPSyncResponseData | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: NmiReferenceBody
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NmiReferenceBody | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | NmiReferenceBody | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: KatapultRouterData
// File: crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KatapultRouterData<T> | crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs | hyperswitch_connectors | struct_definition | KatapultRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: generate_authorization_token
// File: crates/hyperswitch_connectors/src/connectors/worldline.rs
// Module: hyperswitch_connectors
pub fn generate_authorization_token(
&self,
auth: worldline::WorldlineAuthType,
http_method: Method,
content_type: &str,
date: &str,
... | crates/hyperswitch_connectors/src/connectors/worldline.rs | hyperswitch_connectors | function_signature | null | null | null | 92 | generate_authorization_token | null | null | null | null | null | null |
// Function: get_payment_filters
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn get_payment_filters(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
) -> impl Responder | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 54 | get_payment_filters | null | null | null | null | null | null |
// Struct: NmiCompleteRequest
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NmiCompleteRequest | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | NmiCompleteRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl FraudCheckNew
// File: crates/diesel_models/src/query/fraud_check.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl FraudCheckNew | crates/diesel_models/src/query/fraud_check.rs | diesel_models | impl_block | null | null | null | 42 | null | FraudCheckNew | null | 1 | 0 | null | null |
// Struct: PaymentMethodSessionRequest
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodSessionRequest | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodSessionRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Fiserv
// File: crates/hyperswitch_connectors/src/connectors/fiserv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Fiserv | crates/hyperswitch_connectors/src/connectors/fiserv.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Fiserv | api::PaymentCapture for | 0 | 0 | null | null |
// Function: merge_metadata
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn merge_metadata(
&self,
request_metadata: Value,
) -> Result<Value, common_utils::errors::ParsingError> | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 58 | merge_metadata | null | null | null | null | null | null |
// File: crates/external_services/src/managers.rs
// Module: external_services
//! Config and client managers
pub mod encryption_management;
pub mod secrets_management;
| crates/external_services/src/managers.rs | external_services | full_file | null | null | null | 34 | null | null | null | null | null | null | null |
// Function: update_theme
// File: crates/router/src/core/user/theme.rs
// Module: router
pub fn update_theme(
state: SessionState,
theme_id: String,
request: theme_api::UpdateThemeRequest,
) -> UserResponse<theme_api::GetThemeResponse> | crates/router/src/core/user/theme.rs | router | function_signature | null | null | null | 61 | update_theme | 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.