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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Module Structure
// File: crates/router/src/routes/app.rs
// Module: router
// Public exports:
pub use crate::analytics::opensearch::OpenSearchClient;
pub use crate::{
configs::settings,
db::{
AccountsStorageInterface, CommonStorageInterface, GlobalStorageInterface, StorageImpl,
StorageInter... | crates/router/src/routes/app.rs | router | module_structure | null | null | null | 88 | null | null | null | null | null | 0 | 2 |
// Struct: RSyncResponseData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RSyncResponseData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | RSyncResponseData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Struct: RefundReasonDistributionRow
// File: crates/analytics/src/refunds/accumulator.rs
// Module: analytics
// Implementations: 0
pub struct RefundReasonDistributionRow | crates/analytics/src/refunds/accumulator.rs | analytics | struct_definition | RefundReasonDistributionRow | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: RoutingEventsRequest
// File: crates/api_models/src/analytics/routing_events.rs
// Module: api_models
// Implementations: 0
pub struct RoutingEventsRequest | crates/api_models/src/analytics/routing_events.rs | api_models | struct_definition | RoutingEventsRequest | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl NetworkTokenizationBuilder
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
// Methods: 1 total (1 public)
impl NetworkTokenizationBuilder | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | impl_block | null | null | null | 44 | null | NetworkTokenizationBuilder | null | 1 | 1 | null | null |
// Struct: OrganizationUpdateInternal
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
// Implementations: 0
pub struct OrganizationUpdateInternal | crates/diesel_models/src/organization.rs | diesel_models | struct_definition | OrganizationUpdateInternal | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: delete_sample_data_for_user
// File: crates/router/src/core/user/sample_data.rs
// Module: router
pub fn delete_sample_data_for_user(
state: SessionState,
user_from_token: UserFromToken,
_req: SampleDataRequest,
_req_state: ReqState,
) -> SampleDataApiResponse<()> | crates/router/src/core/user/sample_data.rs | router | function_signature | null | null | null | 71 | delete_sample_data_for_user | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/noon.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/noon.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Struct: PaymentMethodListResponseForSession
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodListResponseForSession | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodListResponseForSession | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: TryGetEnumMeta
// File: crates/router_derive/src/macros/try_get_enum.rs
// Module: router_derive
// Implementations: 2
// Traits: Parse, ToTokens
pub struct TryGetEnumMeta | crates/router_derive/src/macros/try_get_enum.rs | router_derive | struct_definition | TryGetEnumMeta | 2 | [
"Parse",
"ToTokens"
] | 52 | null | null | null | null | null | null | null |
// Struct: PayloadCardsRequestData
// File: crates/hyperswitch_connectors/src/connectors/payload/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayloadCardsRequestData | crates/hyperswitch_connectors/src/connectors/payload/requests.rs | hyperswitch_connectors | struct_definition | PayloadCardsRequestData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: RecurlyRecordBackResponse
// File: crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RecurlyRecordBackResponse | crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs | hyperswitch_connectors | struct_definition | RecurlyRecordBackResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Celero
// File: crates/hyperswitch_connectors/src/connectors/celero.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Celero | crates/hyperswitch_connectors/src/connectors/celero.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Celero | api::MandateSetup for | 0 | 0 | null | null |
// Trait: SupportedPaymentMethodsExt
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
pub trait SupportedPaymentMethodsExt | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | trait_definition | null | null | null | 38 | null | null | SupportedPaymentMethodsExt | null | null | null | null |
// Implementation: impl api::RefundExecute for for Paystack
// File: crates/hyperswitch_connectors/src/connectors/paystack.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Paystack | crates/hyperswitch_connectors/src/connectors/paystack.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Paystack | api::RefundExecute for | 0 | 0 | null | null |
// File: crates/diesel_models/src/ephemeral_key.rs
// Module: diesel_models
// Public functions: 1
// Public structs: 4
#[cfg(feature = "v2")]
use masking::{PeekInterface, Secret};
#[cfg(feature = "v2")]
pub struct ClientSecretTypeNew {
pub id: common_utils::id_type::ClientSecretId,
pub merchant_id: common_ut... | crates/diesel_models/src/ephemeral_key.rs | diesel_models | full_file | null | null | null | 432 | null | null | null | null | null | null | null |
// Function: payments_finish_redirection
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_finish_redirection(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: Option<web::Form<serde_json::Value>>,
path: web::Path<(
common_utils::id_type:... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 100 | payments_finish_redirection | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/core/verification.rs
// Module: router
// Public submodules:
pub mod utils;
| crates/router/src/core/verification.rs | router | module_structure | null | null | null | 29 | null | null | null | null | null | 1 | 0 |
// Function: create_payout_link
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn create_payout_link(
state: &SessionState,
business_profile: &domain::Profile,
customer_id: &id_type::CustomerId,
merchant_id: &id_type::MerchantId,
req: &payouts::PayoutCreateRequest,
payout_id: ... | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 108 | create_payout_link | null | null | null | null | null | null |
// Implementation: impl Node
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (0 public)
impl Node | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 40 | null | Node | null | 1 | 0 | null | null |
// Function: create_new_routing_algorithm
// File: crates/router/src/core/routing.rs
// Module: router
pub fn create_new_routing_algorithm(
request: &routing_types::RoutingConfigRequest,
merchant_id: &common_utils::id_type::MerchantId,
profile_id: common_utils::id_type::ProfileId,
trans... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 82 | create_new_routing_algorithm | null | null | null | null | null | null |
// Struct: Avs
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Avs | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | Avs | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl CustomerNew
// File: crates/diesel_models/src/customers.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl CustomerNew | crates/diesel_models/src/customers.rs | diesel_models | impl_block | null | null | null | 38 | null | CustomerNew | null | 1 | 1 | null | null |
// Function: delete_user_theme
// File: crates/router/src/core/user/theme.rs
// Module: router
pub fn delete_user_theme(
state: SessionState,
user_from_token: UserFromToken,
theme_id: String,
) -> UserResponse<()> | crates/router/src/core/user/theme.rs | router | function_signature | null | null | null | 55 | delete_user_theme | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Thunes
// File: crates/hyperswitch_connectors/src/connectors/thunes.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Thunes | crates/hyperswitch_connectors/src/connectors/thunes.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Thunes | api::Refund for | 0 | 0 | null | null |
// Struct: NordeaOriginalRequest
// File: crates/hyperswitch_connectors/src/connectors/nordea/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NordeaOriginalRequest | crates/hyperswitch_connectors/src/connectors/nordea/responses.rs | hyperswitch_connectors | struct_definition | NordeaOriginalRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: SmithyModel
// File: crates/smithy-core/src/types.rs
// Module: smithy-core
// Implementations: 0
pub struct SmithyModel | crates/smithy-core/src/types.rs | smithy-core | struct_definition | SmithyModel | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Gigadat
// File: crates/hyperswitch_connectors/src/connectors/gigadat.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Gigadat | crates/hyperswitch_connectors/src/connectors/gigadat.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Gigadat | ConnectorCommon for | 6 | 0 | null | null |
// Function: create_connector_request
// File: crates/connector_configs/src/transformer.rs
// Module: connector_configs
pub fn create_connector_request(
request: Self,
api_response: ConnectorApiIntegrationPayload,
) -> ConnectorApiIntegrationPayload | crates/connector_configs/src/transformer.rs | connector_configs | function_signature | null | null | null | 53 | create_connector_request | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/authentication.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/authentication.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl api::PaymentSync for for Sift
// File: crates/hyperswitch_connectors/src/connectors/sift.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Sift | crates/hyperswitch_connectors/src/connectors/sift.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Sift | api::PaymentSync for | 0 | 0 | null | null |
refunds: enums::FeatureStatus::Supported,
supported_capture_methods: supported_capture_methods.clone(),
specific_features: None,
},
);
paysafe_supported_payment_methods.add(
enums::PaymentMethod::Wallet,
enums::PaymentMethodType::Skrill,
Payme... | crates/hyperswitch_connectors/src/connectors/paysafe.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 481 | null | null | null | null | null | null | null |
// Function: business_country_to_dir_value
// File: crates/kgraph_utils/src/transformers.rs
// Module: kgraph_utils
pub fn business_country_to_dir_value(c: api_enums::Country) -> dir::DirValue | crates/kgraph_utils/src/transformers.rs | kgraph_utils | function_signature | null | null | null | 49 | business_country_to_dir_value | null | null | null | null | null | null |
// Struct: PhoneDetails
// File: crates/hyperswitch_domain_models/src/address.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PhoneDetails | crates/hyperswitch_domain_models/src/address.rs | hyperswitch_domain_models | struct_definition | PhoneDetails | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: BluesnapWebhookBody
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapWebhookBody | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapWebhookBody | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: NotAvailableFlows
// File: crates/kgraph_utils/src/types.rs
// Module: kgraph_utils
// Implementations: 0
pub struct NotAvailableFlows | crates/kgraph_utils/src/types.rs | kgraph_utils | struct_definition | NotAvailableFlows | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Fiuu
// File: crates/hyperswitch_connectors/src/connectors/fiuu.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Fiuu | crates/hyperswitch_connectors/src/connectors/fiuu.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Fiuu | ConnectorValidation for | 1 | 0 | null | null |
// Struct: CheckoutOptions
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutOptions | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutOptions | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: WeChatPayInfo
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WeChatPayInfo | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | WeChatPayInfo | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: ParentGroupInfo
// File: crates/api_models/src/user_role/role.rs
// Module: api_models
// Implementations: 0
pub struct ParentGroupInfo | crates/api_models/src/user_role/role.rs | api_models | struct_definition | ParentGroupInfo | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: rust_locker_migration
// File: crates/router/src/core/locker_migration.rs
// Module: router
pub fn rust_locker_migration(
_state: SessionState,
_merchant_id: &id_type::MerchantId,
) -> CustomResult<services::ApplicationResponse<MigrateCardResponse>, errors::ApiErrorResponse> | crates/router/src/core/locker_migration.rs | router | function_signature | null | null | null | 70 | rust_locker_migration | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: MandateToken
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MandateToken | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | MandateToken | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: AuthorizedotnetWebhookPayload
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizedotnetWebhookPayload | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | AuthorizedotnetWebhookPayload | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Datatrans
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Datatrans | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Datatrans | api::Refund for | 0 | 0 | null | null |
// File: crates/router/src/services/email/types.rs
// Module: router
// Public functions: 9
// Public structs: 11
use api_models::user::dashboard_metadata::ProdIntent;
use common_enums::{EntityType, MerchantProductType};
use common_utils::{errors::CustomResult, pii, types::user::EmailThemeConfig};
use error_stack::Res... | crates/router/src/services/email/types.rs | router | full_file | null | null | null | 4,487 | null | null | null | null | null | null | null |
// Struct: PaymentMethodCreate
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 2
pub struct PaymentMethodCreate | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodCreate | 2 | [] | 36 | null | null | null | null | null | null | null |
// File: crates/analytics/src/outgoing_webhook_event/core.rs
// Module: analytics
// Public functions: 1
use api_models::analytics::outgoing_webhook_event::OutgoingWebhookLogsRequest;
use common_utils::errors::ReportSwitchExt;
use error_stack::ResultExt;
use super::events::{get_outgoing_webhook_event, OutgoingWebhook... | crates/analytics/src/outgoing_webhook_event/core.rs | analytics | full_file | null | null | null | 280 | null | null | null | null | null | null | null |
// Implementation: impl PaymentIntentMetricAccumulator for for SmartRetriedAmountAccumulator
// File: crates/analytics/src/payment_intents/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl PaymentIntentMetricAccumulator for for SmartRetriedAmountAccumulator | crates/analytics/src/payment_intents/accumulator.rs | analytics | impl_block | null | null | null | 65 | null | SmartRetriedAmountAccumulator | PaymentIntentMetricAccumulator for | 2 | 0 | null | null |
// Function: create
// File: crates/external_services/src/email/ses.rs
// Module: external_services
// Documentation: Constructs a new AwsSes client
pub fn create(
conf: &EmailSettings,
ses_config: &SESConfig,
proxy_url: Option<impl AsRef<str>>,
) -> Self | crates/external_services/src/email/ses.rs | external_services | function_signature | null | null | null | 70 | create | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Nmi
// File: crates/hyperswitch_connectors/src/connectors/nmi.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Nmi | crates/hyperswitch_connectors/src/connectors/nmi.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Nmi | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: get_psync_revenue_recovery_id
// File: crates/common_utils/src/id_type/global_id/payment.rs
// Module: common_utils
// Documentation: Generate the id for Revenue Recovery Psync PT workflow
pub fn get_psync_revenue_recovery_id(
&self,
task: &str,
runner: enums::ProcessTrackerRunner... | crates/common_utils/src/id_type/global_id/payment.rs | common_utils | function_signature | null | null | null | 78 | get_psync_revenue_recovery_id | null | null | null | null | null | null |
// Struct: CardSource
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardSource | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | CardSource | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/gpayments.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod gpayments_types;
pub mod transformers;
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
use common_utils::{
errors::CustomResult,
ext_tra... | crates/hyperswitch_connectors/src/connectors/gpayments.rs | hyperswitch_connectors | full_file | null | null | null | 4,554 | null | null | null | null | null | null | null |
// Implementation: impl Connectors
// File: crates/hyperswitch_domain_models/src/connector_endpoints.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl Connectors | crates/hyperswitch_domain_models/src/connector_endpoints.rs | hyperswitch_domain_models | impl_block | null | null | null | 45 | null | Connectors | null | 1 | 1 | null | null |
// Struct: GigadatRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GigadatRefundRequest | crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs | hyperswitch_connectors | struct_definition | GigadatRefundRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: get_decision_engine_active_dynamic_routing_algorithm
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn get_decision_engine_active_dynamic_routing_algorithm(
state: &SessionState,
profile_id: &id_type::ProfileId,
dynamic_routing_type: open_router::DecisionEngineDynamic... | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 85 | get_decision_engine_active_dynamic_routing_algorithm | null | null | null | null | null | null |
// Struct: TotpSecret
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct TotpSecret | crates/api_models/src/user.rs | api_models | struct_definition | TotpSecret | 0 | [] | 35 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/cryptopay.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::{
crypto::{self, GenerateDigest, SignMessage},
date_tim... | crates/hyperswitch_connectors/src/connectors/cryptopay.rs | hyperswitch_connectors | full_file | null | null | null | 4,389 | null | null | null | null | null | null | null |
// Function: apply_psd2_validations_during_execute
// File: crates/router/src/core/three_ds_decision_rule/utils.rs
// Module: router
pub fn apply_psd2_validations_during_execute(
decision: ThreeDSDecision,
request: &api_models::three_ds_decision_rule::ThreeDsDecisionRuleExecuteRequest,
) -> ThreeDSDecision | crates/router/src/core/three_ds_decision_rule/utils.rs | router | function_signature | null | null | null | 76 | apply_psd2_validations_during_execute | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 10
use common_enums::{AttemptStatus, Currency, RefundStatus};
use common_utils::{pii, request::Method, types::MinorUnit};
use hyperswitch_domain_models::{
... | crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 3,266 | null | null | null | null | null | null | null |
// Implementation: impl Customers
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Customers | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Customers | null | 1 | 1 | null | null |
// Struct: NovalnetRefundResponse
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetRefundResponse | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetRefundResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 11
use common_enums::enums;
use common_utils::types::FloatMajorUnit;
use error_stack::ResultExt;
use hyperswitch_domain_models::{
payment_method_data::{MobilePaymentData, PaymentM... | crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 2,540 | null | null | null | null | null | null | null |
// Function: extract_webhook_content_from_ucs_response
// File: crates/router/src/core/unified_connector_service.rs
// Module: router
// Documentation: Extract webhook content from UCS response for further processing This provides a helper function to extract specific data from UCS responses
pub fn extract_webhook_co... | crates/router/src/core/unified_connector_service.rs | router | function_signature | null | null | null | 93 | extract_webhook_content_from_ucs_response | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Adyenplatform
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Adyenplatform | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Adyenplatform | api::RefundSync for | 0 | 0 | null | null |
// Struct: MerchantConnectorDeleteResponse
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct MerchantConnectorDeleteResponse | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantConnectorDeleteResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 10
// Public structs: 47
use common_enums::{enums, CaptureMethod, FutureUsage, PaymentChannel};
use common_types::{
payments::{
ApplePayPaymentData, ApplePayPredecryptData, GPa... | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Function: should_perform_elimination_routing
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn should_perform_elimination_routing(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 41 | should_perform_elimination_routing | null | null | null | null | null | null |
// File: crates/common_enums/src/connector_enums.rs
// Module: common_enums
// Public functions: 17
use std::collections::HashSet;
use utoipa::ToSchema;
pub use super::enums::{PaymentMethod, PayoutType};
pub use crate::PaymentMethodType;
#[derive(
Clone,
Copy,
Debug,
Eq,
Hash,
PartialEq,
... | crates/common_enums/src/connector_enums.rs | common_enums | full_file | null | null | null | 7,940 | null | null | null | null | null | null | null |
// Struct: Payouts
// File: crates/diesel_models/src/payouts.rs
// Module: diesel_models
// Implementations: 0
pub struct Payouts | crates/diesel_models/src/payouts.rs | diesel_models | struct_definition | Payouts | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: NordeaPaymentsConfirmRequest
// File: crates/hyperswitch_connectors/src/connectors/nordea/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NordeaPaymentsConfirmRequest | crates/hyperswitch_connectors/src/connectors/nordea/requests.rs | hyperswitch_connectors | struct_definition | NordeaPaymentsConfirmRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: FraudCheckPre
// File: crates/router/src/core/fraud_check/operation/fraud_check_pre.rs
// Module: router
// Implementations: 0
pub struct FraudCheckPre | crates/router/src/core/fraud_check/operation/fraud_check_pre.rs | router | struct_definition | FraudCheckPre | 0 | [] | 42 | null | null | null | null | null | null | null |
// File: crates/storage_impl/src/redis/kv_store.rs
// Module: storage_impl
// Public functions: 2
use std::{fmt::Debug, sync::Arc};
use common_utils::errors::CustomResult;
use diesel_models::enums::MerchantStorageScheme;
use error_stack::report;
use redis_interface::errors::RedisError;
use router_derive::TryGetEnumVa... | crates/storage_impl/src/redis/kv_store.rs | storage_impl | full_file | null | null | null | 2,618 | null | null | null | null | null | null | null |
// Function: payments_cancel_post_capture
// File: crates/openapi/src/routes/payments.rs
// Module: openapi
pub fn payments_cancel_post_capture() | crates/openapi/src/routes/payments.rs | openapi | function_signature | null | null | null | 33 | payments_cancel_post_capture | null | null | null | null | null | null |
// Implementation: impl NetworkTokenizationBuilder
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
// Methods: 1 total (1 public)
impl NetworkTokenizationBuilder | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | impl_block | null | null | null | 45 | null | NetworkTokenizationBuilder | null | 1 | 1 | null | null |
// Implementation: impl api::MandateSetup for for Novalnet
// File: crates/hyperswitch_connectors/src/connectors/novalnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Novalnet | crates/hyperswitch_connectors/src/connectors/novalnet.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Novalnet | api::MandateSetup for | 0 | 0 | null | null |
// Function: fetch_raw_secrets
// File: crates/drainer/src/secrets_transformers.rs
// Module: drainer
// Documentation: # Panics Will panic even if fetching raw secret fails for at least one config value
pub fn fetch_raw_secrets(
conf: Settings<SecuredSecret>,
secret_management_client: &dyn SecretManagementI... | crates/drainer/src/secrets_transformers.rs | drainer | function_signature | null | null | null | 83 | fetch_raw_secrets | null | null | null | null | null | null |
// Function: perform_success_based_routing
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn perform_success_based_routing<F, D>(
state: &SessionState,
routable_connectors: Vec<api_routing::RoutableConnectorChoice>,
profile_id: &common_utils::id_type::ProfileId,
merchant_id: ... | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 189 | perform_success_based_routing | null | null | null | null | null | null |
// Implementation: impl CustomerUpdateInternal
// File: crates/diesel_models/src/customers.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl CustomerUpdateInternal | crates/diesel_models/src/customers.rs | diesel_models | impl_block | null | null | null | 40 | null | CustomerUpdateInternal | null | 1 | 1 | null | null |
// Function: get_error_message
// File: crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs
// Module: hyperswitch_connectors
pub fn get_error_message(response: PaystackErrorResponse) -> String | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 48 | get_error_message | null | null | null | null | null | null |
// Implementation: impl fred::types::FromRedis for for MsetnxReply
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
// Methods: 1 total (0 public)
impl fred::types::FromRedis for for MsetnxReply | crates/redis_interface/src/types.rs | redis_interface | impl_block | null | null | null | 57 | null | MsetnxReply | fred::types::FromRedis for | 1 | 0 | null | null |
// Function: should_call_unified_connector_service
// File: crates/router/src/core/unified_connector_service.rs
// Module: router
// Documentation: Generic version of should_call_unified_connector_service that works with any type implementing OperationSessionGetters trait
pub fn should_call_unified_connector_service<... | crates/router/src/core/unified_connector_service.rs | router | function_signature | null | null | null | 123 | should_call_unified_connector_service | null | null | null | null | null | null |
// Struct: Billing
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Billing | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | Billing | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: ThreeDsMethod
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDsMethod | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | ThreeDsMethod | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: MerchantInitiatedTransaction
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantInitiatedTransaction | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | MerchantInitiatedTransaction | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: Paysafe
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Implementations: 19
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Re... | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | struct_definition | Paysafe | 19 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"ConnectorCommon",
"ConnectorValidat... | 138 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorTransactionIdTrait for for Capture
// File: crates/diesel_models/src/query/capture.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl ConnectorTransactionIdTrait for for Capture | crates/diesel_models/src/query/capture.rs | diesel_models | impl_block | null | null | null | 49 | null | Capture | ConnectorTransactionIdTrait for | 1 | 0 | null | null |
#[serde(rename = "JWT")]
JWT,
}
#[derive(Clone, Debug, Eq, PartialEq, serde::Serialize, ToSchema)]
pub struct PollConfigResponse {
/// Poll Id
pub poll_id: String,
/// Interval of the poll
pub delay_in_secs: i8,
/// Frequency of the poll
pub frequency: i8,
}
#[derive(Clone, Debug, serd... | crates/api_models/src/payments.rs#chunk6 | api_models | chunk | null | null | null | 8,171 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Loonio
// File: crates/hyperswitch_connectors/src/connectors/loonio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Loonio | crates/hyperswitch_connectors/src/connectors/loonio.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Loonio | api::Payment for | 0 | 0 | null | null |
// Function: str_value
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn str_value(input: &str) -> ParseResult<&str, ast::ValueType> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 45 | str_value | null | null | null | null | null | null |
// Struct: PaysafeCardExpiry
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeCardExpiry | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeCardExpiry | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: insert_disputes
// File: crates/diesel_models/src/query/user/sample_data.rs
// Module: diesel_models
pub fn insert_disputes(
conn: &PgPooledConn,
batch: Vec<DisputeNew>,
) -> StorageResult<Vec<Dispute>> | crates/diesel_models/src/query/user/sample_data.rs | diesel_models | function_signature | null | null | null | 62 | insert_disputes | null | null | null | null | null | null |
// Struct: KlarnaSDKSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KlarnaSDKSyncResponse | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | KlarnaSDKSyncResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: CashtocodePaymentsResponseData
// File: crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CashtocodePaymentsResponseData | crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs | hyperswitch_connectors | struct_definition | CashtocodePaymentsResponseData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for UnifiedAuthenticationService
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for UnifiedAuthenticationService | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | UnifiedAuthenticationService | api::PaymentToken for | 0 | 0 | null | null |
// Function: get_ephemeral_key
// File: crates/router/src/core/payments/operations/payment_create.rs
// Module: router
pub fn get_ephemeral_key(
request: &api::PaymentsRequest,
state: &SessionState,
merchant_context: &domain::MerchantContext,
) -> Option<ephemeral_key::EphemeralKey> | crates/router/src/core/payments/operations/payment_create.rs | router | function_signature | null | null | null | 78 | get_ephemeral_key | null | null | null | null | null | null |
// Struct: PaystackEftProvider
// File: crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaystackEftProvider | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs | hyperswitch_connectors | struct_definition | PaystackEftProvider | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Payeezy
// File: crates/hyperswitch_connectors/src/connectors/payeezy.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Payeezy | crates/hyperswitch_connectors/src/connectors/payeezy.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Payeezy | api::Payment for | 0 | 0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.