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 MandateUpdateInternal
// File: crates/diesel_models/src/mandate.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl MandateUpdateInternal | crates/diesel_models/src/mandate.rs | diesel_models | impl_block | null | null | null | 43 | null | MandateUpdateInternal | null | 1 | 1 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs
// Module: hyperswitch_connectors
// Public structs: 10
use api_models::payments::ThreeDsCompletionIndicator;
use cards::CardNumber;
use common_utils::types;
use masking::{Deserialize, Secret, Serialize};
#[derive(Debug, Serialize, Des... | crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs | hyperswitch_connectors | full_file | null | null | null | 1,965 | null | null | null | null | null | null | null |
// Function: save_migration_payment_method
// File: crates/payment_methods/src/core/migration/payment_methods.rs
// Module: payment_methods
pub fn save_migration_payment_method(
req: pm_api::PaymentMethodCreate,
migration_status: &mut migration::RecordMigrationStatusBuilder,
controller: &dyn PaymentMethods... | crates/payment_methods/src/core/migration/payment_methods.rs | payment_methods | function_signature | null | null | null | 86 | save_migration_payment_method | null | null | null | null | null | null |
// Struct: NmiRouterData
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NmiRouterData<T> | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | NmiRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
pub fn new(risk_type: RiskType, risk: Risk) -> Self | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | function_signature | null | null | null | 47 | new | null | null | null | null | null | null |
// Struct: Customers
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 2
pub struct Customers | crates/router/src/routes/app.rs | router | struct_definition | Customers | 2 | [] | 30 | null | null | null | null | null | null | null |
// Struct: FiservemeaPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservemeaPaymentsRequest | crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs | hyperswitch_connectors | struct_definition | FiservemeaPaymentsRequest | 0 | [] | 58 | null | null | null | null | null | null | null |
// Function: accept_invitations_pre_auth
// File: crates/router/src/routes/user_role.rs
// Module: router
pub fn accept_invitations_pre_auth(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<user_role_api::AcceptInvitationsPreAuthRequest>,
) -> HttpResponse | crates/router/src/routes/user_role.rs | router | function_signature | null | null | null | 69 | accept_invitations_pre_auth | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Multisafepay
// File: crates/hyperswitch_connectors/src/connectors/multisafepay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Multisafepay | crates/hyperswitch_connectors/src/connectors/multisafepay.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Multisafepay | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl UserAuthenticationMethodNew
// File: crates/diesel_models/src/query/user_authentication_method.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl UserAuthenticationMethodNew | crates/diesel_models/src/query/user_authentication_method.rs | diesel_models | impl_block | null | null | null | 44 | null | UserAuthenticationMethodNew | null | 1 | 0 | null | null |
// File: crates/router/tests/connectors/gocardless.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 GocardlessTest;
impl ConnectorActions for GocardlessTest {}
impl ut... | crates/router/tests/connectors/gocardless.rs | router | full_file | null | null | null | 2,941 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsPreProcessing for for Nmi
// File: crates/hyperswitch_connectors/src/connectors/nmi.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsPreProcessing for for Nmi | crates/hyperswitch_connectors/src/connectors/nmi.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Nmi | api::PaymentsPreProcessing for | 0 | 0 | null | null |
// Struct: BarclaycardAuthSetupRequest
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardAuthSetupRequest | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardAuthSetupRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: values_mut
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
pub fn values_mut(&mut self) -> slice::IterMut<'_, V> | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | function_signature | null | null | null | 47 | values_mut | null | null | null | null | null | null |
// Struct: AuthenticationAuthenticateResponse
// File: crates/api_models/src/authentication.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct AuthenticationAuthenticateResponse | crates/api_models/src/authentication.rs | api_models | struct_definition | AuthenticationAuthenticateResponse | 1 | [
"ApiEventMetric"
] | 42 | null | null | null | null | null | null | null |
// Struct: CardData
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct CardData | crates/router/src/types/payment_methods.rs | router | struct_definition | CardData | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: ClickhouseConfig
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Implementations: 1
// Traits: Default
pub struct ClickhouseConfig | crates/analytics/src/clickhouse.rs | analytics | struct_definition | ClickhouseConfig | 1 | [
"Default"
] | 41 | null | null | null | null | null | null | null |
// Struct: Context
// File: crates/hyperswitch_domain_models/src/merchant_context.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Context | crates/hyperswitch_domain_models/src/merchant_context.rs | hyperswitch_domain_models | struct_definition | Context | 0 | [] | 39 | null | null | null | null | null | null | null |
// Function: supports_vendor_disburse_account_create_for_payout
// File: crates/common_enums/src/connector_enums.rs
// Module: common_enums
pub fn supports_vendor_disburse_account_create_for_payout(self) -> bool | crates/common_enums/src/connector_enums.rs | common_enums | function_signature | null | null | null | 49 | supports_vendor_disburse_account_create_for_payout | null | null | null | null | null | null |
// Struct: ApiEventMetricsBucketIdentifier
// File: crates/api_models/src/analytics/api_event.rs
// Module: api_models
// Implementations: 3
// Traits: Hash, PartialEq
pub struct ApiEventMetricsBucketIdentifier | crates/api_models/src/analytics/api_event.rs | api_models | struct_definition | ApiEventMetricsBucketIdentifier | 3 | [
"Hash",
"PartialEq"
] | 49 | null | null | null | null | null | null | null |
// Struct: ItaubankErrorBody
// File: crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ItaubankErrorBody | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs | hyperswitch_connectors | struct_definition | ItaubankErrorBody | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: PaymentMethod
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentMethod | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | struct_definition | PaymentMethod | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: TransactionResponse
// File: crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TransactionResponse | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | hyperswitch_connectors | struct_definition | TransactionResponse | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for CtpMastercard
// File: crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for CtpMastercard | crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | CtpMastercard | api::RefundExecute for | 0 | 0 | null | null |
// Struct: GenericTokenData
// File: crates/router/src/types/storage/payment_method.rs
// Module: router
// Implementations: 0
pub struct GenericTokenData | crates/router/src/types/storage/payment_method.rs | router | struct_definition | GenericTokenData | 0 | [] | 36 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/tesouro.rs
// Module: router
use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData};
use masking::Secret;
use router::types::{self, api, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
s... | crates/router/tests/connectors/tesouro.rs | router | full_file | null | null | null | 2,932 | null | null | null | null | null | null | null |
// Struct: Authentication
// File: crates/hyperswitch_domain_models/src/router_flow_types/authentication.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Authentication | crates/hyperswitch_domain_models/src/router_flow_types/authentication.rs | hyperswitch_domain_models | struct_definition | Authentication | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl UserKeyStoreInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 3 total (0 public)
impl UserKeyStoreInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 49 | null | KafkaStore | UserKeyStoreInterface for | 3 | 0 | null | null |
web::resource("/{key_id}")
.route(web::get().to(api_keys::api_key_retrieve))
.route(web::put().to(api_keys::api_key_update))
.route(web::delete().to(api_keys::api_key_revoke)),
)
}
}
#[cfg(all(feature = "olap", feature = "v1"))... | crates/router/src/routes/app.rs#chunk2 | router | chunk | null | null | null | 7,968 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCustomerMap
// File: crates/common_types/src/customers.rs
// Module: common_types
// Methods: 1 total (1 public)
impl ConnectorCustomerMap | crates/common_types/src/customers.rs | common_types | impl_block | null | null | null | 39 | null | ConnectorCustomerMap | null | 1 | 1 | null | null |
// Function: to_currency_base_unit
// File: crates/common_enums/src/enums.rs
// Module: common_enums
// Documentation: Convert the amount to its base denomination based on Currency and return String
pub fn to_currency_base_unit(self, amount: i64) -> Result<String, TryFromIntError> | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 67 | to_currency_base_unit | null | null | null | null | null | null |
// Struct: PaymentUpdateMetadata
// File: crates/router/src/core/payments/operations/payment_update_metadata.rs
// Module: router
// Implementations: 0
pub struct PaymentUpdateMetadata | crates/router/src/core/payments/operations/payment_update_metadata.rs | router | struct_definition | PaymentUpdateMetadata | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Powertranz
// File: crates/hyperswitch_connectors/src/connectors/powertranz.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Powertranz | crates/hyperswitch_connectors/src/connectors/powertranz.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Powertranz | webhooks::IncomingWebhook for | 3 | 0 | null | null |
} else {
None
}
.map(|data| {
serde_json::to_value(types::AdditionalMerchantData::OpenBankingRecipientData(
data,
))
})
.transpose()
.change_context(errors::ApiErrorResponse::InternalServerError)
.attach_printabl... | crates/router/src/core/admin.rs#chunk2 | router | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Struct: GocardlessRouterData
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GocardlessRouterData<T> | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | GocardlessRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Authorizedotnet
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Authorizedotnet | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Authorizedotnet | api::RefundExecute for | 0 | 0 | null | null |
// Function: find_processes_to_clean
// File: crates/diesel_models/src/query/process_tracker.rs
// Module: diesel_models
pub fn find_processes_to_clean(
conn: &PgPooledConn,
time_lower_limit: PrimitiveDateTime,
time_upper_limit: PrimitiveDateTime,
runner: &str,
limit: usize,
... | crates/diesel_models/src/query/process_tracker.rs | diesel_models | function_signature | null | null | null | 78 | find_processes_to_clean | null | null | null | null | null | null |
// Struct: CybersourceRedirectionAuthResponse
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceRedirectionAuthResponse | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceRedirectionAuthResponse | 0 | [] | 57 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Paybox
// File: crates/hyperswitch_connectors/src/connectors/paybox.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Paybox | crates/hyperswitch_connectors/src/connectors/paybox.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Paybox | api::MandateSetup for | 0 | 0 | null | null |
// File: crates/router/src/services/authorization/permissions.rs
// Module: router
// Public functions: 2
use common_enums::{EntityType, PermissionScope, Resource};
use router_derive::generate_permissions;
generate_permissions! {
permissions: [
Payment: {
scopes: [Read, Write],
ent... | crates/router/src/services/authorization/permissions.rs | router | full_file | null | null | null | 1,182 | null | null | null | null | null | null | null |
// Function: is_in_terminal_state
// File: crates/common_enums/src/enums.rs
// Module: common_enums
// Documentation: Indicates whether the payment intent is in terminal state or not
pub fn is_in_terminal_state(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 52 | is_in_terminal_state | null | null | null | null | null | null |
// Struct: TemporaryVaultCvc
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
// Implementations: 0
pub struct TemporaryVaultCvc | crates/router/src/core/payment_methods/vault.rs | router | struct_definition | TemporaryVaultCvc | 0 | [] | 39 | null | null | null | null | null | null | null |
// File: crates/router/src/services/api/generic_link_response.rs
// Module: router
// Public functions: 6
use common_utils::errors::CustomResult;
use error_stack::ResultExt;
use hyperswitch_domain_models::api::{
GenericExpiredLinkData, GenericLinkFormData, GenericLinkStatusData, GenericLinksData,
};
use tera::{Con... | crates/router/src/services/api/generic_link_response.rs | router | full_file | null | null | null | 2,491 | null | null | null | null | null | null | null |
// Function: payments_create
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_create(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsRequest>,
) -> impl Responder | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 66 | payments_create | null | null | null | null | null | null |
// Struct: ApplePayCertificatesMigration
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct ApplePayCertificatesMigration | crates/router/src/routes/app.rs | router | struct_definition | ApplePayCertificatesMigration | 1 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl behaviour::Conversion for for PaymentAddress
// File: crates/router/src/types/domain/address.rs
// Module: router
// Methods: 3 total (0 public)
impl behaviour::Conversion for for PaymentAddress | crates/router/src/types/domain/address.rs | router | impl_block | null | null | null | 46 | null | PaymentAddress | behaviour::Conversion for | 3 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Getnet
// File: crates/hyperswitch_connectors/src/connectors/getnet.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Getnet | crates/hyperswitch_connectors/src/connectors/getnet.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Getnet | ConnectorCommon for | 6 | 0 | null | null |
// Struct: UpdateSuccessRateWindowEventRequest
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct UpdateSuccessRateWindowEventRequest | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | UpdateSuccessRateWindowEventRequest | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: list_users_in_lineage
// File: crates/router/src/routes/user_role.rs
// Module: router
pub fn list_users_in_lineage(
state: web::Data<AppState>,
req: HttpRequest,
query: web::Query<user_role_api::ListUsersInEntityRequest>,
) -> HttpResponse | crates/router/src/routes/user_role.rs | router | function_signature | null | null | null | 67 | list_users_in_lineage | null | null | null | null | null | null |
// Function: new
// File: crates/api_models/src/analytics/active_payments.rs
// Module: api_models
pub fn new(time_bucket: Option<String>) -> Self | crates/api_models/src/analytics/active_payments.rs | api_models | function_signature | null | null | null | 36 | new | null | null | null | null | null | null |
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
// Public functions: 10
// Public structs: 3
//! Data types and type conversions
//! from `fred`'s internal data-types to custom data-types
use common_utils::errors::CustomResult;
use fred::types::RedisValue as FredRedisValue;
use crate::{errors... | crates/redis_interface/src/types.rs | redis_interface | full_file | null | null | null | 2,305 | null | null | null | null | null | null | null |
// Struct: AuthorizationIsoFields
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizationIsoFields | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | AuthorizationIsoFields | 0 | [] | 48 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Struct: HelcimVoidRequest
// File: crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HelcimVoidRequest | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs | hyperswitch_connectors | struct_definition | HelcimVoidRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: get_skrill_account_id
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
pub fn get_skrill_account_id(
&self,
currency: Currency,
) -> Result<Secret<String>, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 70 | get_skrill_account_id | null | null | null | null | null | null |
// Implementation: impl EmailData for for ProFeatureRequest
// File: crates/router/src/services/email/types.rs
// Module: router
// Methods: 1 total (0 public)
impl EmailData for for ProFeatureRequest | crates/router/src/services/email/types.rs | router | impl_block | null | null | null | 46 | null | ProFeatureRequest | EmailData for | 1 | 0 | null | null |
// Function: retry_refund_sync_task
// File: crates/router/src/core/refunds.rs
// Module: router
// Documentation: Schedule the task for refund retry Returns bool which indicates whether this was the last refund retry or not
pub fn retry_refund_sync_task(
db: &dyn db::StorageInterface,
connector: String,
... | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 105 | retry_refund_sync_task | null | null | null | null | null | null |
// Struct: SearchData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SearchData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | SearchData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: RetrieveCardResp
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
// Implementations: 0
pub struct RetrieveCardResp | crates/router/src/core/payment_methods/transformers.rs | router | struct_definition | RetrieveCardResp | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: DecisionManagerRecord
// File: crates/api_models/src/conditional_configs.rs
// Module: api_models
// Implementations: 1
// Traits: events::ApiEventMetric
pub struct DecisionManagerRecord | crates/api_models/src/conditional_configs.rs | api_models | struct_definition | DecisionManagerRecord | 1 | [
"events::ApiEventMetric"
] | 46 | null | null | null | null | null | null | null |
// File: crates/router/src/core/fraud_check/operation/fraud_check_pre.rs
// Module: router
// Public structs: 1
use async_trait::async_trait;
use common_enums::FrmSuggestion;
use common_utils::ext_traits::Encode;
use diesel_models::enums::FraudCheckLastStep;
use router_env::{instrument, tracing};
use uuid::Uuid;
use ... | crates/router/src/core/fraud_check/operation/fraud_check_pre.rs | router | full_file | null | null | null | 2,944 | null | null | null | null | null | null | null |
// Function: set_three_d_s_comp_ind
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
pub fn set_three_d_s_comp_ind(mut self, three_d_s_comp_ind: ThreeDSCompInd) -> Self | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 62 | set_three_d_s_comp_ind | null | null | null | null | null | null |
// Struct: TrustpayWebhookResponse
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpayWebhookResponse | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | TrustpayWebhookResponse | 0 | [] | 52 | 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 |
// File: crates/router/src/core/webhooks/incoming_v2.rs
// Module: router
// Public functions: 1
use std::{marker::PhantomData, str::FromStr, time::Instant};
use actix_web::FromRequest;
use api_models::webhooks::{self, WebhookResponseTracker};
use common_utils::{
errors::ReportSwitchExt, events::ApiEventsType, ty... | crates/router/src/core/webhooks/incoming_v2.rs | router | full_file | null | null | null | 5,878 | null | null | null | null | null | null | null |
// Function: validate
// File: crates/router/src/configs/validations.rs
// Module: router
pub fn validate(&self) -> Result<(), ApplicationError> | crates/router/src/configs/validations.rs | router | function_signature | null | null | null | 35 | validate | null | null | null | null | null | null |
// Struct: ProphetpayRefundResponse
// File: crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProphetpayRefundResponse | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs | hyperswitch_connectors | struct_definition | ProphetpayRefundResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 33
use common_enums::{enums, AttemptStatus, BankNames};
use common_utils::{
errors::ParsingError,
pii::{Email, IpAddress},
request::Method,
type... | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Struct: PayoutData
// File: crates/router/src/core/payouts.rs
// Module: router
// Implementations: 0
pub struct PayoutData | crates/router/src/core/payouts.rs | router | struct_definition | PayoutData | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl Parse for for TryGetEnumMeta
// File: crates/router_derive/src/macros/try_get_enum.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl Parse for for TryGetEnumMeta | crates/router_derive/src/macros/try_get_enum.rs | router_derive | impl_block | null | null | null | 53 | null | TryGetEnumMeta | Parse for | 1 | 0 | null | null |
// Implementation: impl api::PaymentToken for for Mpgs
// File: crates/hyperswitch_connectors/src/connectors/mpgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Mpgs | crates/hyperswitch_connectors/src/connectors/mpgs.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Mpgs | api::PaymentToken for | 0 | 0 | null | null |
// Struct: PaymentRequestBankRedirect
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentRequestBankRedirect | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | PaymentRequestBankRedirect | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl DatabaseStore for for Store
// File: crates/storage_impl/src/database/store.rs
// Module: storage_impl
// Methods: 5 total (0 public)
impl DatabaseStore for for Store | crates/storage_impl/src/database/store.rs | storage_impl | impl_block | null | null | null | 43 | null | Store | DatabaseStore for | 5 | 0 | null | null |
// Implementation: impl api::RefundExecute for for Klarna
// File: crates/hyperswitch_connectors/src/connectors/klarna.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Klarna | crates/hyperswitch_connectors/src/connectors/klarna.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Klarna | api::RefundExecute for | 0 | 0 | null | null |
// Struct: PeachpaymentsPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PeachpaymentsPaymentsRequest | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | struct_definition | PeachpaymentsPaymentsRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: ClientSecretTypeNew
// File: crates/diesel_models/src/ephemeral_key.rs
// Module: diesel_models
// Implementations: 0
pub struct ClientSecretTypeNew | crates/diesel_models/src/ephemeral_key.rs | diesel_models | struct_definition | ClientSecretTypeNew | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: MerchantConnectorAccountFeatureMetadata
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
// Documentation: Feature metadata for merchant connector account
pub struct MerchantConnectorAccountFeatureMetadata | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantConnectorAccountFeatureMetadata | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: ErrorResponse
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
// Implementations: 2
// Traits: Default
pub struct ErrorResponse | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | struct_definition | ErrorResponse | 2 | [
"Default"
] | 43 | null | null | null | null | null | null | null |
// Function: validate_payout_list_request
// File: crates/router/src/core/payouts/validator.rs
// Module: router
pub fn validate_payout_list_request(
req: &payouts::PayoutListConstraints,
) -> CustomResult<(), errors::ApiErrorResponse> | crates/router/src/core/payouts/validator.rs | router | function_signature | null | null | null | 59 | validate_payout_list_request | null | null | null | null | null | null |
// Implementation: impl Parse for for Derives
// File: crates/router_derive/src/macros/operation.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl Parse for for Derives | crates/router_derive/src/macros/operation.rs | router_derive | impl_block | null | null | null | 47 | null | Derives | Parse for | 1 | 0 | null | null |
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
// Public functions: 10
// Public structs: 15
use std::collections::HashMap;
use common_enums::MerchantStorageScheme;
use common_utils::{
encryption::Encryption,
errors::{CustomResult, ParsingError},
pii,
};
use diesel::{AsChange... | crates/diesel_models/src/payment_method.rs#chunk0 | diesel_models | chunk | null | null | null | 8,182 | null | null | null | null | null | null | null |
// File: crates/router_env/src/logger/formatter.rs
// Module: router_env
// Public functions: 3
// Public structs: 1
//! Formatting [layer](https://docs.rs/tracing-subscriber/0.3.15/tracing_subscriber/layer/trait.Layer.html) for Router.
use std::{
collections::{HashMap, HashSet},
fmt,
io::Write,
sync:... | crates/router_env/src/logger/formatter.rs | router_env | full_file | null | null | null | 3,401 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Affirm
// File: crates/hyperswitch_connectors/src/connectors/affirm.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Affirm | crates/hyperswitch_connectors/src/connectors/affirm.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Affirm | ConnectorCommon for | 6 | 0 | null | null |
// Struct: MandateRevokedResponse
// File: crates/api_models/src/mandates.rs
// Module: api_models
// Implementations: 0
pub struct MandateRevokedResponse | crates/api_models/src/mandates.rs | api_models | struct_definition | MandateRevokedResponse | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: PaymentMethodAuth
// File: crates/payment_methods/src/configs/settings.rs
// Module: payment_methods
// Implementations: 1
// Traits: SecretsHandler
pub struct PaymentMethodAuth | crates/payment_methods/src/configs/settings.rs | payment_methods | struct_definition | PaymentMethodAuth | 1 | [
"SecretsHandler"
] | 43 | null | null | null | null | null | null | null |
// Struct: GlobepayPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobepayPaymentsRequest | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs | hyperswitch_connectors | struct_definition | GlobepayPaymentsRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: ApplicationInformation
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplicationInformation | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | ApplicationInformation | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: BamboraapacMeta
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BamboraapacMeta | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | BamboraapacMeta | 0 | [] | 56 | null | null | null | null | null | null | null |
// Struct: JpmorganPSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JpmorganPSyncResponse | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | JpmorganPSyncResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: generate_newman_command_for_users
// File: crates/test_utils/src/newman_runner.rs
// Module: test_utils
pub fn generate_newman_command_for_users() -> Result<ReturnArgs> | crates/test_utils/src/newman_runner.rs | test_utils | function_signature | null | null | null | 43 | generate_newman_command_for_users | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 3
// Public structs: 55
use common_enums::enums;
use common_utils::{
errors::ParsingError,
pii::{Email, IpAddress},
request::Method,
types::{MinorUnit, StringMajorUnit}... | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,188 | null | null | null | null | null | null | null |
// Struct: RefundRequest
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundRequest | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | RefundRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Trait: DynamicRoutingAlgoAccessor
// File: crates/api_models/src/routing.rs
// Module: api_models
pub trait DynamicRoutingAlgoAccessor | crates/api_models/src/routing.rs | api_models | trait_definition | null | null | null | 33 | null | null | DynamicRoutingAlgoAccessor | null | null | null | null |
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
// Public functions: 6
// Public structs: 6
use common_utils::{id_type, pii};
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
#[cfg(feature = "v1")]
use crate::schema::organization;
#[cfg(feature = "v2")]
use crate:... | crates/diesel_models/src/organization.rs | diesel_models | full_file | null | null | null | 2,143 | null | null | null | null | null | null | null |
// Struct: SplitRefundInput
// File: crates/router/src/core/utils/refunds_transformers.rs
// Module: router
// Implementations: 0
pub struct SplitRefundInput | crates/router/src/core/utils/refunds_transformers.rs | router | struct_definition | SplitRefundInput | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: BuyerDetails
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BuyerDetails | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | BuyerDetails | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: ProducerSettings
// File: crates/scheduler/src/settings.rs
// Module: scheduler
// Implementations: 2
// Traits: Default
pub struct ProducerSettings | crates/scheduler/src/settings.rs | scheduler | struct_definition | ProducerSettings | 2 | [
"Default"
] | 37 | null | null | null | null | null | null | null |
// Function: setup_intents_create
// File: crates/router/src/compatibility/stripe/setup_intents.rs
// Module: router
pub fn setup_intents_create(
state: web::Data<routes::AppState>,
qs_config: web::Data<serde_qs::Config>,
req: HttpRequest,
form_payload: web::Bytes,
) -> HttpResponse | crates/router/src/compatibility/stripe/setup_intents.rs | router | function_signature | null | null | null | 76 | setup_intents_create | null | null | null | null | null | null |
// Implementation: impl PaymentData
// File: crates/router/src/core/payments.rs
// Module: router
// Methods: 2 total (0 public)
impl PaymentData | crates/router/src/core/payments.rs | router | impl_block | null | null | null | 36 | null | PaymentData | null | 2 | 0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.