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: insert_recovery_code_in_redis
// File: crates/router/src/utils/user/two_factor_auth.rs
// Module: router
pub fn insert_recovery_code_in_redis(state: &SessionState, user_id: &str) -> UserResult<()> | crates/router/src/utils/user/two_factor_auth.rs | router | function_signature | null | null | null | 51 | insert_recovery_code_in_redis | null | null | null | null | null | null |
// Implementation: impl DecisionEngineApiHandler for for SRApiClient
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Methods: 1 total (0 public)
impl DecisionEngineApiHandler for for SRApiClient | crates/router/src/core/payments/routing/utils.rs | router | impl_block | null | null | null | 55 | null | SRApiClient | DecisionEngineApiHandler for | 1 | 0 | null | null |
// Implementation: impl api::PaymentSync for for Cashtocode
// File: crates/hyperswitch_connectors/src/connectors/cashtocode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Cashtocode | crates/hyperswitch_connectors/src/connectors/cashtocode.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Cashtocode | api::PaymentSync for | 0 | 0 | null | null |
// Function: validate_and_create_refund
// File: crates/router/src/core/refunds_v2.rs
// Module: router
pub fn validate_and_create_refund(
state: &SessionState,
merchant_context: &domain::MerchantContext,
payment_attempt: &storage::PaymentAttempt,
payment_intent: &storage::PaymentIntent,
refund_amo... | crates/router/src/core/refunds_v2.rs | router | function_signature | null | null | null | 138 | validate_and_create_refund | null | null | null | null | null | null |
// Struct: IatapayRouterData
// File: crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IatapayRouterData<T> | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs | hyperswitch_connectors | struct_definition | IatapayRouterData | 0 | [] | 57 | null | null | null | null | null | null | null |
// Function: connector_selection
// File: crates/router/src/core/payments.rs
// Module: router
pub fn connector_selection<F, D>(
state: &SessionState,
merchant_context: &domain::MerchantContext,
business_profile: &domain::Profile,
payment_data: &mut D,
request_straight_through: Option<serde_json::V... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 148 | connector_selection | null | null | null | null | null | null |
// Implementation: impl FeatureMatrix
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl FeatureMatrix | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 35 | null | FeatureMatrix | null | 1 | 1 | null | null |
// Struct: DummyConnectorAuthType
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DummyConnectorAuthType | crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs | hyperswitch_connectors | struct_definition | DummyConnectorAuthType | 0 | [] | 50 | 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 |
// File: crates/api_models/src/verify_connector.rs
// Module: api_models
// Public structs: 1
use common_utils::events::{ApiEventMetric, ApiEventsType};
use crate::{admin, enums};
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub struct VerifyConnectorRequest {
pub connector_name: enums::Connecto... | crates/api_models/src/verify_connector.rs | api_models | full_file | null | null | null | 104 | null | null | null | null | null | null | null |
// Function: get_total_surcharge_amount
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
pub fn get_total_surcharge_amount(&self) -> MinorUnit | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | function_signature | null | null | null | 46 | get_total_surcharge_amount | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Worldpayxml
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Worldpayxml | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Worldpayxml | api::PaymentSession for | 0 | 0 | null | null |
// Struct: ConnectorFields
// File: crates/payment_methods/src/configs/settings.rs
// Module: payment_methods
// Implementations: 0
pub struct ConnectorFields | crates/payment_methods/src/configs/settings.rs | payment_methods | struct_definition | ConnectorFields | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: CommonMandateReference
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct CommonMandateReference | crates/api_models/src/payment_methods.rs | api_models | struct_definition | CommonMandateReference | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Aci
// File: crates/hyperswitch_connectors/src/connectors/aci.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Aci | crates/hyperswitch_connectors/src/connectors/aci.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Aci | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: create_org_merchant_for_user
// File: crates/router/src/core/user.rs
// Module: router
pub fn create_org_merchant_for_user(
state: SessionState,
req: user_api::UserOrgMerchantCreateRequest,
) -> UserResponse<()> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 57 | create_org_merchant_for_user | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Elavon
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Elavon | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Elavon | api::PaymentAuthorize for | 0 | 0 | null | null |
// File: crates/router/src/core/payments/operations/payment_response.rs
// Module: router
// Public structs: 2
use std::{collections::HashMap, ops::Deref};
use api_models::payments::{ConnectorMandateReferenceId, MandateReferenceId};
#[cfg(feature = "dynamic_routing")]
use api_models::routing::RoutableConnectorChoice;... | crates/router/src/core/payments/operations/payment_response.rs#chunk0 | router | chunk | null | null | null | 8,188 | null | null | null | null | null | null | null |
// Struct: SquarePaymentsResponseDetails
// File: crates/hyperswitch_connectors/src/connectors/square/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SquarePaymentsResponseDetails | crates/hyperswitch_connectors/src/connectors/square/transformers.rs | hyperswitch_connectors | struct_definition | SquarePaymentsResponseDetails | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: get_data_from_hyperswitch_ai_workflow
// File: crates/router/src/routes/chat.rs
// Module: router
pub fn get_data_from_hyperswitch_ai_workflow(
state: web::Data<AppState>,
http_req: HttpRequest,
payload: web::Json<chat_api::ChatRequest>,
) -> HttpResponse | crates/router/src/routes/chat.rs | router | function_signature | null | null | null | 71 | get_data_from_hyperswitch_ai_workflow | null | null | null | null | null | null |
// Function: update
// File: crates/diesel_models/src/query/merchant_account.rs
// Module: diesel_models
pub fn update(
self,
conn: &PgPooledConn,
merchant_account: MerchantAccountUpdateInternal,
) -> StorageResult<Self> | crates/diesel_models/src/query/merchant_account.rs | diesel_models | function_signature | null | null | null | 57 | update | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Mollie
// File: crates/hyperswitch_connectors/src/connectors/mollie.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Mollie | crates/hyperswitch_connectors/src/connectors/mollie.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Mollie | api::PaymentToken for | 0 | 0 | null | null |
// Struct: CustomerBankAccounts
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustomerBankAccounts | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | CustomerBankAccounts | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: PaymentsPreProcessingData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentsPreProcessingData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | PaymentsPreProcessingData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: get_inner_value
// File: crates/common_utils/src/request.rs
// Module: common_utils
pub fn get_inner_value(&self) -> Secret<String> | crates/common_utils/src/request.rs | common_utils | function_signature | null | null | null | 35 | get_inner_value | null | null | null | null | null | null |
// Function: get_enable_payment_response_hash
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_enable_payment_response_hash(&self) -> bool | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 37 | get_enable_payment_response_hash | null | null | null | null | null | null |
// File: crates/openapi/src/openapi.rs
// Module: openapi
use crate::routes;
#[derive(utoipa::OpenApi)]
#[openapi(
info(
title = "Hyperswitch - API Documentation",
contact(
name = "Hyperswitch Support",
url = "https://hyperswitch.io",
email = "hyperswitch@juspay... | crates/openapi/src/openapi.rs#chunk0 | openapi | chunk | null | null | null | 8,183 | null | null | null | null | null | null | null |
// File: crates/router/src/core/three_ds_decision_rule.rs
// Module: router
// Public functions: 2
// Public structs: 1
pub mod utils;
use common_types::three_ds_decision_rule_engine::ThreeDSDecisionRule;
use common_utils::ext_traits::ValueExt;
use error_stack::ResultExt;
use euclid::{
backend::{self, inputs as d... | crates/router/src/core/three_ds_decision_rule.rs | router | full_file | null | null | null | 720 | null | null | null | null | null | null | null |
// Struct: Reason
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Reason | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | Reason | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: PspTokenResult
// File: crates/router/src/types.rs
// Module: router
// Implementations: 0
pub struct PspTokenResult | crates/router/src/types.rs | router | struct_definition | PspTokenResult | 0 | [] | 35 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/hipay.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)]
str... | crates/router/tests/connectors/hipay.rs | router | full_file | null | null | null | 2,931 | null | null | null | null | null | null | null |
// Struct: FiservemeaCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservemeaCaptureRequest | crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs | hyperswitch_connectors | struct_definition | FiservemeaCaptureRequest | 0 | [] | 58 | null | null | null | null | null | null | null |
// Struct: DatatransErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DatatransErrorResponse | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | struct_definition | DatatransErrorResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/merchant_key_store.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<MerchantKeyStore> | crates/diesel_models/src/query/merchant_key_store.rs | diesel_models | function_signature | null | null | null | 47 | insert | null | null | null | null | null | null |
// Function: payments_create_and_confirm_intent
// File: crates/router/src/core/payments.rs
// Module: router
pub fn payments_create_and_confirm_intent(
state: SessionState,
req_state: ReqState,
merchant_context: domain::MerchantContext,
profile: domain::Profile,
request: payments_api::PaymentsRequ... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 90 | payments_create_and_confirm_intent | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Ebanx
// File: crates/hyperswitch_connectors/src/connectors/ebanx.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Ebanx | crates/hyperswitch_connectors/src/connectors/ebanx.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Ebanx | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: UpiDetails
// File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct UpiDetails | crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs | hyperswitch_connectors | struct_definition | UpiDetails | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl Default for for DisputePollingIntervalInHours
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Methods: 1 total (0 public)
impl Default for for DisputePollingIntervalInHours | crates/common_types/src/primitive_wrappers.rs | common_types | impl_block | null | null | null | 55 | null | DisputePollingIntervalInHours | Default for | 1 | 0 | null | null |
// Function: retrieve_value_from_vault
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn retrieve_value_from_vault(
state: &routes::SessionState,
request: pm_types::VaultRetrieveRequest,
) -> CustomResult<serde_json::value::Value, errors::VaultError> | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 71 | retrieve_value_from_vault | null | null | null | null | null | null |
// Function: get_tenants
// File: crates/drainer/src/settings.rs
// Module: drainer
pub fn get_tenants(&self) -> &HashMap<id_type::TenantId, Tenant> | crates/drainer/src/settings.rs | drainer | function_signature | null | null | null | 43 | get_tenants | null | null | null | null | null | null |
// Function: create_certificate
// File: crates/external_services/src/http_client/client.rs
// Module: external_services
pub fn create_certificate(
encoded_certificate: masking::Secret<String>,
) -> Result<Vec<reqwest::Certificate>, error_stack::Report<HttpClientError>> | crates/external_services/src/http_client/client.rs | external_services | function_signature | null | null | null | 57 | create_certificate | null | null | null | null | null | null |
// Struct: Amount
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Amount | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | Amount | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: RiskifiedPaymentsCheckoutRequest
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RiskifiedPaymentsCheckoutRequest | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | RiskifiedPaymentsCheckoutRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: AmountComponents
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AmountComponents | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | struct_definition | AmountComponents | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: payment_method_delete_api
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn payment_method_delete_api() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 33 | payment_method_delete_api | null | null | null | null | null | null |
// Struct: AciWebhookCustomerDetails
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AciWebhookCustomerDetails | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | AciWebhookCustomerDetails | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: NomupayMetadata
// File: crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NomupayMetadata | crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs | hyperswitch_connectors | struct_definition | NomupayMetadata | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: PaymentResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentResponse | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | PaymentResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
let connector_payment_id = req.request.connector_transaction_id.clone();
Ok(format!(
"{}pts/v2/payments/{}/captures",
self.base_url(connectors),
connector_payment_id
))
}
fn get_request_body(
&self,
req: &PaymentsCaptureRouterData,
... | crates/hyperswitch_connectors/src/connectors/cybersource.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 8,180 | null | null | null | null | null | null | null |
// Function: new
// File: crates/currency_conversion/src/types.rs
// Module: currency_conversion
pub fn new(base_currency: Currency, conversion: HashMap<Currency, CurrencyFactors>) -> Self | crates/currency_conversion/src/types.rs | currency_conversion | function_signature | null | null | null | 41 | new | null | null | null | null | null | null |
// Struct: CurrencyConversionParams
// File: crates/api_models/src/currency.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct CurrencyConversionParams | crates/api_models/src/currency.rs | api_models | struct_definition | CurrencyConversionParams | 1 | [
"ApiEventMetric"
] | 43 | null | null | null | null | null | null | null |
// File: crates/analytics/src/auth_events/filters.rs
// Module: analytics
// Public functions: 1
// Public structs: 1
use api_models::analytics::{auth_events::AuthEventDimensions, Granularity, TimeRange};
use common_enums::{Currency, DecoupledAuthenticationType};
use common_utils::errors::ReportSwitchExt;
use diesel_m... | crates/analytics/src/auth_events/filters.rs | analytics | full_file | null | null | null | 700 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Vgs
// File: crates/hyperswitch_connectors/src/connectors/vgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Vgs | crates/hyperswitch_connectors/src/connectors/vgs.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Vgs | api::MandateSetup for | 0 | 0 | null | null |
// Function: revenue_recovery_data_backfill
// File: crates/router/src/core/revenue_recovery_data_backfill.rs
// Module: router
pub fn revenue_recovery_data_backfill(
state: SessionState,
records: Vec<RevenueRecoveryBackfillRequest>,
cutoff_datetime: Option<time::PrimitiveDateTime>,
) -> RouterResult<Appli... | crates/router/src/core/revenue_recovery_data_backfill.rs | router | function_signature | null | null | null | 81 | revenue_recovery_data_backfill | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Inespay
// File: crates/hyperswitch_connectors/src/connectors/inespay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Inespay | crates/hyperswitch_connectors/src/connectors/inespay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Inespay | api::PaymentSync for | 0 | 0 | null | null |
// Implementation: impl Default for for ConsumerSettings
// File: crates/scheduler/src/settings.rs
// Module: scheduler
// Methods: 1 total (0 public)
impl Default for for ConsumerSettings | crates/scheduler/src/settings.rs | scheduler | impl_block | null | null | null | 41 | null | ConsumerSettings | Default for | 1 | 0 | null | null |
// Trait: ErrorSwitch
// File: crates/common_utils/src/errors.rs
// Module: common_utils
// Documentation: Allow [error_stack::Report] to convert between error types This auto-implements [ReportSwitchExt] for the corresponding errors
pub trait ErrorSwitch<T> | crates/common_utils/src/errors.rs | common_utils | trait_definition | null | null | null | 57 | null | null | ErrorSwitch | null | null | null | null |
// Implementation: impl DatabaseStore for for RouterStore
// File: crates/storage_impl/src/lib.rs
// Module: storage_impl
// Methods: 5 total (0 public)
impl DatabaseStore for for RouterStore | crates/storage_impl/src/lib.rs | storage_impl | impl_block | null | null | null | 44 | null | RouterStore | DatabaseStore for | 5 | 0 | null | null |
// Function: set_error_response_body
// File: crates/hyperswitch_interfaces/src/events/connector_api_logs.rs
// Module: hyperswitch_interfaces
// Documentation: fn set_error_response_body
pub fn set_error_response_body<T: Serialize>(&mut self, response: &T) | crates/hyperswitch_interfaces/src/events/connector_api_logs.rs | hyperswitch_interfaces | function_signature | null | null | null | 59 | set_error_response_body | null | null | null | null | null | null |
// Struct: PayloadRouterData
// File: crates/hyperswitch_connectors/src/connectors/payload/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayloadRouterData<T> | crates/hyperswitch_connectors/src/connectors/payload/transformers.rs | hyperswitch_connectors | struct_definition | PayloadRouterData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: LockingInput
// File: crates/router/src/core/api_locking.rs
// Module: router
// Implementations: 1
pub struct LockingInput | crates/router/src/core/api_locking.rs | router | struct_definition | LockingInput | 1 | [] | 36 | null | null | null | null | null | null | null |
// Trait: RequestIdStore
// File: crates/router/src/db.rs
// Module: router
pub trait RequestIdStore | crates/router/src/db.rs | router | trait_definition | null | null | null | 26 | null | null | RequestIdStore | null | null | null | null |
// Function: try_get_enum_variant
// File: crates/router_derive/src/macros/try_get_enum.rs
// Module: router_derive
// Documentation: Try and get the variants for an enum
pub fn try_get_enum_variant(
input: syn::DeriveInput,
) -> Result<proc_macro2::TokenStream, syn::Error> | crates/router_derive/src/macros/try_get_enum.rs | router_derive | function_signature | null | null | null | 74 | try_get_enum_variant | null | null | null | null | null | null |
// Implementation: impl Rapyd
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Rapyd | crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | impl_block | null | null | null | 48 | null | Rapyd | null | 1 | 1 | null | null |
// Implementation: impl api::Payment for for Payme
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Payme | crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Payme | api::Payment for | 0 | 0 | null | null |
// File: crates/router/src/routes.rs
// Module: router
pub mod admin;
pub mod api_keys;
pub mod app;
#[cfg(feature = "v1")]
pub mod apple_pay_certificates_migration;
pub mod authentication;
#[cfg(all(feature = "olap", feature = "v1"))]
pub mod blocklist;
pub mod cache;
pub mod cards_info;
pub mod configs;
#[cfg(featur... | crates/router/src/routes.rs | router | full_file | null | null | null | 843 | null | null | null | null | null | null | null |
// Struct: VaultTransactionBody
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VaultTransactionBody | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | VaultTransactionBody | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: FiservemeaVoidRequest
// File: crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservemeaVoidRequest | crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs | hyperswitch_connectors | struct_definition | FiservemeaVoidRequest | 0 | [] | 58 | null | null | null | null | null | null | null |
// Struct: CybersourceThreeDSMetadata
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceThreeDSMetadata | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceThreeDSMetadata | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: CryptopayRouterData
// File: crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CryptopayRouterData<T> | crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs | hyperswitch_connectors | struct_definition | CryptopayRouterData | 0 | [] | 55 | null | null | null | null | null | null | null |
// File: crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
auth_events::{AuthEventDimensions, AuthEventFilters, AuthEventMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::err... | crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs | analytics | full_file | null | null | null | 1,059 | null | null | null | null | null | null | null |
// Struct: RoutingEvent
// File: crates/hyperswitch_interfaces/src/events/routing_api_logs.rs
// Module: hyperswitch_interfaces
// Implementations: 1
// Documentation: RoutingEvent type
pub struct RoutingEvent | crates/hyperswitch_interfaces/src/events/routing_api_logs.rs | hyperswitch_interfaces | struct_definition | RoutingEvent | 1 | [] | 48 | null | null | null | null | null | null | null |
// Function: get_multiple_dashboard_metadata
// File: crates/router/src/routes/user.rs
// Module: router
pub fn get_multiple_dashboard_metadata(
state: web::Data<AppState>,
req: HttpRequest,
query: web::Query<user_api::dashboard_metadata::GetMultipleMetaDataRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 65 | get_multiple_dashboard_metadata | null | null | null | null | null | null |
// Function: get_payment_dimensions
// File: crates/analytics/src/utils.rs
// Module: analytics
pub fn get_payment_dimensions() -> Vec<NameDescription> | crates/analytics/src/utils.rs | analytics | function_signature | null | null | null | 34 | get_payment_dimensions | null | null | null | null | null | null |
// Struct: NuveiSessionRequest
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiSessionRequest | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiSessionRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: CybersourceRefundResponse
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceRefundResponse | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceRefundResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: check_if_connector_exists
// File: crates/router/src/utils/connector_onboarding.rs
// Module: router
pub fn check_if_connector_exists(
state: &SessionState,
connector_id: &common_utils::id_type::MerchantConnectorAccountId,
merchant_id: &common_utils::id_type::MerchantId,
) -> RouterResult<()> | crates/router/src/utils/connector_onboarding.rs | router | function_signature | null | null | null | 74 | check_if_connector_exists | null | null | null | null | null | null |
// Struct: Errors
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Errors | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | Errors | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: from
// File: crates/hyperswitch_domain_models/src/relay.rs
// Module: hyperswitch_domain_models
pub fn from(
response: Result<router_response_types::RefundsResponseData, ErrorResponse>,
) -> Self | crates/hyperswitch_domain_models/src/relay.rs | hyperswitch_domain_models | function_signature | null | null | null | 52 | from | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Wellsfargopayout
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl IncomingWebhook for for Wellsfargopayout | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Wellsfargopayout | IncomingWebhook for | 3 | 0 | null | null |
// Implementation: impl Default for for Mandates
// File: crates/payment_methods/src/configs/payment_connector_required_fields.rs
// Module: payment_methods
// Methods: 1 total (0 public)
impl Default for for Mandates | crates/payment_methods/src/configs/payment_connector_required_fields.rs | payment_methods | impl_block | null | null | null | 47 | null | Mandates | Default for | 1 | 0 | null | null |
// Function: refund_retrieve_core
// File: crates/router/src/core/refunds_v2.rs
// Module: router
pub fn refund_retrieve_core(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id: Option<id_type::ProfileId>,
request: refunds::RefundsRetrieveRequest,
refund: diesel_refund::Ref... | crates/router/src/core/refunds_v2.rs | router | function_signature | null | null | null | 94 | refund_retrieve_core | null | null | null | null | null | null |
// Function: payment_method_retrieve_api
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn payment_method_retrieve_api() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 35 | payment_method_retrieve_api | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Authipay
// File: crates/hyperswitch_connectors/src/connectors/authipay.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Authipay | crates/hyperswitch_connectors/src/connectors/authipay.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Authipay | ConnectorCommon for | 6 | 0 | null | null |
// Struct: WebhookEventDataResourceEvent
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WebhookEventDataResourceEvent | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | WebhookEventDataResourceEvent | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: option_to_result
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
pub fn option_to_result<T>(opt: Option<T>) -> Result<T, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 57 | option_to_result | null | null | null | null | null | null |
// File: crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
auth_events::{AuthEventDimensions, AuthEventFilters, AuthEventMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_enums::{AuthenticationStat... | crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs | analytics | full_file | null | null | null | 1,111 | null | null | null | null | null | null | null |
// Struct: NoKey
// File: crates/test_utils/src/connector_auth.rs
// Module: test_utils
// Implementations: 0
pub struct NoKey | crates/test_utils/src/connector_auth.rs | test_utils | struct_definition | NoKey | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Cashtocode
// File: crates/hyperswitch_connectors/src/connectors/cashtocode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Cashtocode | crates/hyperswitch_connectors/src/connectors/cashtocode.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Cashtocode | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl api::Refund for for Taxjar
// File: crates/hyperswitch_connectors/src/connectors/taxjar.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Taxjar | crates/hyperswitch_connectors/src/connectors/taxjar.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Taxjar | api::Refund for | 0 | 0 | null | null |
pub struct BarclaycardTransactionResponse {
id: String,
application_information: ApplicationInformation,
client_reference_information: Option<ClientReferenceInformation>,
processor_information: Option<ClientProcessorInformation>,
processing_information: Option<ProcessingInformationResponse>,
pay... | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs#chunk2 | hyperswitch_connectors | chunk | null | null | null | 4,923 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/core/user_role.rs
// Module: router
// Public submodules:
pub mod role;
| crates/router/src/core/user_role.rs | router | module_structure | null | null | null | 29 | null | null | null | null | null | 1 | 0 |
// Function: get_network_token
// File: crates/router/src/core/payment_methods/network_tokenization.rs
// Module: router
pub fn get_network_token(
state: &routes::SessionState,
customer_id: id_type::CustomerId,
network_token_requestor_ref_id: String,
tokenization_service: &settings::NetworkTokenization... | crates/router/src/core/payment_methods/network_tokenization.rs | router | function_signature | null | null | null | 91 | get_network_token | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/bluesnap.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/bluesnap.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Implementation: impl IncomingWebhook for for Payeezy
// File: crates/hyperswitch_connectors/src/connectors/payeezy.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl IncomingWebhook for for Payeezy | crates/hyperswitch_connectors/src/connectors/payeezy.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Payeezy | IncomingWebhook for | 3 | 0 | null | null |
// Struct: CashtocodeIncomingWebhook
// File: crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CashtocodeIncomingWebhook | crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs | hyperswitch_connectors | struct_definition | CashtocodeIncomingWebhook | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorAuthenticationMap
// File: crates/test_utils/src/connector_auth.rs
// Module: test_utils
// Methods: 2 total (2 public)
impl ConnectorAuthenticationMap | crates/test_utils/src/connector_auth.rs | test_utils | impl_block | null | null | null | 40 | null | ConnectorAuthenticationMap | null | 2 | 2 | null | null |
// Implementation: impl OrganizationBridge for for Organization
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
// Methods: 3 total (0 public)
impl OrganizationBridge for for Organization | crates/diesel_models/src/organization.rs | diesel_models | impl_block | null | null | null | 44 | null | Organization | OrganizationBridge for | 3 | 0 | null | null |
// Struct: SantanderPixQRPaymentRequest
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SantanderPixQRPaymentRequest | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | SantanderPixQRPaymentRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: find_by_payment_id
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn find_by_payment_id(
conn: &PgPooledConn,
payment_id: &common_utils::id_type::GlobalPaymentId,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 66 | find_by_payment_id | 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.