text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Struct: PlaidLinkTokenResponse
// File: crates/pm_auth/src/connector/plaid/transformers.rs
// Module: pm_auth
// Implementations: 0
pub struct PlaidLinkTokenResponse | crates/pm_auth/src/connector/plaid/transformers.rs | pm_auth | struct_definition | PlaidLinkTokenResponse | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: MerchantAccountUpdateInternal
// File: crates/diesel_models/src/merchant_account.rs
// Module: diesel_models
// Implementations: 2
pub struct MerchantAccountUpdateInternal | crates/diesel_models/src/merchant_account.rs | diesel_models | struct_definition | MerchantAccountUpdateInternal | 2 | [] | 40 | null | null | null | null | null | null | null |
// Struct: BluesnapPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapPaymentsResponse | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapPaymentsResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/router/src/db/generic_link.rs
// Module: router
use error_stack::report;
use router_env::{instrument, tracing};
use crate::{
connection,
core::errors::{self, CustomResult},
db::MockDb,
services::Store,
types::storage,
};
#[async_trait::async_trait]
pub trait GenericLinkInterface {... | crates/router/src/db/generic_link.rs | router | full_file | null | null | null | 1,579 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Katapult
// File: crates/hyperswitch_connectors/src/connectors/katapult.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Katapult | crates/hyperswitch_connectors/src/connectors/katapult.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Katapult | api::RefundSync for | 0 | 0 | null | null |
// Trait: Applicative
// File: crates/common_utils/src/fp_utils.rs
// Module: common_utils
// Documentation: The Applicative trait provides a pure behavior, which can be used to create values of type f a from values of type a.
pub trait Applicative<R> | crates/common_utils/src/fp_utils.rs | common_utils | trait_definition | null | null | null | 59 | null | null | Applicative | null | null | null | null |
// Implementation: impl IntoIter
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (0 public)
impl IntoIter | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 44 | null | IntoIter | null | 1 | 0 | null | null |
// Struct: BitpayWebhookDetails
// File: crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BitpayWebhookDetails | crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs | hyperswitch_connectors | struct_definition | BitpayWebhookDetails | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl ContextValue
// File: crates/euclid/src/dssa/types.rs
// Module: euclid
// Methods: 2 total (2 public)
impl ContextValue | crates/euclid/src/dssa/types.rs | euclid | impl_block | null | null | null | 39 | null | ContextValue | null | 2 | 2 | null | null |
// Implementation: impl api::MandateSetup for for Barclaycard
// File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Barclaycard | crates/hyperswitch_connectors/src/connectors/barclaycard.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Barclaycard | api::MandateSetup for | 0 | 0 | null | null |
// Function: forward_conversion
// File: crates/currency_conversion/src/types.rs
// Module: currency_conversion
// Documentation: from to_currency -> base currency
pub fn forward_conversion(
&self,
amt: Decimal,
from_currency: Currency,
) -> Result<Decimal, CurrencyConversionError> | crates/currency_conversion/src/types.rs | currency_conversion | function_signature | null | null | null | 64 | forward_conversion | null | null | null | null | null | null |
// Struct: InespayRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct InespayRefundRequest | crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs | hyperswitch_connectors | struct_definition | InespayRefundRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Paytm
// File: crates/hyperswitch_connectors/src/connectors/paytm.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Paytm | crates/hyperswitch_connectors/src/connectors/paytm.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Paytm | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Struct: Customers
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Customers | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | Customers | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: is_transaction_event
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
pub fn is_transaction_event(event_code: &AirwallexWebhookEventType) -> bool | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 55 | is_transaction_event | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Bamboraapac
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Bamboraapac | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs | hyperswitch_connectors | impl_block | null | null | null | 70 | null | Bamboraapac | api::MandateSetup for | 0 | 0 | null | null |
// Struct: CreateTransactionRequest
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CreateTransactionRequest | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | CreateTransactionRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: OpensearchTimeRange
// File: crates/analytics/src/opensearch.rs
// Module: analytics
// Implementations: 0
pub struct OpensearchTimeRange | crates/analytics/src/opensearch.rs | analytics | struct_definition | OpensearchTimeRange | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Nexixpay
// File: crates/hyperswitch_connectors/src/connectors/nexixpay.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Nexixpay | crates/hyperswitch_connectors/src/connectors/nexixpay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Nexixpay | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: FinixAuthType
// File: crates/hyperswitch_connectors/src/connectors/finix/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FinixAuthType | crates/hyperswitch_connectors/src/connectors/finix/transformers.rs | hyperswitch_connectors | struct_definition | FinixAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl TraceAssertion
// File: crates/router_env/src/logger/setup.rs
// Module: router_env
// Methods: 1 total (0 public)
impl TraceAssertion | crates/router_env/src/logger/setup.rs | router_env | impl_block | null | null | null | 37 | null | TraceAssertion | null | 1 | 0 | null | null |
// Function: is_network_transaction_id_flow
// File: crates/router/src/core/payments.rs
// Module: router
pub fn is_network_transaction_id_flow(
state: &SessionState,
is_connector_agnostic_mit_enabled: Option<bool>,
connector: enums::Connector,
payment_method_info: &domain::PaymentMethod,
) -> bool | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 73 | is_network_transaction_id_flow | null | null | null | null | null | null |
// Implementation: impl CardInfoBuilder
// File: crates/router/src/core/cards_info.rs
// Module: router
// Methods: 1 total (0 public)
impl CardInfoBuilder | crates/router/src/core/cards_info.rs | router | impl_block | null | null | null | 38 | null | CardInfoBuilder | null | 1 | 0 | null | null |
// Struct: PaymentResponse
// File: crates/router/src/core/payments/operations/payment_response.rs
// Module: router
// Implementations: 0
pub struct PaymentResponse | crates/router/src/core/payments/operations/payment_response.rs | router | struct_definition | PaymentResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Trustpay
// File: crates/hyperswitch_connectors/src/connectors/trustpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Trustpay | crates/hyperswitch_connectors/src/connectors/trustpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Trustpay | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: KafkaPaymentIntent
// File: crates/router/src/services/kafka/payment_intent.rs
// Module: router
// Implementations: 4
// Traits: super::KafkaMessage
pub struct KafkaPaymentIntent<'a> | crates/router/src/services/kafka/payment_intent.rs | router | struct_definition | KafkaPaymentIntent | 4 | [
"super::KafkaMessage"
] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Volt
// File: crates/hyperswitch_connectors/src/connectors/volt.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Volt | crates/hyperswitch_connectors/src/connectors/volt.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Volt | api::PaymentToken for | 0 | 0 | null | null |
// Struct: NoonBillingAddress
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonBillingAddress | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonBillingAddress | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/pm_auth/src/core.rs
// Module: pm_auth
pub mod errors;
| crates/pm_auth/src/core.rs | pm_auth | full_file | null | null | null | 20 | null | null | null | null | null | null | null |
// Struct: UpiIntentData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct UpiIntentData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | UpiIntentData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: is_stream_available
// File: crates/drainer/src/stream.rs
// Module: drainer
pub fn is_stream_available(&self, stream_index: u8) -> bool | crates/drainer/src/stream.rs | drainer | function_signature | null | null | null | 39 | is_stream_available | null | null | null | null | null | null |
// Implementation: impl FormattingLayer
// File: crates/router_env/src/logger/formatter.rs
// Module: router_env
// Methods: 8 total (3 public)
impl FormattingLayer | crates/router_env/src/logger/formatter.rs | router_env | impl_block | null | null | null | 38 | null | FormattingLayer | null | 8 | 3 | null | null |
// Implementation: impl api::UasPreAuthentication for for UnifiedAuthenticationService
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::UasPreAuthentication for for UnifiedAuthenticationService | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | UnifiedAuthenticationService | api::UasPreAuthentication for | 0 | 0 | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// File: crates/storage_impl/src/payouts/payout_attempt.rs
// Module: storage_impl
use std::str::FromStr;
use api_models::enums::PayoutConnectors;
use common_utils::{errors::CustomResult, ext_traits::Encode, fallback_reverse_lookup_not_found};
use diesel_models::{
enums::MerchantStorageScheme,
kv,
payout_... | crates/storage_impl/src/payouts/payout_attempt.rs | storage_impl | full_file | null | null | null | 5,599 | null | null | null | null | null | null | null |
// Implementation: impl PaymentSession for for DummyConnector
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentSession for for DummyConnector | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | DummyConnector | PaymentSession for | 0 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/klarna.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/klarna.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Struct: AverageAccumulator
// File: crates/analytics/src/sdk_events/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: SdkEventMetricAccumulator
pub struct AverageAccumulator | crates/analytics/src/sdk_events/accumulator.rs | analytics | struct_definition | AverageAccumulator | 1 | [
"SdkEventMetricAccumulator"
] | 50 | null | null | null | null | null | null | null |
// Implementation: impl Refund for for Plaid
// File: crates/hyperswitch_connectors/src/connectors/plaid.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl Refund for for Plaid | crates/hyperswitch_connectors/src/connectors/plaid.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Plaid | Refund for | 0 | 0 | null | null |
// Struct: MerchantDetails
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantDetails | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | MerchantDetails | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: find_most_specific_theme_in_lineage
// File: crates/diesel_models/src/query/user/theme.rs
// Module: diesel_models
pub fn find_most_specific_theme_in_lineage(
conn: &PgPooledConn,
lineage: ThemeLineage,
) -> StorageResult<Self> | crates/diesel_models/src/query/user/theme.rs | diesel_models | function_signature | null | null | null | 63 | find_most_specific_theme_in_lineage | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for CardNetworkTokenizeRequest
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Methods: 0 total (0 public)
impl common_utils::events::ApiEventMetric for for CardNetworkTokenizeRequest | crates/api_models/src/payment_methods.rs | api_models | impl_block | null | null | null | 63 | null | CardNetworkTokenizeRequest | common_utils::events::ApiEventMetric for | 0 | 0 | null | null |
// File: crates/router/src/types/api/files.rs
// Module: router
// Public structs: 3
use api_models::enums::FileUploadProvider;
pub use hyperswitch_domain_models::router_flow_types::files::{Retrieve, Upload};
pub use hyperswitch_interfaces::api::files::{FilePurpose, FileUpload, RetrieveFile, UploadFile};
use masking::... | crates/router/src/types/api/files.rs | router | full_file | null | null | null | 555 | null | null | null | null | null | null | null |
// Struct: MerchantAccountCreateWithoutOrgId
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct MerchantAccountCreateWithoutOrgId | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantAccountCreateWithoutOrgId | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: PaymentAttemptBatchNew
// File: crates/diesel_models/src/user/sample_data.rs
// Module: diesel_models
// Implementations: 2
pub struct PaymentAttemptBatchNew | crates/diesel_models/src/user/sample_data.rs | diesel_models | struct_definition | PaymentAttemptBatchNew | 2 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Silverflow
// File: crates/hyperswitch_connectors/src/connectors/silverflow.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Silverflow | crates/hyperswitch_connectors/src/connectors/silverflow.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Silverflow | api::PaymentSession for | 0 | 0 | null | null |
// Function: update
// File: crates/diesel_models/src/query/connector_response.rs
// Module: diesel_models
pub fn update(
self,
conn: &PgPooledConn,
connector_response: ConnectorResponseUpdate,
) -> StorageResult<Self> | crates/diesel_models/src/query/connector_response.rs | diesel_models | function_signature | null | null | null | 56 | update | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/stax.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use std::{fmt::Debug, sync::LazyLock};
use api_models::webhooks::IncomingWebhookEvent;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::Byte... | crates/hyperswitch_connectors/src/connectors/stax.rs | hyperswitch_connectors | full_file | null | null | null | 7,491 | null | null | null | null | null | null | null |
// Struct: ReferrerData
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ReferrerData | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | ReferrerData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: reset_tracking_id
// File: crates/router/src/routes/connector_onboarding.rs
// Module: router
pub fn reset_tracking_id(
state: web::Data<AppState>,
http_req: HttpRequest,
json_payload: web::Json<api_types::ResetTrackingIdRequest>,
) -> HttpResponse | crates/router/src/routes/connector_onboarding.rs | router | function_signature | null | null | null | 65 | reset_tracking_id | null | null | null | null | null | null |
// Struct: BillwerkPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BillwerkPaymentsRequest | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs | hyperswitch_connectors | struct_definition | BillwerkPaymentsRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: AdyenInvalidField
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdyenInvalidField | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | struct_definition | AdyenInvalidField | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: new
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
pub fn new(org_new: OrganizationNew) -> Self | crates/diesel_models/src/organization.rs | diesel_models | function_signature | null | null | null | 34 | new | null | null | null | null | null | null |
// File: crates/router_derive/src/macros/helpers.rs
// Module: router_derive
// Public functions: 2
use proc_macro2::Span;
use quote::ToTokens;
use syn::{parse::Parse, punctuated::Punctuated, spanned::Spanned, Attribute, Token};
pub fn non_enum_error() -> syn::Error {
syn::Error::new(Span::call_site(), "This macr... | crates/router_derive/src/macros/helpers.rs | router_derive | full_file | null | null | null | 517 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/authentication.rs
// Module: diesel_models
// Public functions: 4
use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods};
use super::generics;
use crate::{
authentication::{
Authentication, AuthenticationNew, AuthenticationUpdate, Authenticat... | crates/diesel_models/src/query/authentication.rs | diesel_models | full_file | null | null | null | 639 | null | null | null | null | null | null | null |
// Function: get_frm_filters
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_frm_filters(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<GetFrmFilterRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 66 | get_frm_filters | null | null | null | null | null | null |
// Struct: UploadFileRequest
// File: crates/api_models/src/user/theme.rs
// Module: api_models
// Implementations: 0
pub struct UploadFileRequest | crates/api_models/src/user/theme.rs | api_models | struct_definition | UploadFileRequest | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: PaymentDmnNotification
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentDmnNotification | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | PaymentDmnNotification | 0 | [] | 51 | null | null | null | null | null | null | null |
// File: crates/analytics/src/sdk_events/metrics/payment_attempts.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
sdk_events::{
SdkEventDimensions, SdkEventFilters, SdkEventMetricsBucketIdentifier, SdkEventNames,
},
Granularity, TimeRange,
};
use common_utils::e... | crates/analytics/src/sdk_events/metrics/payment_attempts.rs | analytics | full_file | null | null | null | 797 | null | null | null | null | null | null | null |
// Struct: BraintreeErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BraintreeErrorResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | BraintreeErrorResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: shutdown_listener
// File: crates/drainer/src/handler.rs
// Module: drainer
pub fn shutdown_listener(&self, mut rx: mpsc::Receiver<() | crates/drainer/src/handler.rs | drainer | function_signature | null | null | null | 39 | shutdown_listener | null | null | null | null | null | null |
// Implementation: impl MultipleCaptureSyncResponse for for GlobalpayPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl MultipleCaptureSyncResponse for for GlobalpayPaymentsResponse | crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | GlobalpayPaymentsResponse | MultipleCaptureSyncResponse for | 5 | 0 | null | null |
// Struct: SepaDetails
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SepaDetails | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | struct_definition | SepaDetails | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Archipel
// File: crates/hyperswitch_connectors/src/connectors/archipel.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Archipel | crates/hyperswitch_connectors/src/connectors/archipel.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Archipel | api::Payment for | 0 | 0 | null | null |
// Implementation: impl ApiEventMetric for for PollId
// File: crates/router/src/events/api_logs.rs
// Module: router
// Methods: 1 total (0 public)
impl ApiEventMetric for for PollId | crates/router/src/events/api_logs.rs | router | impl_block | null | null | null | 46 | null | PollId | ApiEventMetric for | 1 | 0 | null | null |
// Struct: VantivDisputeErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VantivDisputeErrorResponse | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | VantivDisputeErrorResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Xendit
// File: crates/hyperswitch_connectors/src/connectors/xendit.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Xendit | crates/hyperswitch_connectors/src/connectors/xendit.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Xendit | api::PaymentSession for | 0 | 0 | null | null |
// Function: generate_merchant_dispute_report
// File: crates/router/src/analytics.rs
// Module: router
pub fn generate_merchant_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 | 69 | generate_merchant_dispute_report | null | null | null | null | null | null |
// Implementation: impl api::PayoutCancel for for Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutCancel for for Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Nomupay | api::PayoutCancel for | 0 | 0 | null | null |
// Implementation: impl api::RefundExecute for for Gocardless
// File: crates/hyperswitch_connectors/src/connectors/gocardless.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Gocardless | crates/hyperswitch_connectors/src/connectors/gocardless.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Gocardless | api::RefundExecute for | 0 | 0 | null | null |
// Implementation: impl api::RefundExecute for for Taxjar
// File: crates/hyperswitch_connectors/src/connectors/taxjar.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Taxjar | crates/hyperswitch_connectors/src/connectors/taxjar.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Taxjar | api::RefundExecute for | 0 | 0 | null | null |
// Function: extract_connector_customer_id_from_payment_intent
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Documentation: Extract customer_id from payment intent feature metadata
pub fn extract_connector_customer_id_from_payment_intent(
&self,
) -> Res... | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 73 | extract_connector_customer_id_from_payment_intent | null | null | null | null | null | null |
// File: crates/router/src/routes/authentication.rs
// Module: router
// Public functions: 5
use actix_web::{web, HttpRequest, Responder};
use api_models::authentication::{AuthenticationAuthenticateRequest, AuthenticationCreateRequest};
#[cfg(feature = "v1")]
use api_models::authentication::{
AuthenticationEligibi... | crates/router/src/routes/authentication.rs | router | full_file | null | null | null | 1,525 | null | null | null | null | null | null | null |
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
// Public functions: 24
use common_utils::types::MinorUnit;
use nom::{
branch, bytes::complete, character::complete as pchar, combinator, error, multi, sequence,
};
use crate::{frontend::ast, types::DummyOutput};
pub type ParseResult<T, U> = nom:... | crates/euclid/src/frontend/ast/parser.rs | euclid | full_file | null | null | null | 3,362 | null | null | null | null | null | null | null |
// Function: validate
// File: crates/router/src/configs/validations.rs
// Module: router
pub fn validate(&self) -> Result<(), ApplicationError> | crates/router/src/configs/validations.rs | router | function_signature | null | null | null | 35 | validate | null | null | null | null | null | null |
// Struct: ProfileGeneralUpdate
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ProfileGeneralUpdate | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | struct_definition | ProfileGeneralUpdate | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Struct: CybersourceAuthorizationOptions
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceAuthorizationOptions | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceAuthorizationOptions | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: SilverflowPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SilverflowPaymentsResponse | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | SilverflowPaymentsResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl api::UnifiedAuthenticationService for for Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::UnifiedAuthenticationService for for Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 74 | null | Juspaythreedsserver | api::UnifiedAuthenticationService for | 0 | 0 | null | null |
// Implementation: impl api::Refund for for Novalnet
// File: crates/hyperswitch_connectors/src/connectors/novalnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Novalnet | crates/hyperswitch_connectors/src/connectors/novalnet.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Novalnet | api::Refund for | 0 | 0 | null | null |
// Struct: TesouroRouterData
// File: crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TesouroRouterData<T> | crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs | hyperswitch_connectors | struct_definition | TesouroRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl Dlocal
// File: crates/hyperswitch_connectors/src/connectors/dlocal.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Dlocal | crates/hyperswitch_connectors/src/connectors/dlocal.rs | hyperswitch_connectors | impl_block | null | null | null | 45 | null | Dlocal | null | 1 | 1 | null | null |
// Function: method
// File: crates/common_utils/src/request.rs
// Module: common_utils
pub fn method(mut self, method: Method) -> Self | crates/common_utils/src/request.rs | common_utils | function_signature | null | null | null | 33 | method | 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 |
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 6
// Public structs: 97
#[cfg(feature = "payouts")]
use api_models::payouts::{PayoutMethodData, Wallet as WalletPayout};
use api_models::{enums, webhooks::IncomingWebhookEvent};
use base6... | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Struct: ExtendedAuthorizationAppliedBool
// File: crates/common_utils/src/types/primitive_wrappers.rs
// Module: common_utils
// Implementations: 0
pub struct ExtendedAuthorizationAppliedBool | crates/common_utils/src/types/primitive_wrappers.rs | common_utils | struct_definition | ExtendedAuthorizationAppliedBool | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: update_with_id
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
pub fn update_with_id(
self,
conn: &PgPooledConn,
payment_method: payment_method::PaymentMethodUpdateInternal,
) -> StorageResult<Self> | crates/diesel_models/src/query/payment_method.rs | diesel_models | function_signature | null | null | null | 63 | update_with_id | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/behaviour.rs
// Module: hyperswitch_domain_models
use common_utils::{
errors::{CustomResult, ValidationError},
types::keymanager::{Identifier, KeyManagerState},
};
use masking::Secret;
/// Trait for converting domain types to storage models
#[async_trait::async_tr... | crates/hyperswitch_domain_models/src/behaviour.rs | hyperswitch_domain_models | full_file | null | null | null | 329 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Coingate
// File: crates/hyperswitch_connectors/src/connectors/coingate.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Coingate | crates/hyperswitch_connectors/src/connectors/coingate.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Coingate | ConnectorSpecifications for | 3 | 0 | null | null |
// Implementation: impl RefundExecute for for Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RefundExecute for for Riskified | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Riskified | RefundExecute for | 0 | 0 | null | null |
// Struct: SquareErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/square/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SquareErrorResponse | crates/hyperswitch_connectors/src/connectors/square/transformers.rs | hyperswitch_connectors | struct_definition | SquareErrorResponse | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Chargebee
// File: crates/hyperswitch_connectors/src/connectors/chargebee.rs
// Module: hyperswitch_connectors
// Methods: 9 total (0 public)
impl webhooks::IncomingWebhook for for Chargebee | crates/hyperswitch_connectors/src/connectors/chargebee.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Chargebee | webhooks::IncomingWebhook for | 9 | 0 | null | null |
// Struct: WorkflowRunner
// File: crates/router/src/bin/scheduler.rs
// Module: router
// Implementations: 0
pub struct WorkflowRunner | crates/router/src/bin/scheduler.rs | router | struct_definition | WorkflowRunner | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: MerchantKeyTransferRequest
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct MerchantKeyTransferRequest | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantKeyTransferRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: RiskifiedCustomer
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RiskifiedCustomer | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | RiskifiedCustomer | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: generate_newman_command_for_connector
// File: crates/test_utils/src/newman_runner.rs
// Module: test_utils
pub fn generate_newman_command_for_connector() -> Result<ReturnArgs> | crates/test_utils/src/newman_runner.rs | test_utils | function_signature | null | null | null | 43 | generate_newman_command_for_connector | null | null | null | null | null | null |
// Struct: HyperwalletErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HyperwalletErrorResponse | crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs | hyperswitch_connectors | struct_definition | HyperwalletErrorResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Signifyd
// File: crates/hyperswitch_connectors/src/connectors/signifyd.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Signifyd | crates/hyperswitch_connectors/src/connectors/signifyd.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Signifyd | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: delete_by_unified_code_unified_message_locale
// File: crates/diesel_models/src/query/unified_translations.rs
// Module: diesel_models
pub fn delete_by_unified_code_unified_message_locale(
conn: &PgPooledConn,
unified_code: String,
unified_message: String,
locale: String,
... | crates/diesel_models/src/query/unified_translations.rs | diesel_models | function_signature | null | null | null | 79 | delete_by_unified_code_unified_message_locale | 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.