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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// File: crates/connector_configs/src/connector.rs
// Module: connector_configs
// Public functions: 5
// Public structs: 13
use std::collections::HashMap;
#[cfg(feature = "payouts")]
use api_models::enums::PayoutConnectors;
use api_models::{
enums::{AuthenticationConnectors, Connector, PmAuthConnectors, TaxConne... | crates/connector_configs/src/connector.rs | connector_configs | full_file | null | null | null | 6,288 | null | null | null | null | null | null | null |
// File: crates/router/src/types/domain/user_key_store.rs
// Module: router
// Public structs: 1
use common_utils::{
crypto::Encryptable,
date_time, type_name,
types::keymanager::{Identifier, KeyManagerState},
};
use error_stack::ResultExt;
use hyperswitch_domain_models::type_encryption::{crypto_operation,... | crates/router/src/types/domain/user_key_store.rs | router | full_file | null | null | null | 495 | null | null | null | null | null | null | null |
// Struct: WellsfargoNotAvailableErrorObject
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WellsfargoNotAvailableErrorObject | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | WellsfargoNotAvailableErrorObject | 0 | [] | 57 | null | null | null | null | null | null | null |
// Function: payouts_list_available_filters_for_profile
// File: crates/router/src/routes/payouts.rs
// Module: router
pub fn payouts_list_available_filters_for_profile(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<common_utils::types::TimeRange>,
) -> HttpResponse | crates/router/src/routes/payouts.rs | router | function_signature | null | null | null | 69 | payouts_list_available_filters_for_profile | null | null | null | null | null | null |
// Struct: Association
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Association | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | Association | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: PartnerReferralIntegrationPreference
// File: crates/router/src/types/api/connector_onboarding/paypal.rs
// Module: router
// Implementations: 0
pub struct PartnerReferralIntegrationPreference | crates/router/src/types/api/connector_onboarding/paypal.rs | router | struct_definition | PartnerReferralIntegrationPreference | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: ErrorMessagesResult
// File: crates/api_models/src/analytics/refunds.rs
// Module: api_models
// Implementations: 0
pub struct ErrorMessagesResult | crates/api_models/src/analytics/refunds.rs | api_models | struct_definition | ErrorMessagesResult | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: HipayAuthType
// File: crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HipayAuthType | crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs | hyperswitch_connectors | struct_definition | HipayAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: CardHolderAccountInformation
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardHolderAccountInformation | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | struct_definition | CardHolderAccountInformation | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: insert_locales_in_context_for_payout_link_status
// File: crates/router/src/services/api/generic_link_response/context.rs
// Module: router
pub fn insert_locales_in_context_for_payout_link_status(context: &mut Context, locale: &str) | crates/router/src/services/api/generic_link_response/context.rs | router | function_signature | null | null | null | 57 | insert_locales_in_context_for_payout_link_status | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for CtpMastercard
// File: crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for CtpMastercard | crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | CtpMastercard | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Struct: Sale
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Sale | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | Sale | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Stripebilling
// File: crates/hyperswitch_connectors/src/connectors/stripebilling.rs
// Module: hyperswitch_connectors
// Methods: 11 total (0 public)
impl webhooks::IncomingWebhook for for Stripebilling | crates/hyperswitch_connectors/src/connectors/stripebilling.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Stripebilling | webhooks::IncomingWebhook for | 11 | 0 | null | null |
// Struct: CustomData
// File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustomData | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs | hyperswitch_connectors | struct_definition | CustomData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | function_signature | null | null | null | 40 | new | null | null | null | null | null | null |
// Function: check_payment_link_status
// File: crates/router/src/core/payment_link.rs
// Module: router
pub fn check_payment_link_status(
payment_link_expiry: PrimitiveDateTime,
) -> api_models::payments::PaymentLinkStatus | crates/router/src/core/payment_link.rs | router | function_signature | null | null | null | 49 | check_payment_link_status | null | null | null | null | null | null |
// Struct: CardRequestStruct
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardRequestStruct | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | CardRequestStruct | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: config_key_delete
// File: crates/router/src/routes/configs.rs
// Module: router
pub fn config_key_delete(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
) -> impl Responder | crates/router/src/routes/configs.rs | router | function_signature | null | null | null | 56 | config_key_delete | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Shift4
// File: crates/hyperswitch_connectors/src/connectors/shift4.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Shift4 | crates/hyperswitch_connectors/src/connectors/shift4.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Shift4 | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl api::RefundSync for for Placetopay
// File: crates/hyperswitch_connectors/src/connectors/placetopay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Placetopay | crates/hyperswitch_connectors/src/connectors/placetopay.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Placetopay | api::RefundSync for | 0 | 0 | null | null |
// Struct: Response
// File: crates/pm_auth/src/types.rs
// Module: pm_auth
// Implementations: 0
pub struct Response | crates/pm_auth/src/types.rs | pm_auth | struct_definition | Response | 0 | [] | 31 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Globepay
// File: crates/hyperswitch_connectors/src/connectors/globepay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Globepay | crates/hyperswitch_connectors/src/connectors/globepay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Globepay | api::Payment for | 0 | 0 | null | null |
// Struct: TsysCancelRequest
// File: crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TsysCancelRequest | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs | hyperswitch_connectors | struct_definition | TsysCancelRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Trustpayments
// File: crates/hyperswitch_connectors/src/connectors/trustpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Trustpayments | crates/hyperswitch_connectors/src/connectors/trustpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Trustpayments | api::ConnectorAccessToken for | 0 | 0 | null | null |
// File: crates/router/src/services/kafka/payment_attempt_event.rs
// Module: router
// Public functions: 2
// Public structs: 2
#[cfg(feature = "v2")]
use common_types::payments;
#[cfg(feature = "v2")]
use common_utils::types;
use common_utils::{id_type, types::MinorUnit};
use diesel_models::enums as storage_enums;
#... | crates/router/src/services/kafka/payment_attempt_event.rs | router | full_file | null | null | null | 3,885 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorVerifyWebhookSource for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorVerifyWebhookSource for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Paypal | api::ConnectorVerifyWebhookSource for | 0 | 0 | null | null |
// Function: populate_bin_details_for_payment_method_create
// File: crates/payment_methods/src/helpers.rs
// Module: payment_methods
pub fn populate_bin_details_for_payment_method_create(
_card_details: api_models::payment_methods::CardDetail,
_db: &dyn state::PaymentMethodsStorageInterface,
) -> api_models::... | crates/payment_methods/src/helpers.rs | payment_methods | function_signature | null | null | null | 74 | populate_bin_details_for_payment_method_create | null | null | null | null | null | null |
// Trait: FrmMetricAccumulator
// File: crates/analytics/src/frm/accumulator.rs
// Module: analytics
pub trait FrmMetricAccumulator | crates/analytics/src/frm/accumulator.rs | analytics | trait_definition | null | null | null | 34 | null | null | FrmMetricAccumulator | null | null | null | null |
// Implementation: impl RelayUpdate
// File: crates/hyperswitch_domain_models/src/relay.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl RelayUpdate | crates/hyperswitch_domain_models/src/relay.rs | hyperswitch_domain_models | impl_block | null | null | null | 43 | null | RelayUpdate | null | 1 | 1 | null | null |
// Struct: RapydRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RapydRefundRequest | crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs | hyperswitch_connectors | struct_definition | RapydRefundRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: generate_profile_dispute_report
// File: crates/router/src/analytics.rs
// Module: router
pub fn generate_profile_dispute_report(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<ReportRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 67 | generate_profile_dispute_report | null | null | null | null | null | null |
// Function: get_eligibility_status
// File: crates/router/src/types/api/connector_onboarding/paypal.rs
// Module: router
pub fn get_eligibility_status(&self) -> RouterResult<api::PayPalOnboardingStatus> | crates/router/src/types/api/connector_onboarding/paypal.rs | router | function_signature | null | null | null | 52 | get_eligibility_status | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Trustpayments
// File: crates/hyperswitch_connectors/src/connectors/trustpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Trustpayments | crates/hyperswitch_connectors/src/connectors/trustpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Trustpayments | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: Card
// File: crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Card | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs | hyperswitch_connectors | struct_definition | Card | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: get_incoming_webhook_event
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
pub fn get_incoming_webhook_event(
transaction_type: GetnetTransactionType,
transaction_status: GetnetPaymentStatus,
) -> IncomingWebhookEvent | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 71 | get_incoming_webhook_event | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Bluesnap
// File: crates/hyperswitch_connectors/src/connectors/bluesnap.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Bluesnap | crates/hyperswitch_connectors/src/connectors/bluesnap.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Bluesnap | api::PaymentSync for | 0 | 0 | null | null |
// Implementation: impl BatchSampleDataInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 8 total (0 public)
impl BatchSampleDataInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 49 | null | KafkaStore | BatchSampleDataInterface for | 8 | 0 | null | null |
// Struct: RefundsRetrieveBody
// File: crates/api_models/src/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundsRetrieveBody | crates/api_models/src/refunds.rs | api_models | struct_definition | RefundsRetrieveBody | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Worldpayvantiv | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Worldpayvantiv | api::Payment for | 0 | 0 | null | null |
// Function: get_payment_routing_algorithm
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
pub fn get_payment_routing_algorithm(
&self,
) -> CustomResult<
Option<api_models::routing::RoutingAlgorithmRef>,
api_error_response::ApiErrorRes... | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | function_signature | null | null | null | 70 | get_payment_routing_algorithm | null | null | null | null | null | null |
// Function: flat_struct
// File: crates/router_derive/src/lib.rs
// Module: router_derive
pub fn flat_struct(&self) -> std::collections::HashMap<String, String> | crates/router_derive/src/lib.rs | router_derive | function_signature | null | null | null | 41 | flat_struct | null | null | null | null | null | null |
// Module Structure
// File: crates/euclid/src/backend.rs
// Module: euclid
// Public submodules:
pub mod inputs;
pub mod interpreter;
pub mod vir_interpreter;
// Public exports:
pub use inputs::BackendInput;
pub use interpreter::InterpreterBackend;
pub use vir_interpreter::VirInterpreterBackend;
| crates/euclid/src/backend.rs | euclid | module_structure | null | null | null | 68 | null | null | null | null | null | 3 | 3 |
// Struct: GlobalpayRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobalpayRefundRequest | crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs | hyperswitch_connectors | struct_definition | GlobalpayRefundRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: validate_for_valid_refunds
// File: crates/router/src/core/utils/refunds_validator.rs
// Module: router
pub fn validate_for_valid_refunds(
payment_attempt: &hyperswitch_domain_models::payments::payment_attempt::PaymentAttempt,
connector: api_models::enums::Connector,
) -> RouterResult<()> | crates/router/src/core/utils/refunds_validator.rs | router | function_signature | null | null | null | 69 | validate_for_valid_refunds | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/inespay.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/inespay.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Implementation: impl PaymentCapture for for Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentCapture for for Riskified | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Riskified | PaymentCapture for | 0 | 0 | null | null |
// Function: new
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn new(company_name: String) -> UserResult<Self> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 34 | new | null | null | null | null | null | null |
// Implementation: impl FeatureMetadata
// File: crates/diesel_models/src/types.rs
// Module: diesel_models
// Methods: 3 total (3 public)
impl FeatureMetadata | crates/diesel_models/src/types.rs | diesel_models | impl_block | null | null | null | 37 | null | FeatureMetadata | null | 3 | 3 | null | null |
// Function: get_org_refund_filters
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_org_refund_filters(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<GetRefundFilterRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 70 | get_org_refund_filters | null | null | null | null | null | null |
// File: crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payments::{PaymentDimensions, PaymentFilters, PaymentMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::Repor... | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs | analytics | full_file | null | null | null | 986 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Tokenex
// File: crates/hyperswitch_connectors/src/connectors/tokenex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Tokenex | crates/hyperswitch_connectors/src/connectors/tokenex.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Tokenex | ConnectorValidation for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo.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::Bytes... | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,187 | null | null | null | null | null | null | null |
// Function: get_merchant_id
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_merchant_id(&self) -> id_type::MerchantId | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 39 | get_merchant_id | null | null | null | null | null | null |
// Struct: SignatureKey
// File: crates/test_utils/src/connector_auth.rs
// Module: test_utils
// Implementations: 0
pub struct SignatureKey | crates/test_utils/src/connector_auth.rs | test_utils | struct_definition | SignatureKey | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl super::sdk_events::metrics::SdkEventMetricAnalytics for for ClickhouseClient
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::sdk_events::metrics::SdkEventMetricAnalytics for for ClickhouseClient | crates/analytics/src/clickhouse.rs | analytics | impl_block | null | null | null | 65 | null | ClickhouseClient | super::sdk_events::metrics::SdkEventMetricAnalytics for | 0 | 0 | null | null |
// Function: get_dotted_jws
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn get_dotted_jws(jws: encryption::JwsBody) -> String | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 46 | get_dotted_jws | null | null | null | null | null | null |
// File: crates/openapi/src/routes/tokenization.rs
// Module: openapi
// Public functions: 2
use serde_json::json;
use utoipa::OpenApi;
/// Tokenization - Create
///
/// Create a token with customer_id
#[cfg(feature = "v2")]
#[utoipa::path(
post,
path = "/v2/tokenize",
request_body(
content = Gene... | crates/openapi/src/routes/tokenization.rs | openapi | full_file | null | null | null | 614 | null | null | null | null | null | null | null |
// Implementation: impl MerchantId
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Methods: 6 total (6 public)
impl MerchantId | crates/common_utils/src/id_type/merchant.rs | common_utils | impl_block | null | null | null | 39 | null | MerchantId | null | 6 | 6 | null | null |
// Struct: RecipientTokenRequest
// File: crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RecipientTokenRequest | crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs | hyperswitch_connectors | struct_definition | RecipientTokenRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: parent_group_info_request_to_permission_groups
// File: crates/router/src/utils/user_role.rs
// Module: router
pub fn parent_group_info_request_to_permission_groups(
parent_groups: &[role_api::ParentGroupInfoRequest],
) -> Result<Vec<PermissionGroup>, UserErrors> | crates/router/src/utils/user_role.rs | router | function_signature | null | null | null | 61 | parent_group_info_request_to_permission_groups | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Requ... | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs | hyperswitch_connectors | full_file | null | null | null | 4,672 | null | null | null | null | null | null | null |
// Struct: MerchantDefinedInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantDefinedInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | MerchantDefinedInformation | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: create_link_token
// File: crates/router/src/core/pm_auth.rs
// Module: router
pub fn create_link_token(
_state: SessionState,
_merchant_context: domain::MerchantContext,
_payload: api_models::pm_auth::LinkTokenCreateRequest,
_headers: Option<hyperswitch_domain_models::payments::HeaderPayl... | crates/router/src/core/pm_auth.rs | router | function_signature | null | null | null | 94 | create_link_token | null | null | null | null | null | null |
// Struct: BraintreeRefundResponseData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BraintreeRefundResponseData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | BraintreeRefundResponseData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl Iterator for for IterMut
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (0 public)
impl Iterator for for IterMut | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 50 | null | IterMut | Iterator for | 1 | 0 | null | null |
// Struct: DlocalPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DlocalPaymentsResponse | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs | hyperswitch_connectors | struct_definition | DlocalPaymentsResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: log_authentication
// File: crates/router/src/services/kafka.rs
// Module: router
pub fn log_authentication(
&self,
authentication: &Authentication,
old_authentication: Option<Authentication>,
tenant_id: TenantID,
) -> MQResult<()> | crates/router/src/services/kafka.rs | router | function_signature | null | null | null | 58 | log_authentication | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/errors.rs
// Module: hyperswitch_domain_models
pub mod api_error_response;
| crates/hyperswitch_domain_models/src/errors.rs | hyperswitch_domain_models | full_file | null | null | null | 28 | null | null | null | null | null | null | null |
// Struct: NuveiItem
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiItem | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiItem | 0 | [] | 51 | null | null | null | null | null | null | null |
res,
headers,
request_elapsed_time,
proxy_connector_http_status_code,
),
Err(_) => http_response_err(
r#"{
"error": {
"message": "Error ... | crates/router/src/services/api.rs#chunk1 | router | chunk | null | null | null | 8,143 | null | null | null | null | null | null | null |
// Struct: PaymentAttemptRevenueRecoveryData
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentAttemptRevenueRecoveryData | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | struct_definition | PaymentAttemptRevenueRecoveryData | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/euclid_wasm/src/utils.rs
// Module: euclid_wasm
use wasm_bindgen::prelude::*;
pub trait JsResultExt<T> {
fn err_to_js(self) -> Result<T, JsValue>;
}
impl<T, E> JsResultExt<T> for Result<T, E>
where
E: serde::Serialize,
{
fn err_to_js(self) -> Result<T, JsValue> {
match self {
... | crates/euclid_wasm/src/utils.rs | euclid_wasm | full_file | null | null | null | 129 | null | null | null | null | null | null | null |
// Function: new
// File: crates/common_types/src/customers.rs
// Module: common_types
// Documentation: Creates a new `ConnectorCustomerMap` from a HashMap
pub fn new(
map: std::collections::HashMap<common_utils::id_type::MerchantConnectorAccountId, String>,
) -> Self | crates/common_types/src/customers.rs | common_types | function_signature | null | null | null | 66 | new | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Hipay
// File: crates/hyperswitch_connectors/src/connectors/hipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Hipay | crates/hyperswitch_connectors/src/connectors/hipay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Hipay | api::RefundExecute for | 0 | 0 | null | null |
// Function: get_best_psp_token_available_for_smart_retry
// File: crates/router/src/workflows/revenue_recovery.rs
// Module: router
pub fn get_best_psp_token_available_for_smart_retry(
state: &SessionState,
connector_customer_id: &str,
payment_intent: &PaymentIntent,
) -> CustomResult<Option<time::Primiti... | crates/router/src/workflows/revenue_recovery.rs | router | function_signature | null | null | null | 83 | get_best_psp_token_available_for_smart_retry | null | null | null | null | null | null |
sale_status: SaleStatus,
payme_transaction_id: Option<String>,
status_error_code: Option<u32>,
}
impl TryFrom<RefundsResponseRouterData<Execute, PaymeRefundResponse>>
for RefundsRouterData<Execute>
{
type Error = error_stack::Report<errors::ConnectorError>;
fn try_from(
item: RefundsRes... | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 2,045 | null | null | null | null | null | null | null |
// Struct: AffirmPSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AffirmPSyncResponse | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | struct_definition | AffirmPSyncResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: TransactionDetailsUiConfiguration
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct TransactionDetailsUiConfiguration | crates/api_models/src/admin.rs | api_models | struct_definition | TransactionDetailsUiConfiguration | 0 | [] | 37 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/core/payments/types.rs
// Module: router
// Public exports:
pub use hyperswitch_domain_models::router_request_types::{
AuthenticationData, SplitRefundsRequest, StripeSplitRefund, SurchargeDetails,
};
| crates/router/src/core/payments/types.rs | router | module_structure | null | null | null | 55 | null | null | null | null | null | 0 | 1 |
// File: crates/diesel_models/src/hyperswitch_ai_interaction.rs
// Module: diesel_models
// Public structs: 2
use common_utils::encryption::Encryption;
use diesel::{self, Identifiable, Insertable, Queryable, Selectable};
use serde::{Deserialize, Serialize};
use time::PrimitiveDateTime;
use crate::schema::hyperswitch_... | crates/diesel_models/src/hyperswitch_ai_interaction.rs | diesel_models | full_file | null | null | null | 386 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Nexixpay
// File: crates/hyperswitch_connectors/src/connectors/nexixpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Nexixpay | crates/hyperswitch_connectors/src/connectors/nexixpay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Nexixpay | api::RefundSync for | 0 | 0 | null | null |
// File: crates/diesel_models/src/query/api_keys.rs
// Module: diesel_models
// Public functions: 6
use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods};
use super::generics;
use crate::{
api_keys::{ApiKey, ApiKeyNew, ApiKeyUpdate, ApiKeyUpdateInternal, HashedApiKey},
errors,
sch... | crates/diesel_models/src/query/api_keys.rs | diesel_models | full_file | null | null | null | 848 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
pub fn new(
connector_customer_id: String,
name: Option<String>,
email: Option<String>,
billing_address: Option<AddressDetails>,
) -> Self | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | function_signature | null | null | null | 64 | new | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Tsys
// File: crates/hyperswitch_connectors/src/connectors/tsys.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Tsys | crates/hyperswitch_connectors/src/connectors/tsys.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Tsys | api::Payment for | 0 | 0 | null | null |
// File: crates/router_env/src/vergen.rs
// Module: router_env
// Public functions: 2
/// Configures the [`vergen`][::vergen] crate to generate the `cargo` build instructions.
///
/// This function should be typically called within build scripts to generate `cargo` build
/// instructions for the corresponding crate.
/... | crates/router_env/src/vergen.rs | router_env | full_file | null | null | null | 297 | null | null | null | null | null | null | null |
// Implementation: impl ThemeNew
// File: crates/diesel_models/src/query/user/theme.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl ThemeNew | crates/diesel_models/src/query/user/theme.rs | diesel_models | impl_block | null | null | null | 39 | null | ThemeNew | null | 1 | 0 | null | null |
// Implementation: impl Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 2 total (2 public)
impl Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 49 | null | Cybersource | null | 2 | 2 | null | null |
// Implementation: impl api::PaymentSync for for Vgs
// File: crates/hyperswitch_connectors/src/connectors/vgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Vgs | crates/hyperswitch_connectors/src/connectors/vgs.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Vgs | api::PaymentSync for | 0 | 0 | null | null |
// Implementation: impl Webhooks
// File: crates/router/src/compatibility/stripe/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Webhooks | crates/router/src/compatibility/stripe/app.rs | router | impl_block | null | null | null | 39 | null | Webhooks | null | 1 | 1 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/braintree.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::IncomingWebhookEvent;
use base64::Engine;
use common_enums::{enums, CallConnectorAction, PaymentAction};
use common_utils:... | crates/hyperswitch_connectors/src/connectors/braintree.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Struct: CryptopayErrorData
// File: crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CryptopayErrorData | crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs | hyperswitch_connectors | struct_definition | CryptopayErrorData | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 7 total (0 public)
impl IncomingWebhook for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Nuvei | IncomingWebhook for | 7 | 0 | null | null |
// Struct: AvsResponse
// File: crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AvsResponse | crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs | hyperswitch_connectors | struct_definition | AvsResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: FeatureMatrixListResponse
// File: crates/api_models/src/feature_matrix.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct FeatureMatrixListResponse | crates/api_models/src/feature_matrix.rs | api_models | struct_definition | FeatureMatrixListResponse | 1 | [
"common_utils::events::ApiEventMetric"
] | 51 | null | null | null | null | null | null | null |
// Struct: MandateLink
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MandateLink | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | MandateLink | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: StripePaymentRetrieveBody
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
// Implementations: 0
pub struct StripePaymentRetrieveBody | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | struct_definition | StripePaymentRetrieveBody | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: RoutingEvaluateRequest
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct RoutingEvaluateRequest | crates/api_models/src/routing.rs | api_models | struct_definition | RoutingEvaluateRequest | 1 | [
"common_utils::events::ApiEventMetric"
] | 48 | null | null | null | null | null | null | null |
// Function: mk_add_card_response_hs
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn mk_add_card_response_hs(
card: api::CardDetail,
card_reference: String,
req: api::PaymentMethodCreate,
merchant_id: &id_type::MerchantId,
) -> api::PaymentMethodResponse | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 77 | mk_add_card_response_hs | null | null | null | null | null | null |
// Function: get_optional_stored_credential
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
pub fn get_optional_stored_credential(is_stored_credential: Option<bool>) -> Option<Self> | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 61 | get_optional_stored_credential | 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.