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: JpmorganCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JpmorganCaptureRequest | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | JpmorganCaptureRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/keymanager.rs
// Module: common_utils
// Public functions: 4
//! Consists of all the common functions to use the Keymanager.
use core::fmt::Debug;
use std::str::FromStr;
use base64::Engine;
use error_stack::ResultExt;
use http::{HeaderMap, HeaderName, HeaderValue, Method, StatusCode}... | crates/common_utils/src/keymanager.rs | common_utils | full_file | null | null | null | 1,964 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/loonio.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/loonio.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/user_authentication_method.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<UserAuthenticationMethod> | crates/diesel_models/src/query/user_authentication_method.rs | diesel_models | function_signature | null | null | null | 45 | insert | null | null | null | null | null | null |
// Struct: OutgoingWebhookEvent
// File: crates/router/src/events/outgoing_webhook_logs.rs
// Module: router
// Implementations: 2
// Traits: KafkaMessage
pub struct OutgoingWebhookEvent | crates/router/src/events/outgoing_webhook_logs.rs | router | struct_definition | OutgoingWebhookEvent | 2 | [
"KafkaMessage"
] | 48 | null | null | null | null | null | null | null |
// Struct: OrganizationNew
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
// Implementations: 4
// Traits: OrganizationBridge, OrganizationBridge
pub struct OrganizationNew | crates/diesel_models/src/organization.rs | diesel_models | struct_definition | OrganizationNew | 4 | [
"OrganizationBridge",
"OrganizationBridge"
] | 44 | null | null | null | null | null | null | null |
// Function: delete_by_role_id
// File: crates/diesel_models/src/query/role.rs
// Module: diesel_models
pub fn delete_by_role_id(conn: &PgPooledConn, role_id: &str) -> StorageResult<Self> | crates/diesel_models/src/query/role.rs | diesel_models | function_signature | null | null | null | 52 | delete_by_role_id | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Authorizedotnet
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl ConnectorCommon for for Authorizedotnet | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Authorizedotnet | ConnectorCommon for | 4 | 0 | null | null |
// Struct: IntermediateSigningKey
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IntermediateSigningKey | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | IntermediateSigningKey | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 14
use std::collections::HashMap;
use common_enums::{enums, CardNetwork};
use common_utils::{
pii::{self},
request::Method,
types::StringMajorUnit,
};
use hyperswitch_domain_mod... | crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 6,341 | null | null | null | null | null | null | null |
// Implementation: impl RoutingProfileMetadata
// File: crates/diesel_models/src/routing_algorithm.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl RoutingProfileMetadata | crates/diesel_models/src/routing_algorithm.rs | diesel_models | impl_block | null | null | null | 41 | null | RoutingProfileMetadata | null | 1 | 1 | null | null |
Ok(())
}
Err(err) => {
logger::error!("open_router_update_gateway_score_error: {:?}", err);
Err(errors::RoutingError::OpenRouterError(
"Failed to update gateway score in open_router".into(),
))
}
}?;
Ok(())
}
/// success ... | crates/router/src/core/payments/routing.rs#chunk2 | router | chunk | null | null | null | 4,836 | null | null | null | null | null | null | null |
// Struct: AdyenPlatformConnectorMetadataObject
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdyenPlatformConnectorMetadataObject | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | struct_definition | AdyenPlatformConnectorMetadataObject | 0 | [] | 58 | null | null | null | null | null | null | null |
// Struct: NovalnetPaymentsRequestCustomer
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetPaymentsRequestCustomer | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetPaymentsRequestCustomer | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/mpgs.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/mpgs.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Implementation: impl GetAuthType for for ApiKeyAuth
// File: crates/router/src/services/authentication.rs
// Module: router
// Methods: 1 total (0 public)
impl GetAuthType for for ApiKeyAuth | crates/router/src/services/authentication.rs | router | impl_block | null | null | null | 47 | null | ApiKeyAuth | GetAuthType for | 1 | 0 | null | null |
// Function: start_drainer
// File: crates/drainer/src/lib.rs
// Module: drainer
pub fn start_drainer(
stores: HashMap<id_type::TenantId, Arc<Store>>,
conf: DrainerSettings,
) -> errors::DrainerResult<()> | crates/drainer/src/lib.rs | drainer | function_signature | null | null | null | 59 | start_drainer | null | null | null | null | null | null |
// Struct: ArchipelBillingAddress
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ArchipelBillingAddress | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs | hyperswitch_connectors | struct_definition | ArchipelBillingAddress | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 72 | null | Juspaythreedsserver | api::PaymentCapture for | 0 | 0 | null | null |
// File: crates/router/build.rs
// Module: router
fn main() {
// Set thread stack size to 10 MiB for debug builds
// Reference: https://doc.rust-lang.org/std/thread/#stack-size
#[cfg(debug_assertions)]
println!("cargo:rustc-env=RUST_MIN_STACK=10485760"); // 10 * 1024 * 1024 = 10 MiB
#[cfg(feature ... | crates/router/build.rs | router | full_file | null | null | null | 124 | null | null | null | null | null | null | null |
// Struct: FlattenedPaymentMethodsEnabled
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
// Implementations: 1
// Documentation: Holds the payment methods enabled for a connector
pub struct FlattenedPaymentMethodsEnabled | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | struct_definition | FlattenedPaymentMethodsEnabled | 1 | [] | 62 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/api_keys.rs
// Module: diesel_models
// Public functions: 1
// Public structs: 4
use diesel::{AsChangeset, AsExpression, Identifiable, Insertable, Queryable, Selectable};
use serde::{Deserialize, Serialize};
use time::PrimitiveDateTime;
use crate::schema::api_keys;
#[derive(
ser... | crates/diesel_models/src/api_keys.rs | diesel_models | full_file | null | null | null | 1,038 | null | null | null | null | null | null | null |
// Function: get_shipping_cost
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_shipping_cost(&self) -> Option<MinorUnit> | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 46 | get_shipping_cost | null | null | null | null | null | null |
// Struct: ConnectorInfo
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ConnectorInfo | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | struct_definition | ConnectorInfo | 0 | [] | 41 | null | null | null | null | null | null | null |
// File: crates/router/src/types/api/admin.rs
// Module: router
// Public functions: 1
// Public structs: 1
use std::collections::HashMap;
#[cfg(feature = "v2")]
pub use api_models::admin;
pub use api_models::{
admin::{
MaskedHeaders, MerchantAccountCreate, MerchantAccountDeleteResponse,
MerchantA... | crates/router/src/types/api/admin.rs | router | full_file | null | null | null | 4,671 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Bambora
// File: crates/hyperswitch_connectors/src/connectors/bambora.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Bambora | crates/hyperswitch_connectors/src/connectors/bambora.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Bambora | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl api::Payment for for Boku
// File: crates/hyperswitch_connectors/src/connectors/boku.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Boku | crates/hyperswitch_connectors/src/connectors/boku.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Boku | api::Payment for | 0 | 0 | null | null |
// Struct: MpgsCard
// File: crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MpgsCard | crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs | hyperswitch_connectors | struct_definition | MpgsCard | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: convert_currency
// File: crates/router/src/utils/currency.rs
// Module: router
pub fn convert_currency(
state: SessionState,
amount: i64,
to_currency: String,
from_currency: String,
) -> CustomResult<api_models::currency::CurrencyConversionResponse, ForexError> | crates/router/src/utils/currency.rs | router | function_signature | null | null | null | 69 | convert_currency | null | null | null | null | null | null |
// Struct: AuthEventFilterValue
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct AuthEventFilterValue | crates/api_models/src/analytics.rs | api_models | struct_definition | AuthEventFilterValue | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: pg_accounts_connection_read
// File: crates/router/src/connection.rs
// Module: router
pub fn pg_accounts_connection_read<T: storage_impl::DatabaseStore>(
store: &T,
) -> errors::CustomResult<
PooledConnection<'_, async_bb8_diesel::ConnectionManager<PgConnection>>,
storage_errors::StorageError... | crates/router/src/connection.rs | router | function_signature | null | null | null | 75 | pg_accounts_connection_read | null | null | null | null | null | null |
// Function: proxy_core
// File: crates/router/src/core/proxy.rs
// Module: router
pub fn proxy_core(
state: SessionState,
merchant_context: domain::MerchantContext,
req: proxy_api_models::ProxyRequest,
) -> RouterResponse<proxy_api_models::ProxyResponse> | crates/router/src/core/proxy.rs | router | function_signature | null | null | null | 64 | proxy_core | null | null | null | null | null | null |
// Struct: AddAcceptLanguageHeaderMiddleware
// File: crates/router/src/middleware.rs
// Module: router
// Implementations: 0
pub struct AddAcceptLanguageHeaderMiddleware<S> | crates/router/src/middleware.rs | router | struct_definition | AddAcceptLanguageHeaderMiddleware | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl Celero
// File: crates/hyperswitch_connectors/src/connectors/celero.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Celero | crates/hyperswitch_connectors/src/connectors/celero.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Celero | null | 1 | 1 | null | null |
// Implementation: impl PaymentMethodsStorageInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 0 total (0 public)
impl PaymentMethodsStorageInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 49 | null | KafkaStore | PaymentMethodsStorageInterface for | 0 | 0 | null | null |
// Implementation: impl api::Payment for for Xendit
// File: crates/hyperswitch_connectors/src/connectors/xendit.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Xendit | crates/hyperswitch_connectors/src/connectors/xendit.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Xendit | api::Payment for | 0 | 0 | null | null |
// Struct: DigitalvirgoPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DigitalvirgoPaymentsResponse | crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs | hyperswitch_connectors | struct_definition | DigitalvirgoPaymentsResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
maud::html! {
(maud::DOCTYPE)
head {
(PreEscaped(r#"<script src="https://secure.networkmerchants.com/js/v1/Gateway.js"></script>"#))
}
body style="background-color: #ffffff; padding: 20px; font-family: Ar... | crates/router/src/services/api.rs#chunk5 | router | chunk | null | null | null | 8,185 | null | null | null | null | null | null | null |
// Struct: RefundMetaData
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundMetaData | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | RefundMetaData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: trigger_event
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
pub fn trigger_event<Res, F, Fut>(
self,
state: &SessionState,
func: F,
) -> RoutingResult<RoutingEventsResponse<Res>>
where
F: FnOnce() -> Fut + Send,
Res: Serialize +... | crates/router/src/core/payments/routing/utils.rs | router | function_signature | null | null | null | 109 | trigger_event | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Authipay
// File: crates/hyperswitch_connectors/src/connectors/authipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Authipay | crates/hyperswitch_connectors/src/connectors/authipay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Authipay | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Function: create_config
// File: crates/diesel_models/src/configs.rs
// Module: diesel_models
pub fn create_config(self, source: Config) -> Config | crates/diesel_models/src/configs.rs | diesel_models | function_signature | null | null | null | 36 | create_config | null | null | null | null | null | null |
// Trait: ShouldCallConnector
// File: crates/router/src/core/payments/operations.rs
// Module: router
// Documentation: Should the connector be called for this operation
pub trait ShouldCallConnector | crates/router/src/core/payments/operations.rs | router | trait_definition | null | null | null | 42 | null | null | ShouldCallConnector | null | null | null | null |
// Struct: BluesnapCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapCaptureRequest | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapCaptureRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
PaymentMethodType::GoPay => Self::Wallet,
PaymentMethodType::Gcash => Self::Wallet,
PaymentMethodType::Mifinity => Self::Wallet,
PaymentMethodType::Ideal => Self::BankRedirect,
PaymentMethodType::Klarna => Self::PayLater,
PaymentMethodType::KakaoPa... | crates/common_enums/src/transformers.rs#chunk3 | common_enums | chunk | null | null | null | 4,881 | null | null | null | null | null | null | null |
// Struct: RedirectionFormData
// File: crates/hyperswitch_domain_models/src/api.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RedirectionFormData | crates/hyperswitch_domain_models/src/api.rs | hyperswitch_domain_models | struct_definition | RedirectionFormData | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: TrustpaymentsFilterValue
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpaymentsFilterValue | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | struct_definition | TrustpaymentsFilterValue | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: get_card_range_if_available
// File: crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
// Module: hyperswitch_connectors
pub fn get_card_range_if_available(&self) -> Option<CardRange> | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 54 | get_card_range_if_available | null | null | null | null | null | null |
// Implementation: impl api::PaymentsCompleteAuthorize for for Shift4
// File: crates/hyperswitch_connectors/src/connectors/shift4.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsCompleteAuthorize for for Shift4 | crates/hyperswitch_connectors/src/connectors/shift4.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Shift4 | api::PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// Struct: Frequency
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Frequency | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | Frequency | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl Forex
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Forex | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Forex | null | 1 | 1 | null | null |
// Function: update
// File: crates/api_models/src/open_router.rs
// Module: api_models
pub fn update(&mut self, new_config: Self) | crates/api_models/src/open_router.rs | api_models | function_signature | null | null | null | 34 | update | null | null | null | null | null | null |
// Struct: VaultRetrieveRequest
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct VaultRetrieveRequest | crates/router/src/types/payment_methods.rs | router | struct_definition | VaultRetrieveRequest | 0 | [] | 35 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/inespay.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)]
s... | crates/router/tests/connectors/inespay.rs | router | full_file | null | null | null | 2,938 | null | null | null | null | null | null | null |
// Struct: WorldpayxmlAuthType
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WorldpayxmlAuthType | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs | hyperswitch_connectors | struct_definition | WorldpayxmlAuthType | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: AuthEventMetricsResponse
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct AuthEventMetricsResponse<T> | crates/api_models/src/analytics.rs | api_models | struct_definition | AuthEventMetricsResponse | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: PayeezyPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayeezyPaymentsResponse | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | hyperswitch_connectors | struct_definition | PayeezyPaymentsResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: check_permission_exists
// File: crates/router/src/services/authorization/roles.rs
// Module: router
pub fn check_permission_exists(&self, required_permission: Permission) -> bool | crates/router/src/services/authorization/roles.rs | router | function_signature | null | null | null | 40 | check_permission_exists | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Paytm
// File: crates/hyperswitch_connectors/src/connectors/paytm.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Paytm | crates/hyperswitch_connectors/src/connectors/paytm.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Paytm | ConnectorCommon for | 6 | 0 | null | null |
// Struct: EncryptedDataGroup
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
// Implementations: 0
pub struct EncryptedDataGroup | crates/common_utils/src/types/keymanager.rs | common_utils | struct_definition | EncryptedDataGroup | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: TrustpaymentsRouterData
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpaymentsRouterData<T> | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | struct_definition | TrustpaymentsRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: negation
// File: crates/euclid/src/dssa/types.rs
// Module: euclid
pub fn negation(values: &'a [dir::DirValue], metadata: &'a Metadata) -> Self | crates/euclid/src/dssa/types.rs | euclid | function_signature | null | null | null | 47 | negation | null | null | null | null | null | null |
// Implementation: impl api::PayoutSync for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutSync for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Wise | api::PayoutSync for | 0 | 0 | null | null |
// Function: update_by_user_id_tenant_id_org_id_merchant_id_profile_id
// File: crates/diesel_models/src/query/user_role.rs
// Module: diesel_models
pub fn update_by_user_id_tenant_id_org_id_merchant_id_profile_id(
conn: &PgPooledConn,
user_id: String,
tenant_id: id_type::TenantId,
org_... | crates/diesel_models/src/query/user_role.rs | diesel_models | function_signature | null | null | null | 132 | update_by_user_id_tenant_id_org_id_merchant_id_profile_id | null | null | null | null | null | null |
// Struct: TokenioApiWrapper
// File: crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TokenioApiWrapper | crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs | hyperswitch_connectors | struct_definition | TokenioApiWrapper | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: BankRedirectRefundResponse
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankRedirectRefundResponse | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | BankRedirectRefundResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: Metadata
// File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Metadata | crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs | hyperswitch_connectors | struct_definition | Metadata | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl PollConfig
// File: crates/router/src/types.rs
// Module: router
// Methods: 1 total (1 public)
impl PollConfig | crates/router/src/types.rs | router | impl_block | null | null | null | 34 | null | PollConfig | null | 1 | 1 | null | null |
// Struct: NuveiTxnPartialApproval
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiTxnPartialApproval | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiTxnPartialApproval | 0 | [] | 57 | null | null | null | null | null | null | null |
// Function: validate_uniqueness_of_payout_id_against_merchant_id
// File: crates/router/src/core/payouts/validator.rs
// Module: router
pub fn validate_uniqueness_of_payout_id_against_merchant_id(
db: &dyn StorageInterface,
payout_id: &id_type::PayoutId,
merchant_id: &id_type::MerchantId,
storage_sche... | crates/router/src/core/payouts/validator.rs | router | function_signature | null | null | null | 107 | validate_uniqueness_of_payout_id_against_merchant_id | null | null | null | null | null | null |
// Struct: NetworkTokenExpiry
// File: crates/router/src/core/payments.rs
// Module: router
// Implementations: 0
pub struct NetworkTokenExpiry | crates/router/src/core/payments.rs | router | struct_definition | NetworkTokenExpiry | 0 | [] | 37 | 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 |
// Struct: FinixCard
// File: crates/hyperswitch_connectors/src/connectors/finix/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FinixCard | crates/hyperswitch_connectors/src/connectors/finix/transformers.rs | hyperswitch_connectors | struct_definition | FinixCard | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: DiscountCodes
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DiscountCodes | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | DiscountCodes | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: diesel_error_to_data_error
// File: crates/storage_impl/src/lib.rs
// Module: storage_impl
pub fn diesel_error_to_data_error(
diesel_error: diesel_models::errors::DatabaseError,
) -> StorageError | crates/storage_impl/src/lib.rs | storage_impl | function_signature | null | null | null | 49 | diesel_error_to_data_error | null | null | null | null | null | null |
// Function: get_decision_based_on_params
// File: crates/router/src/core/revenue_recovery/types.rs
// Module: router
pub fn get_decision_based_on_params(
state: &SessionState,
intent_status: enums::IntentStatus,
called_connector: enums::PaymentConnectorTransmission,
active_attempt_id: ... | crates/router/src/core/revenue_recovery/types.rs | router | function_signature | null | null | null | 112 | get_decision_based_on_params | null | null | null | null | null | null |
// Struct: SdkEventFiltersResponse
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct SdkEventFiltersResponse | crates/api_models/src/analytics.rs | api_models | struct_definition | SdkEventFiltersResponse | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl std::fmt::Display for for KvOperation
// File: crates/storage_impl/src/redis/kv_store.rs
// Module: storage_impl
// Methods: 1 total (0 public)
impl std::fmt::Display for for KvOperation | crates/storage_impl/src/redis/kv_store.rs | storage_impl | impl_block | null | null | null | 54 | null | KvOperation | std::fmt::Display for | 1 | 0 | null | null |
// Implementation: impl PartialEq for for AuthEventMetricsBucketIdentifier
// File: crates/api_models/src/analytics/auth_events.rs
// Module: api_models
// Methods: 1 total (0 public)
impl PartialEq for for AuthEventMetricsBucketIdentifier | crates/api_models/src/analytics/auth_events.rs | api_models | impl_block | null | null | null | 51 | null | AuthEventMetricsBucketIdentifier | PartialEq for | 1 | 0 | null | null |
// Function: profile_create
// File: crates/openapi/src/routes/profile.rs
// Module: openapi
pub fn profile_create() | crates/openapi/src/routes/profile.rs | openapi | function_signature | null | null | null | 28 | profile_create | null | null | null | null | null | null |
// Struct: BraintreeAuthType
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BraintreeAuthType | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | BraintreeAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl Mollie
// File: crates/hyperswitch_connectors/src/connectors/mollie.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Mollie | crates/hyperswitch_connectors/src/connectors/mollie.rs | hyperswitch_connectors | impl_block | null | null | null | 48 | null | Mollie | null | 1 | 1 | null | null |
// Struct: RetryFeatureData
// File: crates/common_types/src/domain.rs
// Module: common_types
// Implementations: 1
pub struct RetryFeatureData | crates/common_types/src/domain.rs | common_types | struct_definition | RetryFeatureData | 1 | [] | 35 | null | null | null | null | null | null | null |
// Struct: FlexitiPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FlexitiPaymentsResponse | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs | hyperswitch_connectors | struct_definition | FlexitiPaymentsResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
_ => None,
}
}
/// Concatenates a vector of strings without any separator
/// This is useful for creating verification messages for webhooks
pub fn concat_strings(strings: &[String]) -> String {
strings.join("")
}
fn convert_to_additional_payment_method_connector_response(
payment_option: Option<P... | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs#chunk4 | hyperswitch_connectors | chunk | null | null | null | 2,948 | null | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/core/webhooks/network_tokenization_incoming.rs
// Module: router
pub fn new(header: Option<&HeaderValue>) -> Self | crates/router/src/core/webhooks/network_tokenization_incoming.rs | router | function_signature | null | null | null | 37 | new | null | null | null | null | null | null |
// File: crates/router/tests/macros.rs
// Module: router
#[cfg(test)]
mod flat_struct_test {
#![allow(clippy::unwrap_used)]
use std::collections::HashMap;
use router_derive::FlatStruct;
use serde::Serialize;
#[test]
fn test_flat_struct() {
#[derive(FlatStruct, Serialize)]
stru... | crates/router/tests/macros.rs | router | full_file | null | null | null | 713 | null | null | null | null | null | null | null |
// Function: get_outgoing_webhook_response_content
// File: crates/router/src/core/webhooks/types.rs
// Module: router
pub fn get_outgoing_webhook_response_content(
self,
) -> webhook_events::OutgoingWebhookResponseContent | crates/router/src/core/webhooks/types.rs | router | function_signature | null | null | null | 53 | get_outgoing_webhook_response_content | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 72 | null | Juspaythreedsserver | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: AuthorizeResponse
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct AuthorizeResponse | crates/api_models/src/user.rs | api_models | struct_definition | AuthorizeResponse | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: StaxMetaData
// File: crates/hyperswitch_connectors/src/connectors/stax/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StaxMetaData | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs | hyperswitch_connectors | struct_definition | StaxMetaData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | function_signature | null | null | null | 40 | new | null | null | null | null | null | null |
// Implementation: impl ConnectorAccessToken for for Threedsecureio
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorAccessToken for for Threedsecureio | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Threedsecureio | ConnectorAccessToken for | 0 | 0 | null | null |
self.set_key_if_not_exists_and_get_value(key, (*value).to_owned(), ttl)
});
let del_result = futures::future::try_join_all(futures)
.await
.change_context(errors::RedisError::SetFailed)?;
Ok(del_result)
}
/// Sets a value in Redis if not already pre... | crates/redis_interface/src/commands.rs#chunk1 | redis_interface | chunk | null | null | null | 4,146 | null | null | null | null | null | null | null |
// Function: get_frm_dimensions
// File: crates/analytics/src/utils.rs
// Module: analytics
pub fn get_frm_dimensions() -> Vec<NameDescription> | crates/analytics/src/utils.rs | analytics | function_signature | null | null | null | 34 | get_frm_dimensions | null | null | null | null | null | null |
// Struct: RedirectPurchaseUnitItem
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RedirectPurchaseUnitItem | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | RedirectPurchaseUnitItem | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: StripeAddressDetails
// File: crates/router/src/compatibility/stripe/customers/types.rs
// Module: router
// Implementations: 0
pub struct StripeAddressDetails | crates/router/src/compatibility/stripe/customers/types.rs | router | struct_definition | StripeAddressDetails | 0 | [] | 40 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payment_intents.rs
// Module: analytics
pub mod accumulator;
mod core;
pub mod filters;
pub mod metrics;
pub mod sankey;
pub mod types;
pub use accumulator::{PaymentIntentMetricAccumulator, PaymentIntentMetricsAccumulator};
pub trait PaymentIntentAnalytics:
metrics::PaymentIntentMetr... | crates/analytics/src/payment_intents.rs | analytics | full_file | null | null | null | 98 | null | null | null | null | null | null | null |
// Implementation: impl ToTokens for for SchemaParameterVariant
// File: crates/router_derive/src/macros/schema/helpers.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl ToTokens for for SchemaParameterVariant | crates/router_derive/src/macros/schema/helpers.rs | router_derive | impl_block | null | null | null | 51 | null | SchemaParameterVariant | ToTokens for | 1 | 0 | null | null |
// Function: update
// File: crates/api_models/src/open_router.rs
// Module: api_models
pub fn update(&mut self, new_config: Self) | crates/api_models/src/open_router.rs | api_models | function_signature | null | null | null | 34 | update | 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.