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: default
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
pub fn default(status_code: u16) -> Self | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | function_signature | null | null | null | 43 | default | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Wellsfargopayout
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Wellsfargopayout | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Wellsfargopayout | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: PollResponse
// File: crates/api_models/src/poll.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct PollResponse | crates/api_models/src/poll.rs | api_models | struct_definition | PollResponse | 1 | [
"ApiEventMetric"
] | 41 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Klarna
// File: crates/hyperswitch_connectors/src/connectors/klarna.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Klarna | crates/hyperswitch_connectors/src/connectors/klarna.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Klarna | api::PaymentSession for | 0 | 0 | null | null |
"Blackburn with Darwen" => Ok(Self::BlackburnWithDarwen),
"Blackpool" => Ok(Self::Blackpool),
"Blaenau Gwent County Borough" => Ok(Self::BlaenauGwentCountyBorough),
"Bolton" => Ok(Self::Bolton),
"Bournemouth" => Ok(Self::Bournemouth),
... | crates/hyperswitch_connectors/src/utils.rs#chunk7 | hyperswitch_connectors | chunk | null | null | null | 8,175 | null | null | null | null | null | null | null |
// Function: payments_post_session_tokens
// File: crates/openapi/src/routes/payments.rs
// Module: openapi
pub fn payments_post_session_tokens() | crates/openapi/src/routes/payments.rs | openapi | function_signature | null | null | null | 33 | payments_post_session_tokens | null | null | null | null | null | null |
// File: crates/router/tests/connectors/deutschebank.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, Cop... | crates/router/tests/connectors/deutschebank.rs | router | full_file | null | null | null | 2,936 | null | null | null | null | null | null | null |
// Struct: NoonPayPal
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonPayPal | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonPayPal | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: make_connector_decision
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn make_connector_decision(
state: &SessionState,
merchant_context: &domain::MerchantContext,
connector_call_type: api::ConnectorCallType,
payout_data: &mut PayoutData,
) -> RouterResult<()> | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 73 | make_connector_decision | null | null | null | null | null | null |
// Struct: Card
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Card | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | Card | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: get_payment_intent_dimensions
// File: crates/analytics/src/utils.rs
// Module: analytics
pub fn get_payment_intent_dimensions() -> Vec<NameDescription> | crates/analytics/src/utils.rs | analytics | function_signature | null | null | null | 36 | get_payment_intent_dimensions | null | null | null | null | null | null |
// Implementation: impl CardRange
// File: crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl CardRange | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 50 | null | CardRange | null | 1 | 1 | null | null |
// Struct: ZenMerchantAction
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ZenMerchantAction | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | ZenMerchantAction | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: SmithyEnumVariant
// File: crates/smithy-core/src/types.rs
// Module: smithy-core
// Implementations: 0
pub struct SmithyEnumVariant | crates/smithy-core/src/types.rs | smithy-core | struct_definition | SmithyEnumVariant | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: get_primary_details_as_value
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_primary_details_as_value(
&self,
) -> CustomResult<serde_json::Value, errors::ParsingError> | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 53 | get_primary_details_as_value | null | null | null | null | null | null |
// Function: get_parent_info_for_role
// File: crates/router/src/routes/user_role.rs
// Module: router
pub fn get_parent_info_for_role(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
) -> HttpResponse | crates/router/src/routes/user_role.rs | router | function_signature | null | null | null | 58 | get_parent_info_for_role | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Zen
// File: crates/hyperswitch_connectors/src/connectors/zen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Zen | crates/hyperswitch_connectors/src/connectors/zen.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Zen | api::Refund for | 0 | 0 | null | null |
// Implementation: impl Default for for DrainerSettings
// File: crates/drainer/src/settings.rs
// Module: drainer
// Methods: 1 total (0 public)
impl Default for for DrainerSettings | crates/drainer/src/settings.rs | drainer | impl_block | null | null | null | 44 | null | DrainerSettings | Default for | 1 | 0 | null | null |
// Struct: CashtocodePaymentsSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CashtocodePaymentsSyncResponse | crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs | hyperswitch_connectors | struct_definition | CashtocodePaymentsSyncResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/business_profile.rs
// Module: diesel_models
// Public functions: 7
use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods, Table};
use super::generics;
#[cfg(feature = "v1")]
use crate::schema::business_profile::dsl::{self, profile_id as dsl_identifier};... | crates/diesel_models/src/query/business_profile.rs | diesel_models | full_file | null | null | null | 827 | null | null | null | null | null | null | null |
// Struct: Health
// File: crates/drainer/src/health_check.rs
// Module: drainer
// Implementations: 1
pub struct Health | crates/drainer/src/health_check.rs | drainer | struct_definition | Health | 1 | [] | 33 | null | null | null | null | null | null | null |
// Function: check_token_status_with_tokenization_service
// File: crates/router/src/core/payment_methods/network_tokenization.rs
// Module: router
pub fn check_token_status_with_tokenization_service(
state: &routes::SessionState,
customer_id: &id_type::CustomerId,
network_token_requestor_reference_id: Str... | crates/router/src/core/payment_methods/network_tokenization.rs | router | function_signature | null | null | null | 105 | check_token_status_with_tokenization_service | null | null | null | null | null | null |
// Struct: CaptureBodyResponse
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CaptureBodyResponse | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | CaptureBodyResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: ThreeDsCheck
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDsCheck | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | ThreeDsCheck | 0 | [] | 47 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/core/pm_auth.rs
// Module: router
// Public submodules:
pub mod helpers;
pub mod transformers;
| crates/router/src/core/pm_auth.rs | router | module_structure | null | null | null | 33 | null | null | null | null | null | 2 | 0 |
// File: crates/hyperswitch_connectors/src/connectors/amazonpay.rs
// Module: hyperswitch_connectors
// Public functions: 2
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use base64::{engine::general_purpose::STANDARD, Engine};
use chrono::Utc;
use common_enums::enums;
use common_utils::{
cr... | crates/hyperswitch_connectors/src/connectors/amazonpay.rs | hyperswitch_connectors | full_file | null | null | null | 5,959 | null | null | null | null | null | null | null |
// Struct: SellerInfo
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SellerInfo | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | struct_definition | SellerInfo | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Cashtocode
// File: crates/hyperswitch_connectors/src/connectors/cashtocode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Cashtocode | crates/hyperswitch_connectors/src/connectors/cashtocode.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Cashtocode | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl HyperswitchAiInteractionInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 2 total (0 public)
impl HyperswitchAiInteractionInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 53 | null | KafkaStore | HyperswitchAiInteractionInterface for | 2 | 0 | null | null |
// Struct: BatchDecryptDataRequest
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
// Implementations: 0
pub struct BatchDecryptDataRequest | crates/common_utils/src/types/keymanager.rs | common_utils | struct_definition | BatchDecryptDataRequest | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl Configs
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Configs | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 35 | null | Configs | null | 1 | 1 | null | null |
// Struct: TokenizedBankTransferValue1
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct TokenizedBankTransferValue1 | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | TokenizedBankTransferValue1 | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Amazonpay
// File: crates/hyperswitch_connectors/src/connectors/amazonpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Amazonpay | crates/hyperswitch_connectors/src/connectors/amazonpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Amazonpay | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: Evidence
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Evidence | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | Evidence | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: OrderErrorDetails
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OrderErrorDetails | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | OrderErrorDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: FlexitiRouterData
// File: crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FlexitiRouterData<T> | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs | hyperswitch_connectors | struct_definition | FlexitiRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Bluesnap
// File: crates/hyperswitch_connectors/src/connectors/bluesnap.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Bluesnap | crates/hyperswitch_connectors/src/connectors/bluesnap.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Bluesnap | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: ConnectorFeatureMatrixResponse
// File: crates/api_models/src/feature_matrix.rs
// Module: api_models
// Implementations: 0
pub struct ConnectorFeatureMatrixResponse | crates/api_models/src/feature_matrix.rs | api_models | struct_definition | ConnectorFeatureMatrixResponse | 0 | [] | 39 | 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 |
// Implementation: impl api::ConnectorAccessToken for for Payeezy
// File: crates/hyperswitch_connectors/src/connectors/payeezy.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Payeezy | crates/hyperswitch_connectors/src/connectors/payeezy.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Payeezy | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Implementation: impl FlowMetric for for Flow
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Methods: 0 total (0 public)
impl FlowMetric for for Flow | crates/router/src/routes/dummy_connector/types.rs | router | impl_block | null | null | null | 44 | null | Flow | FlowMetric for | 0 | 0 | null | null |
// Function: close
// File: crates/drainer/src/handler.rs
// Module: drainer
pub fn close(&self) | crates/drainer/src/handler.rs | drainer | function_signature | null | null | null | 28 | close | null | null | null | null | null | null |
// File: crates/router/src/types/api.rs
// Module: router
// Public functions: 6
// Public structs: 2
pub mod admin;
pub mod api_keys;
pub mod authentication;
pub mod configs;
#[cfg(feature = "olap")]
pub mod connector_onboarding;
pub mod customers;
pub mod disputes;
pub mod enums;
pub mod ephemeral_key;
pub mod files... | crates/router/src/types/api.rs | router | full_file | null | null | null | 2,233 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Public structs: 24
use masking::Secret;
use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, PartialEq, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct WorldpayPaymentsRequest {
pub tra... | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | full_file | null | null | null | 2,384 | null | null | null | null | null | null | null |
// Function: get_capture_by_connector_capture_id
// File: crates/router/src/core/payments/types.rs
// Module: router
pub fn get_capture_by_connector_capture_id(
&self,
connector_capture_id: &String,
) -> Option<&storage::Capture> | crates/router/src/core/payments/types.rs | router | function_signature | null | null | null | 57 | get_capture_by_connector_capture_id | null | null | null | null | null | null |
// Function: get_grpc_client_interface
// File: crates/external_services/src/grpc_client.rs
// Module: external_services
pub fn get_grpc_client_interface(&self) -> Arc<GrpcClients> | crates/external_services/src/grpc_client.rs | external_services | function_signature | null | null | null | 44 | get_grpc_client_interface | null | null | null | null | null | null |
// File: crates/router/tests/connectors/coingate.rs
// Module: router
use masking::Secret;
use router::types::{self, api, storage::enums};
use crate::utils::{self, ConnectorActions};
use test_utils::connector_auth;
#[derive(Clone, Copy)]
struct CoingateTest;
impl ConnectorActions for CoingateTest {}
impl utils::Conn... | crates/router/tests/connectors/coingate.rs | router | full_file | null | null | null | 2,952 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 18
use common_enums::enums;
use common_utils::types::MinorUnit;
use error_stack::ResultExt;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{A... | crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 3,527 | null | null | null | null | null | null | null |
// Function: mk_card_value2
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn mk_card_value2(
card_security_code: Option<String>,
card_fingerprint: Option<String>,
external_id: Option<String>,
customer_id: Option<id_type::CustomerId>,
payment_method_id: Option... | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 87 | mk_card_value2 | null | null | null | null | null | null |
// Function: get_filters
// File: crates/analytics/src/payment_intents/core.rs
// Module: analytics
pub fn get_filters(
pool: &AnalyticsProvider,
req: GetPaymentIntentFiltersRequest,
merchant_id: &common_utils::id_type::MerchantId,
) -> AnalyticsResult<PaymentIntentFiltersResponse> | crates/analytics/src/payment_intents/core.rs | analytics | function_signature | null | null | null | 69 | get_filters | null | null | null | null | null | null |
// File: crates/router/tests/connectors/bamboraapac.rs
// Module: router
use masking::Secret;
use router::types::{self, api, domain, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
struct BamboraapacTest;
impl ConnectorActions for BamboraapacTest {}... | crates/router/tests/connectors/bamboraapac.rs | router | full_file | null | null | null | 2,953 | null | null | null | null | null | null | null |
// Function: calculate_smart_retry_time
// File: crates/router/src/workflows/revenue_recovery.rs
// Module: router
pub fn calculate_smart_retry_time(
state: &SessionState,
payment_intent: &PaymentIntent,
token_with_retry_info: &PaymentProcessorTokenWithRetryInfo,
) -> Result<Option<time::PrimitiveDateTime>... | crates/router/src/workflows/revenue_recovery.rs | router | function_signature | null | null | null | 78 | calculate_smart_retry_time | null | null | null | null | null | null |
// Function: trigger_refund_outgoing_webhook
// File: crates/router/src/utils.rs
// Module: router
pub fn trigger_refund_outgoing_webhook(
state: &SessionState,
merchant_account: &domain::MerchantAccount,
refund: &diesel_models::Refund,
profile_id: id_type::ProfileId,
key_store: &domain::MerchantKe... | crates/router/src/utils.rs | router | function_signature | null | null | null | 89 | trigger_refund_outgoing_webhook | null | null | null | null | null | null |
// Function: create_customer
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
pub fn create_customer(&self) -> RouterResult<api::CustomerDetails> | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | function_signature | null | null | null | 42 | create_customer | null | null | null | null | null | null |
// Struct: DisputeMetricsBucketValue
// File: crates/api_models/src/analytics/disputes.rs
// Module: api_models
// Implementations: 0
pub struct DisputeMetricsBucketValue | crates/api_models/src/analytics/disputes.rs | api_models | struct_definition | DisputeMetricsBucketValue | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl Strength
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (1 public)
impl Strength | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 40 | null | Strength | null | 1 | 1 | null | null |
// Implementation: impl api::PaymentSync for for Flexiti
// File: crates/hyperswitch_connectors/src/connectors/flexiti.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Flexiti | crates/hyperswitch_connectors/src/connectors/flexiti.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Flexiti | api::PaymentSync for | 0 | 0 | null | null |
// Struct: AddVaultRequest
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct AddVaultRequest<D> | crates/router/src/types/payment_methods.rs | router | struct_definition | AddVaultRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::PayoutRecipientAccount for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutRecipientAccount for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Stripe | api::PayoutRecipientAccount for | 0 | 0 | null | null |
// Implementation: impl SubscriptionUpdate
// File: crates/diesel_models/src/subscription.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl SubscriptionUpdate | crates/diesel_models/src/subscription.rs | diesel_models | impl_block | null | null | null | 38 | null | SubscriptionUpdate | null | 1 | 1 | 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 |
// Implementation: impl State for for CardDetailsAssigned
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
// Methods: 0 total (0 public)
impl State for for CardDetailsAssigned | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | impl_block | null | null | null | 48 | null | CardDetailsAssigned | State for | 0 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Peachpayments
// File: crates/hyperswitch_connectors/src/connectors/peachpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Peachpayments | crates/hyperswitch_connectors/src/connectors/peachpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Peachpayments | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Function: list_merchants_for_user_in_org
// File: crates/router/src/core/user.rs
// Module: router
pub fn list_merchants_for_user_in_org(
state: SessionState,
user_from_token: auth::UserFromToken,
) -> UserResponse<Vec<user_api::UserMerchantAccountResponse>> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 69 | list_merchants_for_user_in_org | null | null | null | null | null | null |
// Function: get_entity
// File: crates/router/src/services/email/types.rs
// Module: router
pub fn get_entity(&self) -> Option<&Entity> | crates/router/src/services/email/types.rs | router | function_signature | null | null | null | 34 | get_entity | null | null | null | null | null | null |
// Implementation: impl api::subscriptions::GetSubscriptionPlansFlow for for Chargebee
// File: crates/hyperswitch_connectors/src/connectors/chargebee.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::subscriptions::GetSubscriptionPlansFlow for for Chargebee | crates/hyperswitch_connectors/src/connectors/chargebee.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Chargebee | api::subscriptions::GetSubscriptionPlansFlow for | 0 | 0 | null | null |
// Function: get_encryption_management_client
// File: crates/external_services/src/managers/encryption_management.rs
// Module: external_services
// Documentation: Retrieves the appropriate encryption client based on the configuration.
pub fn get_encryption_management_client(
&self,
) -> CustomResult<Arc... | crates/external_services/src/managers/encryption_management.rs | external_services | function_signature | null | null | null | 70 | get_encryption_management_client | null | null | null | null | null | null |
// Implementation: impl Drop for for SecretBytesMut
// File: crates/masking/src/bytes.rs
// Module: masking
// Methods: 1 total (0 public)
impl Drop for for SecretBytesMut | crates/masking/src/bytes.rs | masking | impl_block | null | null | null | 44 | null | SecretBytesMut | Drop for | 1 | 0 | null | null |
// Struct: OpayoCard
// File: crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OpayoCard | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs | hyperswitch_connectors | struct_definition | OpayoCard | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: default_service_405
// File: crates/router/src/core/errors/error_handlers.rs
// Module: router
pub fn default_service_405<E>(req: ServiceRequest) -> Result<ServiceResponse, E> | crates/router/src/core/errors/error_handlers.rs | router | function_signature | null | null | null | 49 | default_service_405 | null | null | null | null | null | null |
// Struct: RazorpayError
// File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RazorpayError | crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs | hyperswitch_connectors | struct_definition | RazorpayError | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Cashtocode
// File: crates/hyperswitch_connectors/src/connectors/cashtocode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Cashtocode | crates/hyperswitch_connectors/src/connectors/cashtocode.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Cashtocode | api::Payment for | 0 | 0 | null | null |
// Struct: PayeezyAuthType
// File: crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayeezyAuthType | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | hyperswitch_connectors | struct_definition | PayeezyAuthType | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: get_account_reference_id_using_payment_merchant_connector_account_id
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn get_account_reference_id_using_payment_merchant_connector_account_id(
&self,
payment_merchant_connect... | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 79 | get_account_reference_id_using_payment_merchant_connector_account_id | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/tokenex/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 7
use common_utils::types::StringMinorUnit;
use error_stack::ResultExt;
use hyperswitch_domain_models::{
router_data::{ConnectorAuthType, ErrorResponse, RouterData},
router_flow_ty... | crates/hyperswitch_connectors/src/connectors/tokenex/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 1,662 | null | null | null | null | null | null | null |
// Struct: UnifiedAuthenticationServiceCard
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct UnifiedAuthenticationServiceCard | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | UnifiedAuthenticationServiceCard | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/analytics.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/analytics.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Struct: CardToken
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardToken | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | CardToken | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/globalpay/response.rs
// Module: hyperswitch_connectors
// Public structs: 9
use common_enums::Currency;
use common_utils::types::StringMinorUnit;
use masking::Secret;
use serde::{Deserialize, Serialize};
use crate::utils::deserialize_optional_currency;
#[derive(... | crates/hyperswitch_connectors/src/connectors/globalpay/response.rs | hyperswitch_connectors | full_file | null | null | null | 772 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/authentication.rs
// Module: hyperswitch_interfaces
// Public structs: 1
//! Authentication interface
/// struct ExternalAuthenticationPayload
#[derive(Clone, serde::Deserialize, Debug, serde::Serialize, PartialEq, Eq)]
pub struct ExternalAuthenticationPayload {
/// tran... | crates/hyperswitch_interfaces/src/authentication.rs | hyperswitch_interfaces | full_file | null | null | null | 152 | null | null | null | null | null | null | null |
// Struct: SantanderDebtor
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SantanderDebtor | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | SantanderDebtor | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: is_ephemeral_auth
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn is_ephemeral_auth<A: SessionStateInfo + Sync + Send>(
headers: &HeaderMap,
api_auth: ApiKeyAuth,
) -> RouterResult<Box<dyn AuthenticateAndFetch<AuthenticationData, A>>> | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 71 | is_ephemeral_auth | null | null | null | null | null | null |
// Struct: GsmCreateRequest
// File: crates/api_models/src/gsm.rs
// Module: api_models
// Implementations: 0
pub struct GsmCreateRequest | crates/api_models/src/gsm.rs | api_models | struct_definition | GsmCreateRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: CustomerPaymentMethodsListResponse
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct CustomerPaymentMethodsListResponse | crates/api_models/src/payment_methods.rs | api_models | struct_definition | CustomerPaymentMethodsListResponse | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: filter_based_on_profile_and_connector_type
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn filter_based_on_profile_and_connector_type(
self,
profile_id: &id_type::ProfileId,
connector_type: common_e... | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 75 | filter_based_on_profile_and_connector_type | null | null | null | null | null | null |
// Function: get_key
// File: crates/euclid/src/dssa/types.rs
// Module: euclid
pub fn get_key(&self) -> Option<dir::DirKey> | crates/euclid/src/dssa/types.rs | euclid | function_signature | null | null | null | 40 | get_key | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Gigadat
// File: crates/hyperswitch_connectors/src/connectors/gigadat.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Gigadat | crates/hyperswitch_connectors/src/connectors/gigadat.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Gigadat | api::Refund for | 0 | 0 | null | null |
// Struct: BarclaycardConsumerAuthInformationValidateRequest
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardConsumerAuthInformationValidateRequest | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardConsumerAuthInformationValidateRequest | 0 | [] | 59 | null | null | null | null | null | null | null |
// Function: get_connector_customer_id
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn get_connector_customer_id(
&self,
customer: Option<&customer::Customer>,
merchant_connector_account: &MerchantConnectorAccountTypeDetails,
) -> Option... | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 69 | get_connector_customer_id | null | null | null | null | null | null |
// Function: refund_response_wrapper
// File: crates/router/src/core/refunds.rs
// Module: router
pub fn refund_response_wrapper<F, Fut, T, Req>(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id: Option<common_utils::id_type::ProfileId>,
request: Req,
f: F,
) -> RouterResp... | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 151 | refund_response_wrapper | null | null | null | null | null | null |
// Function: update_payment_method_metadata_and_last_used
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn update_payment_method_metadata_and_last_used(
state: &routes::SessionState,
key_store: &domain::MerchantKeyStore,
db: &dyn db::StorageInterface,
pm: domain::Paymen... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 107 | update_payment_method_metadata_and_last_used | null | null | null | null | null | null |
// Function: retrieve_disputes_list
// File: crates/openapi/src/routes/disputes.rs
// Module: openapi
pub fn retrieve_disputes_list() | crates/openapi/src/routes/disputes.rs | openapi | function_signature | null | null | null | 36 | retrieve_disputes_list | null | null | null | null | null | null |
// File: crates/openapi/src/routes/three_ds_decision_rule.rs
// Module: openapi
// Public functions: 1
/// 3DS Decision - Execute
#[utoipa::path(
post,
path = "/three_ds_decision/execute",
request_body = ThreeDsDecisionRuleExecuteRequest,
responses(
(status = 200, description = "3DS Decision Ru... | crates/openapi/src/routes/three_ds_decision_rule.rs | openapi | full_file | null | null | null | 155 | null | null | null | null | null | null | null |
// Struct: Iter
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
// Implementations: 2
// Traits: Iterator
pub struct Iter<'a, K, V> | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | struct_definition | Iter | 2 | [
"Iterator"
] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Elavon
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Elavon | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Elavon | api::Payment for | 0 | 0 | null | null |
// Implementation: impl api::RefundSync for for Deutschebank
// File: crates/hyperswitch_connectors/src/connectors/deutschebank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Deutschebank | crates/hyperswitch_connectors/src/connectors/deutschebank.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Deutschebank | api::RefundSync for | 0 | 0 | null | null |
// Struct: TrustpaymentsErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct TrustpaymentsErrorResponse | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | struct_definition | TrustpaymentsErrorResponse | 1 | [] | 48 | null | null | null | null | null | null | null |
// Function: resolve_lineage_from_user_role
// File: crates/router/src/types/domain/user/decision_manager.rs
// Module: router
pub fn resolve_lineage_from_user_role(
state: &SessionState,
user_role: &UserRole,
user_id: &str,
) -> UserResult<LineageContext> | crates/router/src/types/domain/user/decision_manager.rs | router | function_signature | null | null | null | 69 | resolve_lineage_from_user_role | null | null | null | null | null | null |
// File: crates/openapi/src/routes/relay.rs
// Module: openapi
// Public functions: 2
/// Relay - Create
///
/// Creates a relay request.
#[utoipa::path(
post,
path = "/relay",
request_body(
content = RelayRequest,
examples((
"Create a relay request" = (
value = ... | crates/openapi/src/routes/relay.rs | openapi | full_file | null | null | null | 468 | null | null | null | null | null | null | null |
// Function: decide_multiplex_connector_for_normal_or_recurring_payment
// File: crates/router/src/core/payments.rs
// Module: router
pub fn decide_multiplex_connector_for_normal_or_recurring_payment<F: Clone, D>(
state: &SessionState,
payment_data: &mut D,
routing_data: &mut storage::RoutingData,
conn... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 154 | decide_multiplex_connector_for_normal_or_recurring_payment | 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.