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: redis_connection
// File: crates/router/src/connection.rs
// Module: router
pub fn redis_connection(
conf: &crate::configs::Settings,
) -> redis_interface::RedisConnectionPool | crates/router/src/connection.rs | router | function_signature | null | null | null | 43 | redis_connection | null | null | null | null | null | null |
// Trait: Tokenizable
// File: crates/router/src/types.rs
// Module: router
pub trait Tokenizable | crates/router/src/types.rs | router | trait_definition | null | null | null | 24 | null | null | Tokenizable | null | null | null | null |
// Function: transform_incoming_webhook
// File: crates/external_services/src/grpc_client/unified_connector_service.rs
// Module: external_services
// Documentation: Transforms incoming webhook through UCS
pub fn transform_incoming_webhook(
&self,
webhook_transform_request: PaymentServiceTransformRequ... | crates/external_services/src/grpc_client/unified_connector_service.rs | external_services | function_signature | null | null | null | 100 | transform_incoming_webhook | null | null | null | null | null | null |
// Implementation: impl Razorpay
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Razorpay | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | impl_block | null | null | null | 47 | null | Razorpay | null | 1 | 1 | null | null |
// Function: payouts_retrieve_core
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn payouts_retrieve_core(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id: Option<id_type::ProfileId>,
req: payouts::PayoutRetrieveRequest,
) -> RouterResponse<payouts::PayoutC... | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 82 | payouts_retrieve_core | null | null | null | null | null | null |
// Module Structure
// File: crates/diesel_models/src/lib.rs
// Module: diesel_models
// Public submodules:
pub mod address;
pub mod api_keys;
pub mod blocklist_lookup;
pub mod business_profile;
pub mod capture;
pub mod cards_info;
pub mod configs;
pub mod authentication;
pub mod authorization;
pub mod blocklist;
pub ... | crates/diesel_models/src/lib.rs | diesel_models | module_structure | null | null | null | 218 | null | null | null | null | null | 56 | 1 |
// Function: payment_method_update_api
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn payment_method_update_api() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 33 | payment_method_update_api | null | null | null | null | null | null |
// Function: update_all_merchant_accounts
// File: crates/diesel_models/src/query/merchant_account.rs
// Module: diesel_models
pub fn update_all_merchant_accounts(
conn: &PgPooledConn,
merchant_account: MerchantAccountUpdateInternal,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/merchant_account.rs | diesel_models | function_signature | null | null | null | 63 | update_all_merchant_accounts | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/boku/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Taxjar
// File: crates/hyperswitch_connectors/src/connectors/taxjar.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Taxjar | crates/hyperswitch_connectors/src/connectors/taxjar.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Taxjar | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: RetrieveFileRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RetrieveFileRequestData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | RetrieveFileRequestData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: GetVaultFingerprint
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 1
// Traits: VaultingInterface
pub struct GetVaultFingerprint | crates/router/src/types/payment_methods.rs | router | struct_definition | GetVaultFingerprint | 1 | [
"VaultingInterface"
] | 44 | null | null | null | null | null | null | null |
// File: crates/router/src/compatibility/stripe/setup_intents.rs
// Module: router
// Public functions: 4
pub mod types;
#[cfg(feature = "v1")]
use actix_web::{web, HttpRequest, HttpResponse};
#[cfg(feature = "v1")]
use api_models::payments as payment_types;
#[cfg(feature = "v1")]
use error_stack::report;
#[cfg(featur... | crates/router/src/compatibility/stripe/setup_intents.rs | router | full_file | null | null | null | 2,236 | null | null | null | null | null | null | null |
// Struct: PaymentMethodResponse
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodResponse | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodResponse | 0 | [] | 36 | null | null | null | null | null | null | null |
// Function: reinitialize_limbo_processes
// File: crates/diesel_models/src/query/process_tracker.rs
// Module: diesel_models
pub fn reinitialize_limbo_processes(
conn: &PgPooledConn,
ids: Vec<String>,
schedule_time: PrimitiveDateTime,
) -> StorageResult<usize> | crates/diesel_models/src/query/process_tracker.rs | diesel_models | function_signature | null | null | null | 65 | reinitialize_limbo_processes | null | null | null | null | null | null |
// Function: check_two_factor_auth_status_with_attempts
// File: crates/router/src/routes/user.rs
// Module: router
pub fn check_two_factor_auth_status_with_attempts(
state: web::Data<AppState>,
req: HttpRequest,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 53 | check_two_factor_auth_status_with_attempts | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/api.rs
// Module: hyperswitch_domain_models
// Public functions: 1
// Public structs: 7
use std::{collections::HashSet, fmt::Display};
use common_utils::{
events::{ApiEventMetric, ApiEventsType},
impl_api_event_type,
};
use super::payment_method_data::PaymentMeth... | crates/hyperswitch_domain_models/src/api.rs | hyperswitch_domain_models | full_file | null | null | null | 1,013 | null | null | null | null | null | null | null |
// Struct: AffirmRsyncResponse
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AffirmRsyncResponse | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | struct_definition | AffirmRsyncResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
Ok(get_status(response.kind.as_str()))
}
fn get_webhook_resource_object(
&self,
request: &IncomingWebhookRequestDetails<'_>,
) -> CustomResult<Box<dyn masking::ErasedMaskSerialize>, errors::ConnectorError> {
let notif = get_webhook_object_from_body(request.body)
... | crates/hyperswitch_connectors/src/connectors/braintree.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 2,475 | null | null | null | null | null | null | null |
// Struct: EncryptDataResponse
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
// Implementations: 0
pub struct EncryptDataResponse | crates/common_utils/src/types/keymanager.rs | common_utils | struct_definition | EncryptDataResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: CreditorAccount
// File: crates/hyperswitch_connectors/src/connectors/nordea/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CreditorAccount | crates/hyperswitch_connectors/src/connectors/nordea/requests.rs | hyperswitch_connectors | struct_definition | CreditorAccount | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/gigadat.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/gigadat.rs | hyperswitch_connectors | function_signature | null | null | null | 40 | new | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/bluecode.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/bluecode.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Function: migrate_cards_info
// File: crates/router/src/routes/cards_info.rs
// Module: router
pub fn migrate_cards_info(
state: web::Data<AppState>,
req: HttpRequest,
MultipartForm(form) | crates/router/src/routes/cards_info.rs | router | function_signature | null | null | null | 49 | migrate_cards_info | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/user.rs
// Module: diesel_models
// Public functions: 7
use common_utils::pii;
use diesel::{associations::HasTable, ExpressionMethods};
pub mod sample_data;
pub mod theme;
use crate::{
query::generics, schema::users::dsl as users_dsl, user::*, PgPooledConn, StorageResult,
... | crates/diesel_models/src/query/user.rs | diesel_models | full_file | null | null | null | 652 | null | null | null | null | null | null | null |
// Implementation: impl UserRoleInterface for for MockDb
// File: crates/router/src/db/user_role.rs
// Module: router
// Methods: 7 total (0 public)
impl UserRoleInterface for for MockDb | crates/router/src/db/user_role.rs | router | impl_block | null | null | null | 44 | null | MockDb | UserRoleInterface for | 7 | 0 | null | null |
// Implementation: impl ConstraintGraph
// File: crates/hyperswitch_constraint_graph/src/graph.rs
// Module: hyperswitch_constraint_graph
// Methods: 5 total (2 public)
impl ConstraintGraph | crates/hyperswitch_constraint_graph/src/graph.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 42 | null | ConstraintGraph | null | 5 | 2 | null | null |
// Function: get_connector_data_if_separate_authn_supported
// File: crates/router/src/core/authentication/utils.rs
// Module: router
pub fn get_connector_data_if_separate_authn_supported(
connector_call_type: &api::ConnectorCallType,
) -> Option<api::ConnectorData> | crates/router/src/core/authentication/utils.rs | router | function_signature | null | null | null | 62 | get_connector_data_if_separate_authn_supported | null | null | null | null | null | null |
// Struct: OpennodePaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OpennodePaymentsResponse | crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs | hyperswitch_connectors | struct_definition | OpennodePaymentsResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: payouts_retrieve
// File: crates/openapi/src/routes/payouts.rs
// Module: openapi
pub fn payouts_retrieve() | crates/openapi/src/routes/payouts.rs | openapi | function_signature | null | null | null | 32 | payouts_retrieve | null | null | null | null | null | null |
// Function: find_by_address_id
// File: crates/diesel_models/src/query/address.rs
// Module: diesel_models
pub fn find_by_address_id(conn: &PgPooledConn, address_id: &str) -> StorageResult<Self> | crates/diesel_models/src/query/address.rs | diesel_models | function_signature | null | null | null | 51 | find_by_address_id | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 2
use api_models::payments::QrCodeInformation;
use common_enums::{enums, PaymentMethod};
use common_utils::{
errors::CustomResult,
ext_traits::{BytesExt,... | crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 4,877 | null | null | null | null | null | null | null |
// Function: check_connector_for_dynamic_amount
// File: crates/test_utils/src/newman_runner.rs
// Module: test_utils
pub fn check_connector_for_dynamic_amount(connector_name: &str) -> (&str, Option<String>) | crates/test_utils/src/newman_runner.rs | test_utils | function_signature | null | null | null | 48 | check_connector_for_dynamic_amount | null | null | null | null | null | null |
// Struct: NoonPaymentsResponseResult
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonPaymentsResponseResult | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonPaymentsResponseResult | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: MerchantConnectorWebhookDetails
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct MerchantConnectorWebhookDetails | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantConnectorWebhookDetails | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: FraudMarkingInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FraudMarkingInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | FraudMarkingInformation | 0 | [] | 51 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/custom_serde.rs
// Module: common_utils
// Public functions: 14
//! Custom serialization/deserialization implementations.
/// Use the well-known ISO 8601 format when serializing and deserializing an
/// [`PrimitiveDateTime`][PrimitiveDateTime].
///
/// [PrimitiveDateTime]: ::time::Pri... | crates/common_utils/src/custom_serde.rs | common_utils | full_file | null | null | null | 2,362 | null | null | null | null | null | null | null |
// Struct: DeutschebankAccessTokenRequest
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankAccessTokenRequest | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankAccessTokenRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: DisputesAnalyticsMetadata
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct DisputesAnalyticsMetadata | crates/api_models/src/analytics.rs | api_models | struct_definition | DisputesAnalyticsMetadata | 0 | [] | 40 | null | null | null | null | null | null | null |
// File: crates/router/src/utils/chat.rs
// Module: router
// Public functions: 1
use api_models::chat as chat_api;
use common_utils::{type_name, types::keymanager::Identifier};
use diesel_models::hyperswitch_ai_interaction::{
HyperswitchAiInteraction, HyperswitchAiInteractionNew,
};
use error_stack::ResultExt;
us... | crates/router/src/utils/chat.rs | router | full_file | null | null | null | 655 | null | null | null | null | null | null | null |
// Struct: NordeaRouterData
// File: crates/hyperswitch_connectors/src/connectors/nordea/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NordeaRouterData<T> | crates/hyperswitch_connectors/src/connectors/nordea/requests.rs | hyperswitch_connectors | struct_definition | NordeaRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// File: crates/api_models/src/errors.rs
// Module: api_models
pub mod actix;
pub mod types;
| crates/api_models/src/errors.rs | api_models | full_file | null | null | null | 25 | null | null | null | null | null | null | null |
// Function: new
// File: crates/payment_methods/src/core/migration.rs
// Module: payment_methods
pub fn new() -> Self | crates/payment_methods/src/core/migration.rs | payment_methods | function_signature | null | null | null | 29 | new | null | null | null | null | null | null |
// Function: backfill_metadata
// File: crates/router/src/core/user/dashboard_metadata.rs
// Module: router
pub fn backfill_metadata(
state: &SessionState,
user: &UserFromToken,
key: &DBEnum,
) -> UserResult<Option<DashboardMetadata>> | crates/router/src/core/user/dashboard_metadata.rs | router | function_signature | null | null | null | 61 | backfill_metadata | null | null | null | null | null | null |
// Struct: DynamicRoutingStats
// File: crates/diesel_models/src/dynamic_routing_stats.rs
// Module: diesel_models
// Implementations: 0
pub struct DynamicRoutingStats | crates/diesel_models/src/dynamic_routing_stats.rs | diesel_models | struct_definition | DynamicRoutingStats | 0 | [] | 39 | null | null | null | null | null | null | null |
// Trait: ValidateRequest
// File: crates/router/src/core/payments/operations.rs
// Module: router
pub trait ValidateRequest<F, R, D> | crates/router/src/core/payments/operations.rs | router | trait_definition | null | null | null | 34 | null | null | ValidateRequest | null | null | null | null |
// Struct: PaypalWebhooksBody
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalWebhooksBody | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalWebhooksBody | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Barclaycard
// File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Barclaycard | crates/hyperswitch_connectors/src/connectors/barclaycard.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Barclaycard | ConnectorCommon for | 6 | 0 | null | null |
// Trait: GroupByClause
// File: crates/analytics/src/query.rs
// Module: analytics
pub trait GroupByClause<T> | crates/analytics/src/query.rs | analytics | trait_definition | null | null | null | 29 | null | null | GroupByClause | null | null | null | null |
// Struct: AuthorizeSessionTokenData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AuthorizeSessionTokenData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | AuthorizeSessionTokenData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: is_separate_version_call_required
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_separate_version_call_required(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 41 | is_separate_version_call_required | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/generics.rs
// Module: diesel_models
// Public functions: 12
use std::fmt::Debug;
use async_bb8_diesel::AsyncRunQueryDsl;
use diesel::{
associations::HasTable,
debug_query,
dsl::{Find, IsNotNull, Limit},
helper_types::{Filter, IntoBoxed},
insertable::CanInse... | crates/diesel_models/src/query/generics.rs | diesel_models | full_file | null | null | null | 4,488 | null | null | null | null | null | null | null |
// Implementation: impl Deref for for Context
// File: crates/euclid/src/backend/interpreter/types.rs
// Module: euclid
// Methods: 1 total (0 public)
impl Deref for for Context | crates/euclid/src/backend/interpreter/types.rs | euclid | impl_block | null | null | null | 46 | null | Context | Deref for | 1 | 0 | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs | hyperswitch_connectors | function_signature | null | null | null | 40 | new | null | null | null | null | null | null |
// Struct: OrderErrorDetails
// File: crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OrderErrorDetails | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs | hyperswitch_connectors | struct_definition | OrderErrorDetails | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: ConnectionConfig
// File: crates/injector/src/types.rs
// Module: injector
// Implementations: 1
pub struct ConnectionConfig | crates/injector/src/types.rs | injector | struct_definition | ConnectionConfig | 1 | [] | 33 | null | null | null | null | null | null | null |
// Implementation: impl NoEncryption
// File: crates/external_services/src/no_encryption/core.rs
// Module: external_services
// Methods: 2 total (2 public)
impl NoEncryption | crates/external_services/src/no_encryption/core.rs | external_services | impl_block | null | null | null | 40 | null | NoEncryption | null | 2 | 2 | null | null |
// File: crates/diesel_models/src/query/generic_link.rs
// Module: diesel_models
// Public functions: 7
use common_utils::{errors, ext_traits::ValueExt, link_utils::GenericLinkStatus};
use diesel::{associations::HasTable, ExpressionMethods};
use error_stack::{report, Report, ResultExt};
use super::generics;
use crate... | crates/diesel_models/src/query/generic_link.rs | diesel_models | full_file | null | null | null | 1,959 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Silverflow
// File: crates/hyperswitch_connectors/src/connectors/silverflow.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Silverflow | crates/hyperswitch_connectors/src/connectors/silverflow.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Silverflow | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl Headers
// File: crates/api_models/src/proxy.rs
// Module: api_models
// Methods: 2 total (2 public)
impl Headers | crates/api_models/src/proxy.rs | api_models | impl_block | null | null | null | 35 | null | Headers | null | 2 | 2 | null | null |
// Struct: Customer
// File: crates/diesel_models/src/customers.rs
// Module: diesel_models
// Implementations: 0
pub struct Customer | crates/diesel_models/src/customers.rs | diesel_models | struct_definition | Customer | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: NovalnetGooglePay
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetGooglePay | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetGooglePay | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 15
use common_enums::{enums, Currency};
use common_utils::{pii::Email, request::Method, types::MinorUnit};
use error_stack::ResultExt;
use hyperswitch_domain_models... | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 3,619 | null | null | null | null | null | null | null |
// Function: retrieve_mandates_list
// File: crates/router/src/core/mandate.rs
// Module: router
pub fn retrieve_mandates_list(
state: SessionState,
merchant_context: domain::MerchantContext,
constraints: api_models::mandates::MandateListConstraints,
) -> RouterResponse<Vec<api_models::mandates::MandateRes... | crates/router/src/core/mandate.rs | router | function_signature | null | null | null | 81 | retrieve_mandates_list | null | null | null | null | null | null |
// Function: get_locale_from_header
// File: crates/router/src/utils.rs
// Module: router
pub fn get_locale_from_header(headers: &actix_web::http::header::HeaderMap) -> String | crates/router/src/utils.rs | router | function_signature | null | null | null | 44 | get_locale_from_header | null | null | null | null | null | null |
// File: crates/common_utils/src/ucs_types.rs
// Module: common_utils
// Public functions: 1
use crate::id_type;
/// Represents a reference ID for the Unified Connector Service (UCS).
///
/// This enum can hold either a payment reference ID or a refund reference ID,
/// allowing for a unified way to handle different ... | crates/common_utils/src/ucs_types.rs | common_utils | full_file | null | null | null | 334 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Flexiti
// File: crates/hyperswitch_connectors/src/connectors/flexiti.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Flexiti | crates/hyperswitch_connectors/src/connectors/flexiti.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Flexiti | api::RefundExecute for | 0 | 0 | null | null |
// Function: update_with_payment_method_id
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
pub fn update_with_payment_method_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 | 67 | update_with_payment_method_id | null | null | null | null | null | null |
// Function: get_error_message
// File: crates/router/src/core/errors/chat.rs
// Module: router
pub fn get_error_message(&self) -> String | crates/router/src/core/errors/chat.rs | router | function_signature | null | null | null | 33 | get_error_message | null | null | null | null | null | null |
// Implementation: impl MerchantAccountUpdate
// File: crates/api_models/src/admin.rs
// Module: api_models
// Methods: 2 total (2 public)
impl MerchantAccountUpdate | crates/api_models/src/admin.rs | api_models | impl_block | null | null | null | 38 | null | MerchantAccountUpdate | null | 2 | 2 | null | null |
// Implementation: impl Serialize for for Secret
// File: crates/masking/src/serde.rs
// Module: masking
// Methods: 1 total (0 public)
impl Serialize for for Secret | crates/masking/src/serde.rs | masking | impl_block | null | null | null | 40 | null | Secret | Serialize for | 1 | 0 | null | null |
// Implementation: impl api::Payment for for Redsys
// File: crates/hyperswitch_connectors/src/connectors/redsys.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Redsys | crates/hyperswitch_connectors/src/connectors/redsys.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Redsys | api::Payment for | 0 | 0 | null | null |
// Function: convert_to_prost_timestamp
// File: crates/external_services/src/lib.rs
// Module: external_services
// Documentation: Converts a `time::PrimitiveDateTime` to a `prost_types::Timestamp`.
pub fn convert_to_prost_timestamp(dt: time::PrimitiveDateTime) -> prost_types::Timestamp | crates/external_services/src/lib.rs | external_services | function_signature | null | null | null | 65 | convert_to_prost_timestamp | null | null | null | null | null | null |
// Implementation: impl ProphetpayEntryMethod
// File: crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ProphetpayEntryMethod | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | ProphetpayEntryMethod | null | 1 | 0 | null | null |
// Struct: Cryptopay
// File: crates/hyperswitch_connectors/src/connectors/cryptopay.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api... | crates/hyperswitch_connectors/src/connectors/cryptopay.rs | hyperswitch_connectors | struct_definition | Cryptopay | 17 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"ConnectorCommon",
"ConnectorValidat... | 129 | null | null | null | null | null | null | null |
// Struct: PaymentsMandateReferenceRecord
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentsMandateReferenceRecord | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentsMandateReferenceRecord | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Datatrans
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Datatrans | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Datatrans | ConnectorValidation for | 1 | 0 | null | null |
// Function: upsert_surcharge_decision_config
// File: crates/router/src/core/surcharge_decision_config.rs
// Module: router
pub fn upsert_surcharge_decision_config(
_state: SessionState,
_merchant_context: domain::MerchantContext,
_request: SurchargeDecisionConfigReq,
) -> RouterResponse<SurchargeDecision... | crates/router/src/core/surcharge_decision_config.rs | router | function_signature | null | null | null | 76 | upsert_surcharge_decision_config | null | null | null | null | null | null |
// File: crates/router/src/types/domain/user/dashboard_metadata.rs
// Module: router
// Public structs: 1
use api_models::user::dashboard_metadata as api;
use diesel_models::enums::DashboardMetadata as DBEnum;
use masking::Secret;
use time::PrimitiveDateTime;
pub enum MetaData {
ProductionAgreement(ProductionAgre... | crates/router/src/types/domain/user/dashboard_metadata.rs | router | full_file | null | null | null | 668 | null | null | null | null | null | null | null |
// Function: get_inner_value
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
pub fn get_inner_value(self) -> Vec<Operation> | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 47 | get_inner_value | null | null | null | null | null | null |
// Function: validate_schema
// File: crates/router_derive/src/lib.rs
// Module: router_derive
pub fn validate_schema(input: proc_macro::TokenStream) -> proc_macro::TokenStream | crates/router_derive/src/lib.rs | router_derive | function_signature | null | null | null | 42 | validate_schema | null | null | null | null | null | null |
// Struct: Flow
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Flow | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | Flow | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: Account
// File: crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Account | crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs | hyperswitch_connectors | struct_definition | Account | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl std::error::Error for for RedisError
// File: crates/router_derive/src/lib.rs
// Module: router_derive
// Methods: 0 total (0 public)
impl std::error::Error for for RedisError | crates/router_derive/src/lib.rs | router_derive | impl_block | null | null | null | 52 | null | RedisError | std::error::Error for | 0 | 0 | null | null |
// Struct: TokenEligibilityResponse
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TokenEligibilityResponse | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | TokenEligibilityResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Wise | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: GlobalpayPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobalpayPaymentsRequest | crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs | hyperswitch_connectors | struct_definition | GlobalpayPaymentsRequest | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: get_payment_data_from_payment_id
// File: crates/router/src/routes/dummy_connector/utils.rs
// Module: router
pub fn get_payment_data_from_payment_id(
state: &SessionState,
payment_id: String,
) -> types::DummyConnectorResult<types::DummyConnectorPaymentData> | crates/router/src/routes/dummy_connector/utils.rs | router | function_signature | null | null | null | 65 | get_payment_data_from_payment_id | null | null | null | null | null | null |
// Struct: AmazonPayRedirect
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AmazonPayRedirect | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | AmazonPayRedirect | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl Serialize for for DecryptedData
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
// Methods: 1 total (0 public)
impl Serialize for for DecryptedData | crates/common_utils/src/types/keymanager.rs | common_utils | impl_block | null | null | null | 46 | null | DecryptedData | Serialize for | 1 | 0 | null | null |
// Struct: PaypalPaymentsSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalPaymentsSyncResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalPaymentsSyncResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Worldpay
// File: crates/hyperswitch_connectors/src/connectors/worldpay.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Worldpay | crates/hyperswitch_connectors/src/connectors/worldpay.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Worldpay | ConnectorSpecifications for | 3 | 0 | null | null |
// Implementation: impl PaymentMethodUpdate
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl PaymentMethodUpdate | crates/diesel_models/src/payment_method.rs | diesel_models | impl_block | null | null | null | 40 | null | PaymentMethodUpdate | null | 1 | 1 | null | null |
// Function: create_subscription
// File: crates/router/src/routes/subscription.rs
// Module: router
pub fn create_subscription(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<subscription_types::CreateSubscriptionRequest>,
) -> impl Responder | crates/router/src/routes/subscription.rs | router | function_signature | null | null | null | 61 | create_subscription | null | null | null | null | null | null |
// Implementation: impl UserRole
// File: crates/diesel_models/src/user_role.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl UserRole | crates/diesel_models/src/user_role.rs | diesel_models | impl_block | null | null | null | 36 | null | UserRole | null | 1 | 1 | null | null |
// Function: forgot_password
// File: crates/router/src/routes/user.rs
// Module: router
pub fn forgot_password(
state: web::Data<AppState>,
req: HttpRequest,
payload: web::Json<user_api::ForgotPasswordRequest>,
query: web::Query<user_api::AuthIdAndThemeIdQueryParam>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 74 | forgot_password | null | null | null | null | null | null |
// Struct: Context
// File: crates/euclid/src/backend/vir_interpreter/types.rs
// Module: euclid
// Implementations: 1
pub struct Context | crates/euclid/src/backend/vir_interpreter/types.rs | euclid | struct_definition | Context | 1 | [] | 37 | null | null | null | null | null | null | null |
// Struct: CardInformation
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardInformation | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | CardInformation | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: PaymentsDistributionAccumulator
// File: crates/analytics/src/payment_intents/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: PaymentIntentMetricAccumulator
pub struct PaymentsDistributionAccumulator | crates/analytics/src/payment_intents/accumulator.rs | analytics | struct_definition | PaymentsDistributionAccumulator | 1 | [
"PaymentIntentMetricAccumulator"
] | 52 | null | 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.