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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Implementation: impl api::PaymentVoid for for Helcim
// File: crates/hyperswitch_connectors/src/connectors/helcim.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Helcim | crates/hyperswitch_connectors/src/connectors/helcim.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Helcim | api::PaymentVoid for | 0 | 0 | null | null |
// File: crates/router/src/compatibility/stripe.rs
// Module: router
// Public functions: 1
// Public structs: 1
pub mod app;
pub mod customers;
pub mod payment_intents;
pub mod refunds;
pub mod setup_intents;
pub mod webhooks;
#[cfg(feature = "v1")]
use actix_web::{web, Scope};
pub mod errors;
#[cfg(feature = "v1")]
... | crates/router/src/compatibility/stripe.rs | router | full_file | null | null | null | 254 | null | null | null | null | null | null | null |
// Function: authentication_sync_core
// File: crates/router/src/core/unified_authentication_service.rs
// Module: router
pub fn authentication_sync_core(
state: SessionState,
merchant_context: domain::MerchantContext,
auth_flow: AuthFlow,
req: AuthenticationSyncRequest,
) -> RouterResponse<Authenticat... | crates/router/src/core/unified_authentication_service.rs | router | function_signature | null | null | null | 69 | authentication_sync_core | null | null | null | null | null | null |
// Struct: ApplePayPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayPaymentInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayPaymentInformation | 0 | [] | 51 | null | null | null | null | null | null | null |
// File: crates/analytics/src/types.rs
// Module: analytics
// Public structs: 1
use std::{fmt::Display, str::FromStr};
use common_utils::{
errors::{CustomResult, ErrorSwitch, ParsingError},
events::{ApiEventMetric, ApiEventsType},
impl_api_event_type,
};
use error_stack::{report, Report, ResultExt};
use... | crates/analytics/src/types.rs | analytics | full_file | null | null | null | 997 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsPostAuthenticate for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsPostAuthenticate for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Cybersource | api::PaymentsPostAuthenticate for | 0 | 0 | null | null |
// Function: fetch_disputes
// File: crates/router/src/routes/disputes.rs
// Module: router
pub fn fetch_disputes(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
json_payload: web::Query<dispute_types::DisputeFetchQueryData>,
) -> HttpResponse | crates/router/src/routes/disputes.rs | router | function_signature | null | null | null | 75 | fetch_disputes | null | null | null | null | null | null |
// Implementation: impl CardsInfoInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 3 total (0 public)
impl CardsInfoInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 47 | null | KafkaStore | CardsInfoInterface for | 3 | 0 | null | null |
// Function: create_user_theme
// File: crates/router/src/core/user/theme.rs
// Module: router
pub fn create_user_theme(
state: SessionState,
user_from_token: UserFromToken,
request: theme_api::CreateUserThemeRequest,
) -> UserResponse<theme_api::GetThemeResponse> | crates/router/src/core/user/theme.rs | router | function_signature | null | null | null | 67 | create_user_theme | null | null | null | null | null | null |
// Struct: QrRequestData
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct QrRequestData | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | QrRequestData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: perform_surcharge_decision_management_for_payment_method_list
// File: crates/router/src/core/payment_methods/surcharge_decision_configs.rs
// Module: router
pub fn perform_surcharge_decision_management_for_payment_method_list(
state: &SessionState,
algorithm_ref: routing::RoutingAlgorithmRef,
... | crates/router/src/core/payment_methods/surcharge_decision_configs.rs | router | function_signature | null | null | null | 145 | perform_surcharge_decision_management_for_payment_method_list | null | null | null | null | null | null |
// Implementation: impl behaviour::Conversion for for PaymentIntent
// File: crates/hyperswitch_domain_models/src/payments/payment_intent.rs
// Module: hyperswitch_domain_models
// Methods: 3 total (0 public)
impl behaviour::Conversion for for PaymentIntent | crates/hyperswitch_domain_models/src/payments/payment_intent.rs | hyperswitch_domain_models | impl_block | null | null | null | 55 | null | PaymentIntent | behaviour::Conversion for | 3 | 0 | null | null |
// Function: update
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn update(&mut self, new: Self) | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 33 | update | null | null | null | null | null | null |
// Struct: BluesnapRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapRefundRequest | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapRefundRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
merchant_key_store.key.get_inner(),
)
.await?;
add_delete_tokenized_data_task(&*state.store, &lookup_key, pm).await?;
metrics::TOKENIZED_DATA_COUNT.add(1, &[]);
Ok(lookup_key)
}
#[cfg(feature = "payouts")]
#[instrument(skip_all)]
pub async fn get_payo... | crates/router/src/core/payment_methods/vault.rs#chunk1 | router | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Struct: BreadpayRouterData
// File: crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BreadpayRouterData<T> | crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs | hyperswitch_connectors | struct_definition | BreadpayRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
utils::flatten_join_error(payment_attempt_fut)
)?;
#[cfg(all(feature = "v1", feature = "dynamic_routing"))]
{
if payment_intent.status.is_in_terminal_state()
&& business_profile.dynamic_routing_algorithm.is_some()
{
let dynamic_routing_algo_ref: api_models::r... | crates/router/src/core/payments/operations/payment_response.rs#chunk2 | router | chunk | null | null | null | 8,074 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Paystack
// File: crates/hyperswitch_connectors/src/connectors/paystack.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl webhooks::IncomingWebhook for for Paystack | crates/hyperswitch_connectors/src/connectors/paystack.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Paystack | webhooks::IncomingWebhook for | 6 | 0 | null | null |
// Struct: PaypalSyncBatchResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalSyncBatchResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalSyncBatchResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/events/api_logs.rs
// Module: router
pub fn new(
tenant_id: common_utils::id_type::TenantId,
merchant_id: Option<common_utils::id_type::MerchantId>,
api_flow: &impl FlowMetric,
request_id: &RequestId,
latency: u128,
status_code... | crates/router/src/events/api_logs.rs | router | function_signature | null | null | null | 169 | new | null | null | null | null | null | null |
// File: crates/router/tests/connectors/square.rs
// Module: router
use std::{str::FromStr, time::Duration};
use masking::Secret;
use router::types::{self, storage::enums, PaymentsResponseData};
use test_utils::connector_auth::ConnectorAuthentication;
use crate::utils::{self, get_connector_transaction_id, Connector,... | crates/router/tests/connectors/square.rs | router | full_file | null | null | null | 4,300 | null | null | null | null | null | null | null |
// Struct: SignUpWithMerchantIdRequest
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct SignUpWithMerchantIdRequest | crates/api_models/src/user.rs | api_models | struct_definition | SignUpWithMerchantIdRequest | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: DwollaFundingSourceRequest
// File: crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DwollaFundingSourceRequest | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs | hyperswitch_connectors | struct_definition | DwollaFundingSourceRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: event_types
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn event_types(self) -> HashSet<EventType> | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 36 | event_types | null | null | null | null | null | null |
// Function: get_email
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_email(&self) -> UserEmail | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 32 | get_email | null | null | null | null | null | null |
// Function: enum_value_string
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn enum_value_string(input: &str) -> ParseResult<&str, String> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 45 | enum_value_string | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Finix
// File: crates/hyperswitch_connectors/src/connectors/finix.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Finix | crates/hyperswitch_connectors/src/connectors/finix.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Finix | api::PaymentCapture for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Public functions: 2
// Public structs: 1
pub mod transformers;
#[cfg(feature = "frm")]
use api_models::webhooks::{ConnectorWebhookSecrets, IncomingWebhookEvent, ObjectReferenceId};
#[cfg(feature = "frm")]
use base64... | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | full_file | null | null | null | 5,101 | null | null | null | null | null | null | null |
// File: crates/api_models/src/analytics/disputes.rs
// Module: api_models
// Public functions: 1
// Public structs: 4
use std::{
collections::hash_map::DefaultHasher,
hash::{Hash, Hasher},
};
use super::{ForexMetric, NameDescription, TimeRange};
use crate::enums::{Currency, DisputeStage};
#[derive(
Clon... | crates/api_models/src/analytics/disputes.rs | api_models | full_file | null | null | null | 968 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Wellsfargopayout
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Wellsfargopayout | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Wellsfargopayout | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: PayPalOnboardingDone
// File: crates/api_models/src/connector_onboarding.rs
// Module: api_models
// Implementations: 0
pub struct PayPalOnboardingDone | crates/api_models/src/connector_onboarding.rs | api_models | struct_definition | PayPalOnboardingDone | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: ChargebeeGetPlanPriceList
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeGetPlanPriceList | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeGetPlanPriceList | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: get_token_from_tokenization_service
// File: crates/router/src/core/payment_methods/network_tokenization.rs
// Module: router
pub fn get_token_from_tokenization_service(
state: &routes::SessionState,
network_token_requestor_ref_id: String,
pm_data: &domain::PaymentMethod,
) -> errors::RouterRe... | crates/router/src/core/payment_methods/network_tokenization.rs | router | function_signature | null | null | null | 80 | get_token_from_tokenization_service | null | null | null | null | null | null |
// Function: is_failed
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_failed(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 33 | is_failed | null | null | null | null | null | null |
// Function: execute_payment_task_response_handler
// File: crates/router/src/core/revenue_recovery/types.rs
// Module: router
pub fn execute_payment_task_response_handler(
&self,
state: &SessionState,
payment_intent: &PaymentIntent,
execute_task_process: &storage::ProcessTracker,
... | crates/router/src/core/revenue_recovery/types.rs | router | function_signature | null | null | null | 108 | execute_payment_task_response_handler | null | null | null | null | null | null |
// Function: try_get_enum_variant
// File: crates/router_derive/src/lib.rs
// Module: router_derive
pub fn try_get_enum_variant(input: proc_macro::TokenStream) -> proc_macro::TokenStream | crates/router_derive/src/lib.rs | router_derive | function_signature | null | null | null | 46 | try_get_enum_variant | null | null | null | null | null | null |
// Function: permission_groups_to_parent_group_info
// File: crates/router/src/utils/user_role.rs
// Module: router
pub fn permission_groups_to_parent_group_info(
permission_groups: &[PermissionGroup],
entity_type: EntityType,
) -> Vec<role_api::ParentGroupInfo> | crates/router/src/utils/user_role.rs | router | function_signature | null | null | null | 60 | permission_groups_to_parent_group_info | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Itaubank
// File: crates/hyperswitch_connectors/src/connectors/itaubank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Itaubank | crates/hyperswitch_connectors/src/connectors/itaubank.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Itaubank | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl api::Payment for for Stripebilling
// File: crates/hyperswitch_connectors/src/connectors/stripebilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Stripebilling | crates/hyperswitch_connectors/src/connectors/stripebilling.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Stripebilling | api::Payment for | 0 | 0 | null | null |
// File: crates/openapi/src/routes/proxy.rs
// Module: openapi
// Public functions: 1
#[cfg(feature = "v2")]
///Proxy
///
/// Create a proxy request
#[utoipa::path(
post,
path = "/proxy",
request_body(
content = ProxyRequest,
examples((
"Create a proxy request" = (
... | crates/openapi/src/routes/proxy.rs | openapi | full_file | null | null | null | 418 | null | null | null | null | null | null | null |
// Struct: DwollaPaymentLinks
// File: crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DwollaPaymentLinks | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs | hyperswitch_connectors | struct_definition | DwollaPaymentLinks | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: find_subscription
// File: crates/router/src/core/subscription.rs
// Module: router
pub fn find_subscription(
&self,
subscription_id: String,
) -> errors::RouterResult<SubscriptionWithHandler<'_>> | crates/router/src/core/subscription.rs | router | function_signature | null | null | null | 51 | find_subscription | null | null | null | null | null | null |
// Struct: ExchangeTokenCreateRequest
// File: crates/api_models/src/pm_auth.rs
// Module: api_models
// Implementations: 0
pub struct ExchangeTokenCreateRequest | crates/api_models/src/pm_auth.rs | api_models | struct_definition | ExchangeTokenCreateRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Helcim
// File: crates/hyperswitch_connectors/src/connectors/helcim.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Helcim | crates/hyperswitch_connectors/src/connectors/helcim.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Helcim | api::RefundSync for | 0 | 0 | null | null |
// Trait: ResourceExt
// File: crates/router_derive/src/macros/generate_permissions.rs
// Module: router_derive
pub trait ResourceExt | crates/router_derive/src/macros/generate_permissions.rs | router_derive | trait_definition | null | null | null | 32 | null | null | ResourceExt | null | null | null | null |
// File: crates/router/src/routes/pm_auth.rs
// Module: router
// Public functions: 2
use actix_web::{web, HttpRequest, Responder};
use api_models as api_types;
use router_env::{instrument, tracing, types::Flow};
use crate::{
core::api_locking,
routes::AppState,
services::{api, authentication as auth},
... | crates/router/src/routes/pm_auth.rs | router | full_file | null | null | null | 716 | null | null | null | null | null | null | null |
// Function: is_verified
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn is_verified(&self) -> bool | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 31 | is_verified | null | null | null | null | null | null |
// Struct: GatewayStatusMappingUpdate
// File: crates/diesel_models/src/gsm.rs
// Module: diesel_models
// Implementations: 0
pub struct GatewayStatusMappingUpdate | crates/diesel_models/src/gsm.rs | diesel_models | struct_definition | GatewayStatusMappingUpdate | 0 | [] | 39 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/forte.rs
// Module: router
use std::{str::FromStr, time::Duration};
use cards::CardNumber;
use common_utils::types::MinorUnit;
use hyperswitch_domain_models::address::{Address, AddressDetails, PhoneDetails};
use masking::Secret;
use router::types::{self, api, domain, storage::e... | crates/router/tests/connectors/forte.rs | router | full_file | null | null | null | 4,972 | null | null | null | null | null | null | null |
// File: crates/router/src/db/subscription.rs
// Module: router
use error_stack::report;
use router_env::{instrument, tracing};
use storage_impl::MockDb;
use super::Store;
use crate::{
connection,
core::errors::{self, CustomResult},
db::kafka_store::KafkaStore,
types::storage,
};
#[async_trait::async... | crates/router/src/db/subscription.rs | router | full_file | null | null | null | 1,031 | null | null | null | null | null | null | null |
// Function: retrieve_default_fallback_algorithm_for_profile
// File: crates/router/src/core/routing.rs
// Module: router
pub fn retrieve_default_fallback_algorithm_for_profile(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id: common_utils::id_type::ProfileId,
) -> RouterResponse... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 80 | retrieve_default_fallback_algorithm_for_profile | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/payout_attempt.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<PayoutAttempt> | crates/diesel_models/src/query/payout_attempt.rs | diesel_models | function_signature | null | null | null | 45 | insert | null | null | null | null | null | null |
// File: crates/analytics/src/payments/metrics/payment_success_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payments::{PaymentDimensions, PaymentFilters, PaymentMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchExt;
use dies... | crates/analytics/src/payments/metrics/payment_success_count.rs | analytics | full_file | null | null | null | 980 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Stripebilling
// File: crates/hyperswitch_connectors/src/connectors/stripebilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Stripebilling | crates/hyperswitch_connectors/src/connectors/stripebilling.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Stripebilling | api::PaymentSync for | 0 | 0 | null | null |
// Struct: ApplePayTokenPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayTokenPaymentInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayTokenPaymentInformation | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: InvoiceRecordBackData
// File: crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct InvoiceRecordBackData | crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs | hyperswitch_domain_models | struct_definition | InvoiceRecordBackData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: set_cargo_workspace_members_env
// File: crates/router_env/src/cargo_workspace.rs
// Module: router_env
pub fn set_cargo_workspace_members_env() | crates/router_env/src/cargo_workspace.rs | router_env | function_signature | null | null | null | 37 | set_cargo_workspace_members_env | null | null | null | null | null | null |
// Struct: CardSpecificFeatures
// File: crates/api_models/src/feature_matrix.rs
// Module: api_models
// Implementations: 0
pub struct CardSpecificFeatures | crates/api_models/src/feature_matrix.rs | api_models | struct_definition | CardSpecificFeatures | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: generate_signature
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// Module: hyperswitch_connectors
pub fn generate_signature(
&self,
auth: bankofamerica::BankOfAmericaAuthType,
host: String,
resource: &str,
payload: &String,
date: Of... | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs | hyperswitch_connectors | function_signature | null | null | null | 98 | generate_signature | null | null | null | null | null | null |
// Struct: AuthipayTransactionProcessingDetails
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthipayTransactionProcessingDetails | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | struct_definition | AuthipayTransactionProcessingDetails | 0 | [] | 51 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/powertranz.rs
// Module: router
use masking::Secret;
use router::types::{self, domain, storage::enums};
use crate::{
connector_auth,
utils::{self, ConnectorActions},
};
#[derive(Clone, Copy)]
struct PowertranzTest;
impl ConnectorActions for PowertranzTest {}
impl utils... | crates/router/tests/connectors/powertranz.rs | router | full_file | null | null | null | 2,943 | null | null | null | null | null | null | null |
Ok(transformers::get_payapl_webhooks_event(
payload.event_type,
outcome,
))
}
fn get_webhook_resource_object(
&self,
request: &IncomingWebhookRequestDetails<'_>,
) -> CustomResult<Box<dyn masking::ErasedMaskSerialize>, errors::ConnectorError> {
... | crates/hyperswitch_connectors/src/connectors/paypal.rs#chunk2 | hyperswitch_connectors | chunk | null | null | null | 3,662 | null | null | null | null | null | null | null |
// Struct: DummyConnectorRefundResponse
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Implementations: 1
pub struct DummyConnectorRefundResponse | crates/router/src/routes/dummy_connector/types.rs | router | struct_definition | DummyConnectorRefundResponse | 1 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Bamboraapac
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Bamboraapac | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Bamboraapac | ConnectorCommon for | 5 | 0 | null | null |
// Implementation: impl EventBuilder
// File: crates/events/src/lib.rs
// Module: events
// Methods: 3 total (3 public)
impl EventBuilder | crates/events/src/lib.rs | events | impl_block | null | null | null | 34 | null | EventBuilder | null | 3 | 3 | null | null |
// Struct: FiuuWebhooksPaymentResponse
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiuuWebhooksPaymentResponse | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | FiuuWebhooksPaymentResponse | 0 | [] | 56 | null | null | null | null | null | null | null |
// Function: reset_password
// File: crates/router/src/routes/user.rs
// Module: router
pub fn reset_password(
state: web::Data<AppState>,
req: HttpRequest,
payload: web::Json<user_api::ResetPasswordRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 57 | reset_password | null | null | null | null | null | null |
// Function: add_negative_filter_clause
// File: crates/analytics/src/query.rs
// Module: analytics
pub fn add_negative_filter_clause(
&mut self,
key: impl ToSql<T>,
value: impl ToSql<T>,
) -> QueryResult<()> | crates/analytics/src/query.rs | analytics | function_signature | null | null | null | 57 | add_negative_filter_clause | null | null | null | null | null | null |
// Function: attach_default_headers
// File: crates/common_utils/src/request.rs
// Module: common_utils
pub fn attach_default_headers(mut self) -> Self | crates/common_utils/src/request.rs | common_utils | function_signature | null | null | null | 33 | attach_default_headers | null | null | null | null | null | null |
// Implementation: impl EventsConfig
// File: crates/router/src/events.rs
// Module: router
// Methods: 2 total (1 public)
impl EventsConfig | crates/router/src/events.rs | router | impl_block | null | null | null | 34 | null | EventsConfig | null | 2 | 1 | null | null |
#[cfg(test)]
mod test {
#![allow(clippy::expect_used)]
use rustc_hash::FxHashMap;
use strum::IntoEnumIterator;
use super::*;
#[test]
fn test_consistent_dir_key_naming() {
let mut key_names: FxHashMap<DirKeyKind, String> = FxHashMap::default();
for key in DirKeyKind::iter() {
... | crates/euclid/src/frontend/dir.rs#chunk1 | euclid | chunk | null | null | null | 751 | null | null | null | null | null | null | null |
// Struct: NewUser
// File: crates/router/src/types/domain/user.rs
// Module: router
// Implementations: 1
pub struct NewUser | crates/router/src/types/domain/user.rs | router | struct_definition | NewUser | 1 | [] | 33 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/opennode.rs
// Module: router
use hyperswitch_domain_models::address::{Address, AddressDetails, PhoneDetails};
use masking::Secret;
use router::types::{self, api, domain, storage::enums};
use crate::{
connector_auth,
utils::{self, ConnectorActions},
};
#[derive(Clone, ... | crates/router/tests/connectors/opennode.rs | router | full_file | null | null | null | 1,364 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Dlocal
// File: crates/hyperswitch_connectors/src/connectors/dlocal.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Dlocal | crates/hyperswitch_connectors/src/connectors/dlocal.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Dlocal | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Function: payment
// File: crates/router/src/routes/dummy_connector/core.rs
// Module: router
pub fn payment(
state: SessionState,
req: types::DummyConnectorPaymentRequest,
) -> types::DummyConnectorResponse<types::DummyConnectorPaymentResponse> | crates/router/src/routes/dummy_connector/core.rs | router | function_signature | null | null | null | 58 | payment | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/payeezy.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::IncomingWebhookEvent;
use base64::Engine;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_trai... | crates/hyperswitch_connectors/src/connectors/payeezy.rs | hyperswitch_connectors | full_file | null | null | null | 4,880 | null | null | null | null | null | null | null |
// Struct: GetnetAuthType
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GetnetAuthType | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | GetnetAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: find_by_merchant_id_connector_txn_id
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn find_by_merchant_id_connector_txn_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
connector_txn_id: &str,
) -> StorageResult... | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 80 | find_by_merchant_id_connector_txn_id | null | null | null | null | null | null |
// Implementation: impl api::subscriptions_v2::SubscriptionsCreateV2 for for Recurly
// File: crates/hyperswitch_connectors/src/connectors/recurly.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::subscriptions_v2::SubscriptionsCreateV2 for for Recurly | crates/hyperswitch_connectors/src/connectors/recurly.rs | hyperswitch_connectors | impl_block | null | null | null | 74 | null | Recurly | api::subscriptions_v2::SubscriptionsCreateV2 for | 0 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Airwallex
// File: crates/hyperswitch_connectors/src/connectors/airwallex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Airwallex | crates/hyperswitch_connectors/src/connectors/airwallex.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Airwallex | ConnectorValidation for | 0 | 0 | null | null |
// Struct: ChargebeeWebhookContent
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeWebhookContent | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeWebhookContent | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Santander
// File: crates/hyperswitch_connectors/src/connectors/santander.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Santander | crates/hyperswitch_connectors/src/connectors/santander.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Santander | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: CheckbookPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/checkbook/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckbookPaymentsResponse | crates/hyperswitch_connectors/src/connectors/checkbook/transformers.rs | hyperswitch_connectors | struct_definition | CheckbookPaymentsResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: PaypalMethodData
// File: crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalMethodData | crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs | hyperswitch_connectors | struct_definition | PaypalMethodData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: evaluate_routing_rule
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn evaluate_routing_rule(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<RoutingEvaluateRequest>,
) -> impl Responder | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 60 | evaluate_routing_rule | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: StripeBillingDetails
// File: crates/router/src/compatibility/stripe/setup_intents/types.rs
// Module: router
// Implementations: 0
pub struct StripeBillingDetails | crates/router/src/compatibility/stripe/setup_intents/types.rs | router | struct_definition | StripeBillingDetails | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: MonerisCancelRequest
// File: crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MonerisCancelRequest | crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs | hyperswitch_connectors | struct_definition | MonerisCancelRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: get_recon_token
// File: crates/router/src/routes/recon.rs
// Module: router
pub fn get_recon_token(state: web::Data<AppState>, req: HttpRequest) -> HttpResponse | crates/router/src/routes/recon.rs | router | function_signature | null | null | null | 44 | get_recon_token | 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: HandlerInner
// File: crates/drainer/src/handler.rs
// Module: drainer
// Implementations: 0
pub struct HandlerInner | crates/drainer/src/handler.rs | drainer | struct_definition | HandlerInner | 0 | [] | 34 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/file.rs
// Module: diesel_models
// Public functions: 4
use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods};
use super::generics;
use crate::{
errors,
file::{FileMetadata, FileMetadataNew, FileMetadataUpdate, FileMetadataUpdateInternal},
s... | crates/diesel_models/src/query/file.rs | diesel_models | full_file | null | null | null | 495 | null | null | null | null | null | null | null |
// Struct: IatapayErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IatapayErrorResponse | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs | hyperswitch_connectors | struct_definition | IatapayErrorResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Stripebilling
// File: crates/hyperswitch_connectors/src/connectors/stripebilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Stripebilling | crates/hyperswitch_connectors/src/connectors/stripebilling.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Stripebilling | ConnectorValidation for | 0 | 0 | null | null |
// Struct: WalletPayment
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WalletPayment | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | struct_definition | WalletPayment | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: RedirectResponsePayload
// File: crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RedirectResponsePayload | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs | hyperswitch_connectors | struct_definition | RedirectResponsePayload | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: SignifydWebhookBody
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SignifydWebhookBody | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs | hyperswitch_connectors | struct_definition | SignifydWebhookBody | 0 | [] | 55 | null | null | null | null | null | null | null |
// Trait: GetLockingInput
// File: crates/router/src/core/api_locking.rs
// Module: router
pub trait GetLockingInput | crates/router/src/core/api_locking.rs | router | trait_definition | null | null | null | 31 | null | null | GetLockingInput | null | null | null | null |
// Struct: DefaultPaymentMethod
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct DefaultPaymentMethod | crates/api_models/src/payment_methods.rs | api_models | struct_definition | DefaultPaymentMethod | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Square
// File: crates/hyperswitch_connectors/src/connectors/square.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Square | crates/hyperswitch_connectors/src/connectors/square.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Square | ConnectorSpecifications for | 3 | 0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.