text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Function: get_output
// File: crates/euclid/src/backend.rs
// Module: euclid
pub fn get_output(&self) -> &O | crates/euclid/src/backend.rs | euclid | function_signature | null | null | null | 33 | get_output | null | null | null | null | null | null |
// Struct: CardDetail
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct CardDetail | crates/api_models/src/payment_methods.rs | api_models | struct_definition | CardDetail | 0 | [] | 34 | null | null | null | null | null | null | null |
// Function: rotate_password
// File: crates/router/src/core/user.rs
// Module: router
pub fn rotate_password(
state: SessionState,
user_token: auth::UserFromSinglePurposeToken,
request: user_api::RotatePasswordRequest,
_req_state: ReqState,
) -> UserResponse<()> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 67 | rotate_password | null | null | null | null | null | null |
// Trait: AuthEventMetric
// File: crates/analytics/src/auth_events/metrics.rs
// Module: analytics
pub trait AuthEventMetric<T> | crates/analytics/src/auth_events/metrics.rs | analytics | trait_definition | null | null | null | 32 | null | null | AuthEventMetric | null | null | null | null |
// Implementation: impl api::PaymentToken for for Bamboraapac
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Bamboraapac | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Bamboraapac | api::PaymentToken for | 0 | 0 | null | null |
// Struct: AciVoidResponse
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AciVoidResponse | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | AciVoidResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: success_based_routing_update_configs
// File: crates/openapi/src/routes/routing.rs
// Module: openapi
pub fn success_based_routing_update_configs() | crates/openapi/src/routes/routing.rs | openapi | function_signature | null | null | null | 35 | success_based_routing_update_configs | null | null | null | null | null | null |
// File: crates/router/tests/connectors/paystack.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)]
... | crates/router/tests/connectors/paystack.rs | router | full_file | null | null | null | 2,931 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/tokenization.rs
// Module: diesel_models
// Public functions: 3
#[cfg(feature = "v2")]
use diesel::associations::HasTable;
#[cfg(feature = "v2")]
use diesel::ExpressionMethods;
#[cfg(feature = "v2")]
use crate::{
errors, query::generics, schema_v2::tokenization, tokenizatio... | crates/diesel_models/src/query/tokenization.rs | diesel_models | full_file | null | null | null | 390 | null | null | null | null | null | null | null |
// Trait: DisputeMetricAccumulator
// File: crates/analytics/src/disputes/accumulators.rs
// Module: analytics
pub trait DisputeMetricAccumulator | crates/analytics/src/disputes/accumulators.rs | analytics | trait_definition | null | null | null | 38 | null | null | DisputeMetricAccumulator | null | null | null | null |
// File: crates/router/tests/connectors/hyperswitch_vault.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... | crates/router/tests/connectors/hyperswitch_vault.rs | router | full_file | null | null | null | 2,958 | null | null | null | null | null | null | null |
// Function: get_domain_info
// File: crates/analytics/src/core.rs
// Module: analytics
pub fn get_domain_info(
domain: AnalyticsDomain,
) -> crate::errors::AnalyticsResult<GetInfoResponse> | crates/analytics/src/core.rs | analytics | function_signature | null | null | null | 47 | get_domain_info | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for ConnectorEnum
// File: crates/hyperswitch_interfaces/src/connector_integration_interface.rs
// Module: hyperswitch_interfaces
// Methods: 6 total (0 public)
impl ConnectorCommon for for ConnectorEnum | crates/hyperswitch_interfaces/src/connector_integration_interface.rs | hyperswitch_interfaces | impl_block | null | null | null | 51 | null | ConnectorEnum | ConnectorCommon for | 6 | 0 | null | null |
// Function: check_two_factor_auth_status
// File: crates/router/src/core/user.rs
// Module: router
pub fn check_two_factor_auth_status(
state: SessionState,
user_token: auth::UserFromToken,
) -> UserResponse<user_api::TwoFactorAuthStatusResponse> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 62 | check_two_factor_auth_status | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/webhook_events.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/webhook_events.rs | router | impl_block | null | null | null | 37 | null | Responder | null | 0 | 0 | null | null |
// Function: connector_mandate_details_migrated
// File: crates/payment_methods/src/core/migration.rs
// Module: payment_methods
pub fn connector_mandate_details_migrated(
&mut self,
connector_mandate_details_migrated: Option<bool>,
) | crates/payment_methods/src/core/migration.rs | payment_methods | function_signature | null | null | null | 58 | connector_mandate_details_migrated | null | null | null | null | null | null |
// Trait: CrmInterface
// File: crates/hyperswitch_interfaces/src/crm.rs
// Module: hyperswitch_interfaces
pub trait CrmInterface: Send + Sync | crates/hyperswitch_interfaces/src/crm.rs | hyperswitch_interfaces | trait_definition | null | null | null | 37 | null | null | CrmInterface | null | null | null | null |
// Function: find_by_key
// File: crates/diesel_models/src/query/configs.rs
// Module: diesel_models
pub fn find_by_key(conn: &PgPooledConn, key: &str) -> StorageResult<Self> | crates/diesel_models/src/query/configs.rs | diesel_models | function_signature | null | null | null | 49 | find_by_key | null | null | null | null | null | null |
// Function: check_internal_api_key_auth
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn check_internal_api_key_auth<T>(
headers: &HeaderMap,
payload: &impl ClientSecretFetch,
api_auth: ApiKeyAuth,
internal_api_key_auth: settings::InternalMerchantIdProfileIdAuthSettings,
... | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 125 | check_internal_api_key_auth | null | null | null | null | null | null |
// Implementation: impl api::PaymentsPreAuthenticate for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsPreAuthenticate for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Cybersource | api::PaymentsPreAuthenticate for | 0 | 0 | null | null |
// Implementation: impl api::PaymentSync for for Opayo
// File: crates/hyperswitch_connectors/src/connectors/opayo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Opayo | crates/hyperswitch_connectors/src/connectors/opayo.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Opayo | api::PaymentSync for | 0 | 0 | null | null |
// Struct: CybersourceAuthEnrollmentRequest
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceAuthEnrollmentRequest | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceAuthEnrollmentRequest | 0 | [] | 57 | null | null | null | null | null | null | null |
// Function: get_filters
// File: crates/analytics/src/frm/core.rs
// Module: analytics
pub fn get_filters(
pool: &AnalyticsProvider,
req: GetFrmFilterRequest,
merchant_id: &common_utils::id_type::MerchantId,
) -> AnalyticsResult<FrmFiltersResponse> | crates/analytics/src/frm/core.rs | analytics | function_signature | null | null | null | 67 | get_filters | null | null | null | null | null | null |
// Struct: ZenWebhookObjectReference
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ZenWebhookObjectReference | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | ZenWebhookObjectReference | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Nexinets
// File: crates/hyperswitch_connectors/src/connectors/nexinets.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Nexinets | crates/hyperswitch_connectors/src/connectors/nexinets.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Nexinets | api::RefundExecute for | 0 | 0 | null | null |
// Struct: NoonWebhookBody
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonWebhookBody | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonWebhookBody | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: CoinbaseErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CoinbaseErrorResponse | crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs | hyperswitch_connectors | struct_definition | CoinbaseErrorResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Checkout
// File: crates/hyperswitch_connectors/src/connectors/checkout.rs
// Module: hyperswitch_connectors
// Methods: 2 total (0 public)
impl ConnectorValidation for for Checkout | crates/hyperswitch_connectors/src/connectors/checkout.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Checkout | ConnectorValidation for | 2 | 0 | null | null |
// Struct: CustomerAssigned
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
// Implementations: 1
// Traits: State
pub struct CustomerAssigned | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | struct_definition | CustomerAssigned | 1 | [
"State"
] | 42 | null | null | null | null | null | null | null |
// Struct: CardData
// File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardData | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs | hyperswitch_connectors | struct_definition | CardData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: get_payment_method_type
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_payment_method_type(&self) -> Option<storage_enums::PaymentMethodType> | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 53 | get_payment_method_type | null | null | null | null | null | null |
// Struct: JpmorganPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JpmorganPaymentsResponse | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | JpmorganPaymentsResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: SyncResponse
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SyncResponse | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | struct_definition | SyncResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: BankOfAmericaClientReferenceResponse
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankOfAmericaClientReferenceResponse | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | BankOfAmericaClientReferenceResponse | 0 | [] | 56 | null | null | null | null | null | null | null |
// Implementation: impl ConvertRaw for for TransientBatchDecryptDataRequest
// File: crates/common_utils/src/keymanager.rs
// Module: common_utils
// Methods: 1 total (0 public)
impl ConvertRaw for for TransientBatchDecryptDataRequest | crates/common_utils/src/keymanager.rs | common_utils | impl_block | null | null | null | 53 | null | TransientBatchDecryptDataRequest | ConvertRaw for | 1 | 0 | null | null |
// Struct: Settings
// File: crates/drainer/src/settings.rs
// Module: drainer
// Implementations: 1
pub struct Settings<S: SecretState> | crates/drainer/src/settings.rs | drainer | struct_definition | Settings | 1 | [] | 36 | null | null | null | null | null | null | null |
// Struct: ShippingName
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ShippingName | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | ShippingName | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/checkbook/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 4
use api_models::webhooks::IncomingWebhookEvent;
use common_utils::{pii, types::FloatMajorUnit};
use hyperswitch_domain_models::{
payment_method_data::{BankTransferData, PaymentMeth... | crates/hyperswitch_connectors/src/connectors/checkbook/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 1,211 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 8
// Public structs: 35
use api_models::webhooks::IncomingWebhookEvent;
use base64::Engine;
use cards::CardNumber;
use common_enums::{enums, AttemptStatus, CaptureMethod, CountryAlpha2};
... | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,186 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/routing.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/routing.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Function: api_key_list
// File: crates/openapi/src/routes/api_keys.rs
// Module: openapi
pub fn api_key_list() | crates/openapi/src/routes/api_keys.rs | openapi | function_signature | null | null | null | 31 | api_key_list | null | null | null | null | null | null |
// Implementation: impl ThreeDSDecisionRule
// File: crates/common_types/src/three_ds_decision_rule_engine.rs
// Module: common_types
// Methods: 1 total (1 public)
impl ThreeDSDecisionRule | crates/common_types/src/three_ds_decision_rule_engine.rs | common_types | impl_block | null | null | null | 45 | null | ThreeDSDecisionRule | null | 1 | 1 | null | null |
// Struct: DeutschebankThreeDSInitializeRequestCustomerData
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankThreeDSInitializeRequestCustomerData | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankThreeDSInitializeRequestCustomerData | 0 | [] | 58 | null | null | null | null | null | null | null |
// Struct: CardInfoUpdateRequest
// File: crates/api_models/src/cards_info.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct CardInfoUpdateRequest | crates/api_models/src/cards_info.rs | api_models | struct_definition | CardInfoUpdateRequest | 1 | [
"ApiEventMetric"
] | 45 | null | null | null | null | null | null | null |
// Implementation: impl Invoice
// File: crates/diesel_models/src/query/invoice.rs
// Module: diesel_models
// Methods: 2 total (0 public)
impl Invoice | crates/diesel_models/src/query/invoice.rs | diesel_models | impl_block | null | null | null | 37 | null | Invoice | null | 2 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Mifinity
// File: crates/hyperswitch_connectors/src/connectors/mifinity.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Mifinity | crates/hyperswitch_connectors/src/connectors/mifinity.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Mifinity | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: Dsync
// File: crates/hyperswitch_domain_models/src/router_flow_types/dispute.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Dsync | crates/hyperswitch_domain_models/src/router_flow_types/dispute.rs | hyperswitch_domain_models | struct_definition | Dsync | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: OutgoingWebhookResponseContent
// File: crates/api_models/src/webhook_events.rs
// Module: api_models
// Implementations: 0
pub struct OutgoingWebhookResponseContent | crates/api_models/src/webhook_events.rs | api_models | struct_definition | OutgoingWebhookResponseContent | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Custombilling
// File: crates/hyperswitch_connectors/src/connectors/custombilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Custombilling | crates/hyperswitch_connectors/src/connectors/custombilling.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Custombilling | ConnectorValidation for | 0 | 0 | null | null |
// Struct: PayoutListConstraints
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct PayoutListConstraints | crates/api_models/src/payouts.rs | api_models | struct_definition | PayoutListConstraints | 0 | [] | 39 | null | null | null | null | null | null | null |
// Function: get_html_body
// File: crates/router/src/services/email/types.rs
// Module: router
pub fn get_html_body(email_body: EmailBody) -> String | crates/router/src/services/email/types.rs | router | function_signature | null | null | null | 36 | get_html_body | null | null | null | null | null | null |
// Function: get_action_url
// File: crates/router/src/core/connector_onboarding.rs
// Module: router
pub fn get_action_url(
state: SessionState,
user_from_token: auth::UserFromToken,
request: api::ActionUrlRequest,
_req_state: ReqState,
) -> RouterResponse<api::ActionUrlResponse> | crates/router/src/core/connector_onboarding.rs | router | function_signature | null | null | null | 76 | get_action_url | null | null | null | null | null | null |
// Struct: CreateUserThemeRequest
// File: crates/api_models/src/user/theme.rs
// Module: api_models
// Implementations: 0
pub struct CreateUserThemeRequest | crates/api_models/src/user/theme.rs | api_models | struct_definition | CreateUserThemeRequest | 0 | [] | 36 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 12
use common_enums::enums;
use common_utils::{
request::Method,
types::{MinorUnit, StringMinorUnit, StringMinorUnitForConnector},
};
use error_stack::ResultExt;
use hyperswitch_do... | crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 4,065 | null | null | null | null | null | null | null |
// Implementation: impl GetSubscriptionPlanPricesV2 for for Chargebee
// File: crates/hyperswitch_connectors/src/connectors/chargebee.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl GetSubscriptionPlanPricesV2 for for Chargebee | crates/hyperswitch_connectors/src/connectors/chargebee.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Chargebee | GetSubscriptionPlanPricesV2 for | 0 | 0 | null | null |
// Struct: StripeConnectPayoutFulfillResponse
// File: crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripeConnectPayoutFulfillResponse | crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs | hyperswitch_connectors | struct_definition | StripeConnectPayoutFulfillResponse | 0 | [] | 56 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/fiserv.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/fiserv.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Function: validate
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn validate(&self) -> Result<(), &str> | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 33 | validate | null | null | null | null | null | null |
// Struct: MultisafepayRouterData
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MultisafepayRouterData<T> | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | MultisafepayRouterData | 0 | [] | 61 | null | null | null | null | null | null | null |
// Struct: ThreeDSAuthData
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDSAuthData | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | ThreeDSAuthData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs
// Module: hyperswitch_connectors
// Public exports:
pub use common_utils::request::Method;
| crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs | hyperswitch_connectors | module_structure | null | null | null | 47 | null | null | null | null | null | 0 | 1 |
// Implementation: impl StructType
// File: crates/router_derive/src/macros/to_encryptable.rs
// Module: router_derive
// Methods: 4 total (0 public)
impl StructType | crates/router_derive/src/macros/to_encryptable.rs | router_derive | impl_block | null | null | null | 42 | null | StructType | null | 4 | 0 | null | null |
// Struct: ParentGroupInfoRequest
// File: crates/api_models/src/user_role/role.rs
// Module: api_models
// Implementations: 0
pub struct ParentGroupInfoRequest | crates/api_models/src/user_role/role.rs | api_models | struct_definition | ParentGroupInfoRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl SdkEventMetricsAccumulator
// File: crates/analytics/src/sdk_events/accumulator.rs
// Module: analytics
// Methods: 1 total (1 public)
impl SdkEventMetricsAccumulator | crates/analytics/src/sdk_events/accumulator.rs | analytics | impl_block | null | null | null | 48 | null | SdkEventMetricsAccumulator | null | 1 | 1 | null | null |
// Function: find_by_merchant_id_payout_attempt_id
// File: crates/diesel_models/src/query/payout_attempt.rs
// Module: diesel_models
pub fn find_by_merchant_id_payout_attempt_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
payout_attempt_id: &str,
) -> StorageResu... | crates/diesel_models/src/query/payout_attempt.rs | diesel_models | function_signature | null | null | null | 83 | find_by_merchant_id_payout_attempt_id | null | null | null | null | null | null |
// Struct: Reason
// File: crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Reason | crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs | hyperswitch_connectors | struct_definition | Reason | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: StripeConnectReversalRequest
// File: crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripeConnectReversalRequest | crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs | hyperswitch_connectors | struct_definition | StripeConnectReversalRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: GpayInfo
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GpayInfo | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | GpayInfo | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: PaymentMethodTokenResult
// File: crates/router/src/types.rs
// Module: router
// Implementations: 0
pub struct PaymentMethodTokenResult | crates/router/src/types.rs | router | struct_definition | PaymentMethodTokenResult | 0 | [] | 35 | null | null | null | null | null | null | null |
// Function: get_merchant_api_event_filters
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_merchant_api_event_filters(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<GetApiEventFiltersRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 72 | get_merchant_api_event_filters | null | null | null | null | null | null |
// Function: log_payment_attempt_delete
// File: crates/router/src/services/kafka.rs
// Module: router
pub fn log_payment_attempt_delete(
&self,
delete_old_attempt: &PaymentAttempt,
tenant_id: TenantID,
) -> MQResult<()> | crates/router/src/services/kafka.rs | router | function_signature | null | null | null | 57 | log_payment_attempt_delete | null | null | null | null | null | null |
// Implementation: impl RelationResolution
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (1 public)
impl RelationResolution | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 42 | null | RelationResolution | null | 1 | 1 | null | null |
// Implementation: impl crate::events::ApiEventMetric for for GlobalPaymentMethodSessionId
// File: crates/common_utils/src/id_type/global_id/payment_methods.rs
// Module: common_utils
// Methods: 1 total (0 public)
impl crate::events::ApiEventMetric for for GlobalPaymentMethodSessionId | crates/common_utils/src/id_type/global_id/payment_methods.rs | common_utils | impl_block | null | null | null | 65 | null | GlobalPaymentMethodSessionId | crate::events::ApiEventMetric for | 1 | 0 | null | null |
// Struct: StoredCredential
// File: crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StoredCredential | crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs | hyperswitch_connectors | struct_definition | StoredCredential | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: get_verified_apple_domains_with_mid_mca_id
// File: crates/router/src/core/verification.rs
// Module: router
pub fn get_verified_apple_domains_with_mid_mca_id(
state: SessionState,
merchant_id: common_utils::id_type::MerchantId,
merchant_connector_id: common_utils::id_type::MerchantConnectorAc... | crates/router/src/core/verification.rs | router | function_signature | null | null | null | 104 | get_verified_apple_domains_with_mid_mca_id | null | null | null | null | null | null |
// Function: validate_and_get_records_with_errors
// File: crates/api_models/src/revenue_recovery_data_backfill.rs
// Module: api_models
pub fn validate_and_get_records_with_errors(&self) -> Result<CsvParsingResult, BackfillError> | crates/api_models/src/revenue_recovery_data_backfill.rs | api_models | function_signature | null | null | null | 53 | validate_and_get_records_with_errors | null | null | null | null | null | null |
// Struct: PayoutsData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PayoutsData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | PayoutsData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: BankOfAmericaAuthorizationOptions
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankOfAmericaAuthorizationOptions | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | BankOfAmericaAuthorizationOptions | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: update_algorithm_id
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn update_algorithm_id(&mut self, new_id: common_utils::id_type::RoutingId) | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 45 | update_algorithm_id | null | null | null | null | null | null |
fn get_optional_user_agent(&self) -> Option<String>;
fn get_original_amount(&self) -> i64;
fn get_surcharge_amount(&self) -> Option<i64>;
fn get_tax_on_surcharge_amount(&self) -> Option<i64>;
fn get_total_surcharge_amount(&self) -> Option<i64>;
fn get_metadata_as_object(&self) -> Option<pii::Sec... | crates/hyperswitch_connectors/src/utils.rs#chunk2 | hyperswitch_connectors | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Struct: PlaidBankAccountCredentialsBalances
// File: crates/pm_auth/src/connector/plaid/transformers.rs
// Module: pm_auth
// Implementations: 0
pub struct PlaidBankAccountCredentialsBalances | crates/pm_auth/src/connector/plaid/transformers.rs | pm_auth | struct_definition | PlaidBankAccountCredentialsBalances | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: ProcessTrackerBatch
// File: crates/scheduler/src/consumer/types/batch.rs
// Module: scheduler
// Implementations: 1
pub struct ProcessTrackerBatch | crates/scheduler/src/consumer/types/batch.rs | scheduler | struct_definition | ProcessTrackerBatch | 1 | [] | 38 | null | null | null | null | null | null | null |
// File: crates/router/src/types/storage/events.rs
// Module: router
pub use diesel_models::events::{Event, EventMetadata, EventNew};
| crates/router/src/types/storage/events.rs | router | full_file | null | null | null | 31 | null | null | null | null | null | null | null |
// Function: add_payment_method_data
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn add_payment_method_data(
state: routes::SessionState,
req: api::PaymentMethodCreate,
merchant_context: domain::MerchantContext,
pm_id: String,
) -> errors::RouterResponse<api::PaymentM... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 77 | add_payment_method_data | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Billwerk
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Billwerk | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Billwerk | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl api::MandateSetup for for Paytm
// File: crates/hyperswitch_connectors/src/connectors/paytm.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Paytm | crates/hyperswitch_connectors/src/connectors/paytm.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Paytm | api::MandateSetup for | 0 | 0 | null | null |
// Struct: CeleroPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CeleroPaymentsRequest | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | struct_definition | CeleroPaymentsRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/redsys.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use common_utils::{
errors::CustomResult,
ext_traits::{BytesExt, XmlExt},
request::{Method, Request, RequestBuilder,... | crates/hyperswitch_connectors/src/connectors/redsys.rs | hyperswitch_connectors | full_file | null | null | null | 7,035 | null | null | null | null | null | null | null |
// Function: transform_ucs_webhook_response
// File: crates/router/src/core/unified_connector_service/transformers.rs
// Module: router
// Documentation: Transform UCS webhook response into webhook event data
pub fn transform_ucs_webhook_response(
response: PaymentServiceTransformResponse,
) -> Result<WebhookTran... | crates/router/src/core/unified_connector_service/transformers.rs | router | function_signature | null | null | null | 79 | transform_ucs_webhook_response | null | null | null | null | null | null |
// Function: is_invitable
// File: crates/router/src/services/authorization/roles.rs
// Module: router
pub fn is_invitable(&self) -> bool | crates/router/src/services/authorization/roles.rs | router | function_signature | null | null | null | 35 | is_invitable | null | null | null | null | null | null |
// Function: parser
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn parser(val: String) -> String | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 35 | parser | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for CtpMastercard
// File: crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for CtpMastercard | crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | CtpMastercard | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Module Structure
// File: crates/router/src/core/unified_connector_service.rs
// Module: router
// Public submodules:
pub mod transformers;
// Public exports:
pub use transformers::WebhookTransformData;
| crates/router/src/core/unified_connector_service.rs | router | module_structure | null | null | null | 44 | null | null | null | null | null | 1 | 1 |
// Struct: AwsFileStorageClient
// File: crates/external_services/src/file_storage/aws_s3.rs
// Module: external_services
// Implementations: 2
// Traits: FileStorageInterface
pub struct AwsFileStorageClient | crates/external_services/src/file_storage/aws_s3.rs | external_services | struct_definition | AwsFileStorageClient | 2 | [
"FileStorageInterface"
] | 49 | null | null | null | null | null | null | null |
// Struct: PaymentResponse
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentResponse | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | struct_definition | PaymentResponse | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: InviteUserRequest
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct InviteUserRequest | crates/api_models/src/user.rs | api_models | struct_definition | InviteUserRequest | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl RedisConnInterface for for KVRouterStore
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
// Methods: 1 total (0 public)
impl RedisConnInterface for for KVRouterStore | crates/storage_impl/src/kv_router_store.rs | storage_impl | impl_block | null | null | null | 51 | null | KVRouterStore | RedisConnInterface for | 1 | 0 | null | null |
// Struct: Profile
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
// Implementations: 4
// Traits: super::behaviour::Conversion, super::behaviour::Conversion
pub struct Profile | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | struct_definition | Profile | 4 | [
"super::behaviour::Conversion",
"super::behaviour::Conversion"
] | 55 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 8
use common_enums::enums;
use common_utils::{
pii,
types::{MinorUnit, StringMajorUnit},
};
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
route... | crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 2,063 | null | null | null | null | null | null | null |
// Function: update_default_fallback_routing
// File: crates/router/src/core/routing.rs
// Module: router
pub fn update_default_fallback_routing(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id: common_utils::id_type::ProfileId,
updated_list_of_connectors: Vec<routing_types::... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 94 | update_default_fallback_routing | 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.