text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Struct: Breadpay
// File: crates/hyperswitch_connectors/src/connectors/breadpay.rs
// Module: hyperswitch_connectors
// Implementations: 19
// Traits: api::Payment, api::PaymentSession, api::PaymentsCompleteAuthorize, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::Payment... | crates/hyperswitch_connectors/src/connectors/breadpay.rs | hyperswitch_connectors | struct_definition | Breadpay | 19 | [
"api::Payment",
"api::PaymentSession",
"api::PaymentsCompleteAuthorize",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"C... | 136 | null | null | null | null | null | null | null |
// Function: authentication_authenticate
// File: crates/router/src/routes/authentication.rs
// Module: router
pub fn authentication_authenticate(
state: web::Data<app::AppState>,
req: HttpRequest,
json_payload: web::Json<AuthenticationAuthenticateRequest>,
path: web::Path<common_utils::id_type::Authen... | crates/router/src/routes/authentication.rs | router | function_signature | null | null | null | 77 | authentication_authenticate | null | null | null | null | null | null |
// Struct: ActionLink
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ActionLink | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | ActionLink | 0 | [] | 43 | null | null | null | null | null | null | null |
.unwrap_or(source.is_debit_routing_enabled),
merchant_business_country: merchant_business_country
.or(source.merchant_business_country),
revenue_recovery_retry_algorithm_type: revenue_recovery_retry_algorithm_type
.or(source.revenue_recovery_retry_... | crates/diesel_models/src/business_profile.rs#chunk1 | diesel_models | chunk | null | null | null | 1,682 | null | null | null | null | null | null | null |
// Function: new
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn new(routable_connector_choice: RoutableConnectorChoice, status: bool) -> Self | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 42 | new | null | null | null | null | null | null |
// Implementation: impl DummyConnector
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl DummyConnector | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | DummyConnector | null | 1 | 1 | null | null |
// File: crates/diesel_models/src/payouts.rs
// Module: diesel_models
// Public functions: 1
// Public structs: 3
use common_utils::{pii, types::MinorUnit};
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use serde::{self, Deserialize, Serialize};
use time::PrimitiveDateTime;
use crate::{e... | crates/diesel_models/src/payouts.rs | diesel_models | full_file | null | null | null | 2,027 | null | null | null | null | null | null | null |
// Function: get_new_organization
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_new_organization(&self) -> NewUserOrganization | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 35 | get_new_organization | null | null | null | null | null | null |
// Struct: UpdateEliminationBucketEventRequest
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct UpdateEliminationBucketEventRequest | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | UpdateEliminationBucketEventRequest | 0 | [] | 44 | null | null | null | null | null | null | null |
// File: crates/analytics/src/auth_events.rs
// Module: analytics
pub mod accumulator;
mod core;
pub mod filters;
pub mod metrics;
pub mod sankey;
pub mod types;
pub use accumulator::{AuthEventMetricAccumulator, AuthEventMetricsAccumulator};
pub use self::core::{get_filters, get_metrics, get_sankey};
| crates/analytics/src/auth_events.rs | analytics | full_file | null | null | null | 74 | null | null | null | null | null | null | null |
// Function: get_webhook_url_from_profile
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
pub fn get_webhook_url_from_profile(&self) -> CustomResult<String, ValidationError> | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | function_signature | null | null | null | 51 | get_webhook_url_from_profile | null | null | null | null | null | null |
// Struct: OnlineMandate
// File: crates/common_types/src/payments.rs
// Module: common_types
// Implementations: 0
pub struct OnlineMandate | crates/common_types/src/payments.rs | common_types | struct_definition | OnlineMandate | 0 | [] | 38 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// Module: hyperswitch_connectors
// Public functions: 3
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use base64::Engine;
use common_enums::enums;
use common_utils::{
consts,
errors::CustomResult,
ext_traits::By... | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,180 | null | null | null | null | null | null | null |
// Struct: RiskFactorsInner
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct RiskFactorsInner | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | RiskFactorsInner | 1 | [] | 45 | null | null | null | null | null | null | null |
// Struct: HyperwalletAuthType
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HyperwalletAuthType | crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs | hyperswitch_connectors | struct_definition | HyperwalletAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/analytics/src/api_event/metrics/api_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
api_event::{ApiEventDimensions, ApiEventFilters, ApiEventMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchExt;
use error_stack... | crates/analytics/src/api_event/metrics/api_count.rs | analytics | full_file | null | null | null | 795 | null | null | null | null | null | null | null |
// Function: generate_pm_vaulting_req_from_update_request
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn generate_pm_vaulting_req_from_update_request(
pm_create: domain::PaymentMethodVaultingData,
pm_update: api::PaymentMethodUpdateData,
) -> domain::PaymentMethodVault... | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 76 | generate_pm_vaulting_req_from_update_request | null | null | null | null | null | null |
authentication_type: None,
payment_method: None,
error_message: None,
payment_method_id: None,
mandate_id: None,
browser_info: None,
payment_token: None,
error_code: None,
conn... | crates/diesel_models/src/payment_attempt.rs#chunk3 | diesel_models | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Implementation: impl ResourceId
// File: crates/common_utils/src/types/authentication.rs
// Module: common_utils
// Methods: 1 total (1 public)
impl ResourceId | crates/common_utils/src/types/authentication.rs | common_utils | impl_block | null | null | null | 37 | null | ResourceId | null | 1 | 1 | null | null |
// Function: create_identity_from_certificate_and_key
// File: crates/external_services/src/http_client/client.rs
// Module: external_services
pub fn create_identity_from_certificate_and_key(
encoded_certificate: masking::Secret<String>,
encoded_certificate_key: masking::Secret<String>,
) -> Result<reqwest::Id... | crates/external_services/src/http_client/client.rs | external_services | function_signature | null | null | null | 74 | create_identity_from_certificate_and_key | null | null | null | null | null | null |
// Function: should_call_connector
// File: crates/router/src/core/payments.rs
// Module: router
pub fn should_call_connector<Op: Debug, F: Clone, D>(operation: &Op, payment_data: &D) -> bool
where
D: OperationSessionGetters<F> + Send + Sync + Clone, | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 71 | should_call_connector | null | null | null | null | null | null |
// Function: delete_evidence_file
// File: crates/router/src/core/disputes/transformers.rs
// Module: router
pub fn delete_evidence_file(
dispute_evidence: DisputeEvidence,
evidence_type: EvidenceType,
) -> DisputeEvidence | crates/router/src/core/disputes/transformers.rs | router | function_signature | null | null | null | 56 | delete_evidence_file | null | null | null | null | null | null |
// Implementation: impl PaymentSync for for Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentSync for for Riskified | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Riskified | PaymentSync for | 0 | 0 | null | null |
// Struct: Trustpayments
// File: crates/hyperswitch_connectors/src/connectors/trustpayments.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentV... | crates/hyperswitch_connectors/src/connectors/trustpayments.rs | hyperswitch_connectors | struct_definition | Trustpayments | 17 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"ConnectorCommon",
"ConnectorValidat... | 126 | null | null | null | null | null | null | null |
// Struct: Authorization
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Authorization | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | Authorization | 0 | [] | 45 | null | null | null | null | null | null | null |
// Trait: RoutingEventLogAnalytics
// File: crates/analytics/src/routing_events/events.rs
// Module: analytics
pub trait RoutingEventLogAnalytics: LoadRow<RoutingEventsResult> | crates/analytics/src/routing_events/events.rs | analytics | trait_definition | null | null | null | 40 | null | null | RoutingEventLogAnalytics | null | null | null | null |
// Implementation: impl api::MandateSetup for for Gigadat
// File: crates/hyperswitch_connectors/src/connectors/gigadat.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Gigadat | crates/hyperswitch_connectors/src/connectors/gigadat.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Gigadat | api::MandateSetup for | 0 | 0 | null | null |
// Function: get_network_token_webhook_details
// File: crates/common_types/src/callback_mapper.rs
// Module: common_types
// Documentation: Retrieves the details of the network token webhook type from callback mapper data.
pub fn get_network_token_webhook_details(
&self,
) -> (id_type::MerchantId, String... | crates/common_types/src/callback_mapper.rs | common_types | function_signature | null | null | null | 74 | get_network_token_webhook_details | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl api::RefundExecute for for Square
// File: crates/hyperswitch_connectors/src/connectors/square.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Square | crates/hyperswitch_connectors/src/connectors/square.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Square | api::RefundExecute for | 0 | 0 | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Trustpay
// File: crates/hyperswitch_connectors/src/connectors/trustpay.rs
// Module: hyperswitch_connectors
// Methods: 7 total (0 public)
impl webhooks::IncomingWebhook for for Trustpay | crates/hyperswitch_connectors/src/connectors/trustpay.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Trustpay | webhooks::IncomingWebhook for | 7 | 0 | null | null |
// Struct: FacilitapayRouterData
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FacilitapayRouterData<T> | crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs | hyperswitch_connectors | struct_definition | FacilitapayRouterData | 0 | [] | 57 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/cards_info.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/cards_info.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Function: organization_create
// File: crates/router/src/routes/admin.rs
// Module: router
pub fn organization_create(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<admin::OrganizationCreateRequest>,
) -> HttpResponse | crates/router/src/routes/admin.rs | router | function_signature | null | null | null | 57 | organization_create | null | null | null | null | null | null |
// Function: find_users_by_user_ids
// File: crates/diesel_models/src/query/user.rs
// Module: diesel_models
pub fn find_users_by_user_ids(
conn: &PgPooledConn,
user_ids: Vec<String>,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/user.rs | diesel_models | function_signature | null | null | null | 59 | find_users_by_user_ids | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
pub fn new() -> Self | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | function_signature | null | null | null | 35 | new | null | null | null | null | null | null |
// Struct: FraudCheckNew
// File: crates/diesel_models/src/fraud_check.rs
// Module: diesel_models
// Implementations: 0
pub struct FraudCheckNew | crates/diesel_models/src/fraud_check.rs | diesel_models | struct_definition | FraudCheckNew | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: gateway_response
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Documentation: Get gateway response (like Fiserv's gateway_response)
pub fn gateway_response(&self) -> AuthipayGatewayResponse | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 61 | gateway_response | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Bankofamerica
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Bankofamerica | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Bankofamerica | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: PlacetopayError
// File: crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlacetopayError | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs | hyperswitch_connectors | struct_definition | PlacetopayError | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nuvei | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Struct: SurchargeDetails
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 1
pub struct SurchargeDetails | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | SurchargeDetails | 1 | [] | 43 | null | null | null | null | null | null | null |
// Struct: ApplePayTokenizedCard
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayTokenizedCard | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayTokenizedCard | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: FullyParsedGooglePayToken
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FullyParsedGooglePayToken | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | FullyParsedGooglePayToken | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Boku
// File: crates/hyperswitch_connectors/src/connectors/boku.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Boku | crates/hyperswitch_connectors/src/connectors/boku.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Boku | api::PaymentSession for | 0 | 0 | null | null |
// File: crates/router/src/locale.rs
// Module: router
use rust_i18n::i18n;
i18n!("locales", fallback = "en");
| crates/router/src/locale.rs | router | full_file | null | null | null | 38 | null | null | null | null | null | null | null |
// Struct: RecoveryPaymentTuple
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
// Implementations: 1
pub struct RecoveryPaymentTuple | crates/router/src/core/webhooks/recovery_incoming.rs | router | struct_definition | RecoveryPaymentTuple | 1 | [] | 39 | null | null | null | null | null | null | null |
// Struct: HyperwalletRouterData
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HyperwalletRouterData<T> | crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs | hyperswitch_connectors | struct_definition | HyperwalletRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: list_by_merchant_id
// File: crates/diesel_models/src/query/customers.rs
// Module: diesel_models
pub fn list_by_merchant_id(
conn: &PgPooledConn,
merchant_id: &id_type::MerchantId,
constraints: CustomerListConstraints,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/customers.rs | diesel_models | function_signature | null | null | null | 71 | list_by_merchant_id | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/types/api/connector_onboarding/paypal.rs
// Module: router
pub fn new(tracking_id: String, return_url: String) -> Self | crates/router/src/types/api/connector_onboarding/paypal.rs | router | function_signature | null | null | null | 42 | new | null | null | null | null | null | null |
// Struct: AliPayHkRedirection
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AliPayHkRedirection | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | AliPayHkRedirection | 0 | [] | 49 | null | null | null | null | null | null | null |
connectors::Payone,
connectors::Paypal,
connectors::Paysafe,
connectors::Paystack,
connectors::Paytm,
connectors::Payu,
connectors::Peachpayments,
connectors::Phonepe,
connectors::Placetopay,
connectors::Powertranz,
connectors::Prophetpay,
connectors::Mifinity,
connec... | crates/hyperswitch_connectors/src/default_implementations.rs#chunk2 | hyperswitch_connectors | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for CtpMastercard
// File: crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for CtpMastercard | crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | CtpMastercard | api::PaymentCapture for | 0 | 0 | null | null |
// Function: retrieve_payment_method_from_auth_service
// File: crates/router/src/core/pm_auth.rs
// Module: router
pub fn retrieve_payment_method_from_auth_service(
state: &SessionState,
key_store: &domain::MerchantKeyStore,
auth_token: &payment_methods::BankAccountTokenData,
payment_intent: &PaymentI... | crates/router/src/core/pm_auth.rs | router | function_signature | null | null | null | 102 | retrieve_payment_method_from_auth_service | null | null | null | null | null | null |
// File: crates/router/src/utils/user/two_factor_auth.rs
// Module: router
// Public functions: 16
use common_utils::pii;
use error_stack::ResultExt;
use masking::{ExposeInterface, PeekInterface};
use totp_rs::{Algorithm, TOTP};
use crate::{
consts,
core::errors::{UserErrors, UserResult},
routes::SessionS... | crates/router/src/utils/user/two_factor_auth.rs | router | full_file | null | null | null | 1,861 | null | null | null | null | null | null | null |
// Implementation: impl GetPaymentMethodDetails for for DummyConnectorPayLater
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Methods: 2 total (0 public)
impl GetPaymentMethodDetails for for DummyConnectorPayLater | crates/router/src/routes/dummy_connector/types.rs | router | impl_block | null | null | null | 54 | null | DummyConnectorPayLater | GetPaymentMethodDetails for | 2 | 0 | null | null |
// Struct: PayloadMandateRequestData
// File: crates/hyperswitch_connectors/src/connectors/payload/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayloadMandateRequestData | crates/hyperswitch_connectors/src/connectors/payload/requests.rs | hyperswitch_connectors | struct_definition | PayloadMandateRequestData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/core/payment_link.rs
// Module: router
// Public submodules:
pub mod validator;
| crates/router/src/core/payment_link.rs | router | module_structure | null | null | null | 29 | null | null | null | null | null | 1 | 0 |
// File: crates/router/tests/connectors/stax.rs
// Module: router
use std::{str::FromStr, time::Duration};
use masking::Secret;
use router::types::{self, domain, storage::enums, PaymentsResponseData};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
struct StaxTest;... | crates/router/tests/connectors/stax.rs | router | full_file | null | null | null | 4,807 | null | null | null | null | null | null | null |
// Function: get_mandate
// File: crates/router/src/routes/mandates.rs
// Module: router
pub fn get_mandate(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
) -> HttpResponse | crates/router/src/routes/mandates.rs | router | function_signature | null | null | null | 57 | get_mandate | null | null | null | null | null | null |
// Struct: Fulfillment
// File: crates/hyperswitch_domain_models/src/router_flow_types/fraud_check.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Fulfillment | crates/hyperswitch_domain_models/src/router_flow_types/fraud_check.rs | hyperswitch_domain_models | struct_definition | Fulfillment | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: routing_create_config
// File: crates/openapi/src/routes/routing.rs
// Module: openapi
pub fn routing_create_config() | crates/openapi/src/routes/routing.rs | openapi | function_signature | null | null | null | 31 | routing_create_config | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Wise | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Function: authentication_create
// File: crates/openapi/src/routes/authentication.rs
// Module: openapi
pub fn authentication_create() | crates/openapi/src/routes/authentication.rs | openapi | function_signature | null | null | null | 28 | authentication_create | null | null | null | null | null | null |
// Struct: PaymentIntentUpdateFields
// File: crates/hyperswitch_domain_models/src/payments/payment_intent.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentIntentUpdateFields | crates/hyperswitch_domain_models/src/payments/payment_intent.rs | hyperswitch_domain_models | struct_definition | PaymentIntentUpdateFields | 0 | [] | 46 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/multisafepay.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::IncomingWebhookEvent;
use common_enums::{enums, AttemptStatus};
use common_utils::{
errors::... | crates/hyperswitch_connectors/src/connectors/multisafepay.rs | hyperswitch_connectors | full_file | null | null | null | 5,813 | null | null | null | null | null | null | null |
// Implementation: impl Elavon
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Elavon | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | impl_block | null | null | null | 48 | null | Elavon | null | 1 | 1 | null | null |
// Function: delete_tokenized_data_api
// File: crates/openapi/src/routes/tokenization.rs
// Module: openapi
pub fn delete_tokenized_data_api() | crates/openapi/src/routes/tokenization.rs | openapi | function_signature | null | null | null | 35 | delete_tokenized_data_api | null | null | null | null | null | null |
// Struct: DisputeUpdateInternal
// File: crates/diesel_models/src/dispute.rs
// Module: diesel_models
// Implementations: 0
pub struct DisputeUpdateInternal | crates/diesel_models/src/dispute.rs | diesel_models | struct_definition | DisputeUpdateInternal | 0 | [] | 39 | null | null | null | null | null | null | null |
// Function: get_transaction_type
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_transaction_type(&self) -> api_enums::TransactionType | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 38 | get_transaction_type | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl api::Payment for for Worldline
// File: crates/hyperswitch_connectors/src/connectors/worldline.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Worldline | crates/hyperswitch_connectors/src/connectors/worldline.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Worldline | api::Payment for | 0 | 0 | null | null |
// Struct: ThreeDSMethodDataForm
// File: crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDSMethodDataForm | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs | hyperswitch_connectors | struct_definition | ThreeDSMethodDataForm | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Flexiti
// File: crates/hyperswitch_connectors/src/connectors/flexiti.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Flexiti | crates/hyperswitch_connectors/src/connectors/flexiti.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Flexiti | api::PaymentToken for | 0 | 0 | null | null |
// Struct: BluecodeRouterData
// File: crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluecodeRouterData<T> | crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs | hyperswitch_connectors | struct_definition | BluecodeRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: retrieve_forex
// File: crates/router/src/routes/currency.rs
// Module: router
pub fn retrieve_forex(state: web::Data<AppState>, req: HttpRequest) -> HttpResponse | crates/router/src/routes/currency.rs | router | function_signature | null | null | null | 42 | retrieve_forex | null | null | null | null | null | null |
// Function: customers_create
// File: crates/openapi/src/routes/customers.rs
// Module: openapi
pub fn customers_create() | crates/openapi/src/routes/customers.rs | openapi | function_signature | null | null | null | 29 | customers_create | null | null | null | null | null | null |
// Implementation: impl ConnectorAuthTypeAndMetadataValidation
// File: crates/router/src/core/connector_validation.rs
// Module: router
// Methods: 2 total (1 public)
impl ConnectorAuthTypeAndMetadataValidation | crates/router/src/core/connector_validation.rs | router | impl_block | null | null | null | 45 | null | ConnectorAuthTypeAndMetadataValidation | null | 2 | 1 | null | null |
// Struct: VgsAuthType
// File: crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VgsAuthType | crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs | hyperswitch_connectors | struct_definition | VgsAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl BlocklistFingerprint
// File: crates/diesel_models/src/query/blocklist_fingerprint.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl BlocklistFingerprint | crates/diesel_models/src/query/blocklist_fingerprint.rs | diesel_models | impl_block | null | null | null | 45 | null | BlocklistFingerprint | null | 1 | 0 | null | null |
// Function: build_generic_link_html
// File: crates/router/src/services/api/generic_link_response.rs
// Module: router
pub fn build_generic_link_html(
boxed_generic_link_data: GenericLinksData,
locale: String,
) -> CustomResult<String, errors::ApiErrorResponse> | crates/router/src/services/api/generic_link_response.rs | router | function_signature | null | null | null | 60 | build_generic_link_html | null | null | null | null | null | null |
// Struct: RSyncNodeData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RSyncNodeData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | RSyncNodeData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: MandateSource
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MandateSource | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | MandateSource | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: validate
// File: crates/external_services/src/file_storage/aws_s3.rs
// Module: external_services
// Documentation: Validates the AWS S3 file storage configuration.
pub fn validate(&self) -> Result<(), InvalidFileStorageConfig> | crates/external_services/src/file_storage/aws_s3.rs | external_services | function_signature | null | null | null | 52 | validate | null | null | null | null | null | null |
// Struct: Status
// File: crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Status | crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs | hyperswitch_connectors | struct_definition | Status | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: InviteMultipleUserResponse
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct InviteMultipleUserResponse | crates/api_models/src/user.rs | api_models | struct_definition | InviteMultipleUserResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: update
// File: crates/diesel_models/src/query/merchant_connector_account.rs
// Module: diesel_models
pub fn update(
self,
conn: &PgPooledConn,
merchant_connector_account: MerchantConnectorAccountUpdateInternal,
) -> StorageResult<Self> | crates/diesel_models/src/query/merchant_connector_account.rs | diesel_models | function_signature | null | null | null | 60 | update | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Forte
// File: crates/hyperswitch_connectors/src/connectors/forte.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Forte | crates/hyperswitch_connectors/src/connectors/forte.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Forte | api::Payment for | 0 | 0 | null | null |
// Struct: ListCountriesCurrenciesResponse
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct ListCountriesCurrenciesResponse | crates/api_models/src/payment_methods.rs | api_models | struct_definition | ListCountriesCurrenciesResponse | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_recon_acl
// File: crates/router/src/services/authorization/roles.rs
// Module: router
pub fn get_recon_acl(&self) -> HashMap<Resource, ReconPermissionScope> | crates/router/src/services/authorization/roles.rs | router | function_signature | null | null | null | 43 | get_recon_acl | null | null | null | null | null | null |
// Struct: GetCardResponse
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
// Implementations: 0
pub struct GetCardResponse | crates/router/src/core/payment_methods/transformers.rs | router | struct_definition | GetCardResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: PaypalCaptureResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalCaptureResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalCaptureResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: construct_dsl_and_perform_eligibility_analysis
// File: crates/router/src/core/routing.rs
// Module: router
pub fn construct_dsl_and_perform_eligibility_analysis<F, D>(
self,
state: &SessionState,
key_store: &domain::MerchantKeyStore,
payment_data: &D,
profile_id: ... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 119 | construct_dsl_and_perform_eligibility_analysis | null | null | null | null | null | null |
// File: crates/analytics/src/sdk_events/metrics/sdk_rendered_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
sdk_events::{
SdkEventDimensions, SdkEventFilters, SdkEventMetricsBucketIdentifier, SdkEventNames,
},
Granularity, TimeRange,
};
use common_utils:... | crates/analytics/src/sdk_events/metrics/sdk_rendered_count.rs | analytics | full_file | null | null | null | 806 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/vgs.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 VgsTest;
impl ConnectorActions for VgsTest {}
impl utils::Connector for Vg... | crates/router/tests/connectors/vgs.rs | router | full_file | null | null | null | 2,929 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Elavon
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Elavon | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Elavon | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Function: create_task
// File: crates/scheduler/src/consumer.rs
// Module: scheduler
pub fn create_task(
db: &dyn ProcessTrackerInterface,
process_tracker_entry: storage::ProcessTrackerNew,
) -> CustomResult<(), storage_impl::errors::StorageError> | crates/scheduler/src/consumer.rs | scheduler | function_signature | null | null | null | 60 | create_task | null | null | null | null | null | null |
// Struct: DwollaCustomerRequest
// File: crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DwollaCustomerRequest | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs | hyperswitch_connectors | struct_definition | DwollaCustomerRequest | 0 | [] | 50 | null | 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.