id
stringlengths 20
153
| type
stringclasses 1
value | granularity
stringclasses 14
values | content
stringlengths 16
84.3k
| metadata
dict |
|---|---|---|---|---|
hyperswitch_struct_storage_impl_5375270833247201958
|
clm
|
struct
|
// hyperswitch/crates/storage_impl/src/mock_db.rs
pub struct MockDb {
pub addresses: Arc<Mutex<Vec<store::Address>>>,
pub configs: Arc<Mutex<Vec<store::Config>>>,
pub merchant_accounts: Arc<Mutex<Vec<store::MerchantAccount>>>,
pub merchant_connector_accounts: Arc<Mutex<Vec<store::MerchantConnectorAccount>>>,
pub payment_attempts: Arc<Mutex<Vec<PaymentAttempt>>>,
pub payment_intents: Arc<Mutex<Vec<PaymentIntent>>>,
pub payment_methods: Arc<Mutex<Vec<store::PaymentMethod>>>,
pub customers: Arc<Mutex<Vec<store::Customer>>>,
pub refunds: Arc<Mutex<Vec<store::Refund>>>,
pub processes: Arc<Mutex<Vec<store::ProcessTracker>>>,
pub redis: Arc<RedisStore>,
pub api_keys: Arc<Mutex<Vec<store::ApiKey>>>,
pub ephemeral_keys: Arc<Mutex<Vec<store::EphemeralKey>>>,
pub cards_info: Arc<Mutex<Vec<store::CardInfo>>>,
pub events: Arc<Mutex<Vec<store::Event>>>,
pub disputes: Arc<Mutex<Vec<store::Dispute>>>,
pub lockers: Arc<Mutex<Vec<store::LockerMockUp>>>,
pub mandates: Arc<Mutex<Vec<store::Mandate>>>,
pub captures: Arc<Mutex<Vec<store::capture::Capture>>>,
pub merchant_key_store: Arc<Mutex<Vec<store::merchant_key_store::MerchantKeyStore>>>,
#[cfg(all(feature = "v2", feature = "tokenization_v2"))]
pub tokenizations: Arc<Mutex<Vec<store::tokenization::Tokenization>>>,
pub business_profiles: Arc<Mutex<Vec<store::business_profile::Profile>>>,
pub reverse_lookups: Arc<Mutex<Vec<store::ReverseLookup>>>,
pub payment_link: Arc<Mutex<Vec<store::payment_link::PaymentLink>>>,
pub organizations: Arc<Mutex<Vec<store::organization::Organization>>>,
pub users: Arc<Mutex<Vec<store::user::User>>>,
pub user_roles: Arc<Mutex<Vec<store::user_role::UserRole>>>,
pub authorizations: Arc<Mutex<Vec<store::authorization::Authorization>>>,
pub dashboard_metadata: Arc<Mutex<Vec<store::user::dashboard_metadata::DashboardMetadata>>>,
#[cfg(feature = "payouts")]
pub payout_attempt: Arc<Mutex<Vec<store::payout_attempt::PayoutAttempt>>>,
#[cfg(feature = "payouts")]
pub payouts: Arc<Mutex<Vec<store::payouts::Payouts>>>,
pub authentications: Arc<Mutex<Vec<store::authentication::Authentication>>>,
pub roles: Arc<Mutex<Vec<store::role::Role>>>,
pub user_key_store: Arc<Mutex<Vec<store::user_key_store::UserKeyStore>>>,
pub user_authentication_methods:
Arc<Mutex<Vec<store::user_authentication_method::UserAuthenticationMethod>>>,
pub themes: Arc<Mutex<Vec<store::user::theme::Theme>>>,
pub hyperswitch_ai_interactions:
Arc<Mutex<Vec<store::hyperswitch_ai_interaction::HyperswitchAiInteraction>>>,
}
|
{
"chunk": null,
"crate": "storage_impl",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MockDb",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_storage_impl_1561251089258169281
|
clm
|
struct
|
// hyperswitch/crates/storage_impl/src/config.rs
pub struct Database {
pub username: String,
pub password: Secret<String>,
pub host: String,
pub port: u16,
pub dbname: String,
pub pool_size: u32,
pub connection_timeout: u64,
pub queue_strategy: QueueStrategy,
pub min_idle: Option<u32>,
pub max_lifetime: Option<u64>,
}
|
{
"chunk": null,
"crate": "storage_impl",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Database",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_storage_impl_-375243203472388013
|
clm
|
struct
|
// hyperswitch/crates/storage_impl/src/lib.rs
pub struct RouterStore<T: DatabaseStore> {
db_store: T,
cache_store: Arc<RedisStore>,
master_encryption_key: StrongSecret<Vec<u8>>,
pub request_id: Option<String>,
}
|
{
"chunk": null,
"crate": "storage_impl",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RouterStore",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_storage_impl_4330253593921957247
|
clm
|
struct
|
// hyperswitch/crates/storage_impl/src/kv_router_store.rs
pub struct KVRouterStore<T: DatabaseStore> {
pub router_store: RouterStore<T>,
drainer_stream_name: String,
drainer_num_partitions: u8,
pub ttl_for_kv: u32,
pub request_id: Option<String>,
pub soft_kill_mode: bool,
}
|
{
"chunk": null,
"crate": "storage_impl",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "KVRouterStore",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_storage_impl_2307558072492384191
|
clm
|
struct
|
// hyperswitch/crates/storage_impl/src/redis.rs
pub struct RedisStore {
// Maybe expose the redis_conn via traits instead of the making the field public
pub(crate) redis_conn: Arc<redis_interface::RedisConnectionPool>,
}
|
{
"chunk": null,
"crate": "storage_impl",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RedisStore",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_storage_impl_-31077219724339155
|
clm
|
struct
|
// hyperswitch/crates/storage_impl/src/database/store.rs
pub struct Store {
pub master_pool: PgPool,
pub accounts_pool: PgPool,
}
|
{
"chunk": null,
"crate": "storage_impl",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Store",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_storage_impl_-7814038571983681987
|
clm
|
struct
|
// hyperswitch/crates/storage_impl/src/database/store.rs
pub struct ReplicaStore {
pub master_pool: PgPool,
pub replica_pool: PgPool,
pub accounts_master_pool: PgPool,
pub accounts_replica_pool: PgPool,
}
|
{
"chunk": null,
"crate": "storage_impl",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ReplicaStore",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_storage_impl_-4180968018098350322
|
clm
|
struct
|
// hyperswitch/crates/storage_impl/src/database/store.rs
struct TestTransaction;
|
{
"chunk": null,
"crate": "storage_impl",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "TestTransaction",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_storage_impl_-7943217537288622707
|
clm
|
struct
|
// hyperswitch/crates/storage_impl/src/redis/cache.rs
pub struct CacheRedact<'a> {
pub tenant: String,
pub kind: CacheKind<'a>,
}
|
{
"chunk": null,
"crate": "storage_impl",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CacheRedact",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_storage_impl_2384390359833524275
|
clm
|
struct
|
// hyperswitch/crates/storage_impl/src/redis/cache.rs
pub struct CacheKey {
pub key: String,
// #TODO: make it usage specific enum Eg: CacheKind { Tenant(String), NoTenant, Partition(String) }
pub prefix: String,
}
|
{
"chunk": null,
"crate": "storage_impl",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CacheKey",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-1585564477911680168
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/request.rs
pub struct Request {
pub url: String,
pub headers: Headers,
pub method: Method,
pub certificate: Option<Secret<String>>,
pub certificate_key: Option<Secret<String>>,
pub body: Option<RequestContent>,
pub ca_certificate: Option<Secret<String>>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Request",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-3438442305339015980
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/request.rs
pub struct RequestBuilder {
pub url: String,
pub headers: Headers,
pub method: Method,
pub certificate: Option<Secret<String>>,
pub certificate_key: Option<Secret<String>>,
pub body: Option<RequestContent>,
pub ca_certificate: Option<Secret<String>>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RequestBuilder",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-292884564440948961
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct Percentage<const PRECISION: u8> {
// this value will range from 0 to 100, decimal length defined by precision macro
/// Percentage value ranging between 0 and 100
percentage: f32,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Percentage",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_3935376534253053155
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct SemanticVersion(#[serde(with = "Version")] Version);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "SemanticVersion",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-3096543680959556405
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct StringMinorUnitForConnector;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StringMinorUnitForConnector",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-8386878208380106713
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct StringMajorUnitForCore;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StringMajorUnitForCore",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-5249675114867011393
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct StringMajorUnitForConnector;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StringMajorUnitForConnector",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_6251663781280889676
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct FloatMajorUnitForConnector;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "FloatMajorUnitForConnector",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-5987845205405199105
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct MinorUnitForConnector;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MinorUnitForConnector",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-4824949961226724728
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct MinorUnit(i64);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MinorUnit",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_6096611811323308303
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct StringMinorUnit(String);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StringMinorUnit",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-2144535781456690477
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct FloatMajorUnit(f64);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "FloatMajorUnit",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-1516731028535397968
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct StringMajorUnit(String);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StringMajorUnit",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_3695562996748375824
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct TimeRange {
/// The start time to filter payments list or to get list of filters. To get list of filters start time is needed to be passed
#[serde(with = "crate::custom_serde::iso8601")]
#[serde(alias = "startTime")]
pub start_time: PrimitiveDateTime,
/// The end time to filter payments list or to get list of filters. If not passed the default time is now
#[serde(default, with = "crate::custom_serde::iso8601::option")]
#[serde(alias = "endTime")]
pub end_time: Option<PrimitiveDateTime>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "TimeRange",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_1624249461131161894
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub(crate) struct LengthString<const MAX_LENGTH: u16, const MIN_LENGTH: u16>(String);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "LengthString",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-8194980328256334736
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct Description(LengthString<MAX_DESCRIPTION_LENGTH, 1>);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Description",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-6924127647744046914
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct StatementDescriptor(LengthString<MAX_STATEMENT_DESCRIPTOR_LENGTH, 1>);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StatementDescriptor",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_8490116116394910772
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct UnifiedCode(pub String);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "UnifiedCode",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-2859263090365267677
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct UnifiedMessage(pub String);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "UnifiedMessage",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-1862255278184397362
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct BrowserInformation {
/// Color depth supported by the browser
pub color_depth: Option<u8>,
/// Whether java is enabled in the browser
pub java_enabled: Option<bool>,
/// Whether javascript is enabled in the browser
pub java_script_enabled: Option<bool>,
/// Language supported
pub language: Option<String>,
/// The screen height in pixels
pub screen_height: Option<u32>,
/// The screen width in pixels
pub screen_width: Option<u32>,
/// Time zone of the client
pub time_zone: Option<i32>,
/// Ip address of the client
#[schema(value_type = Option<String>)]
pub ip_address: Option<std::net::IpAddr>,
/// List of headers that are accepted
#[schema(
example = "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
)]
pub accept_header: Option<String>,
/// User-agent of the browser
pub user_agent: Option<String>,
/// The os type of the client device
pub os_type: Option<String>,
/// The os version of the client device
pub os_version: Option<String>,
/// The device model of the client
pub device_model: Option<String>,
/// Accept-language of the browser
pub accept_language: Option<String>,
/// Identifier of the source that initiated the request.
pub referer: Option<String>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "BrowserInformation",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_365201788405140444
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types.rs
pub struct PublishableKey(LengthString<PUBLISHABLE_KEY_LENGTH, PUBLISHABLE_KEY_LENGTH>);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PublishableKey",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-6854493363532925935
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/encryption.rs
pub struct Encryption {
inner: Secret<Vec<u8>, EncryptionStrategy>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Encryption",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-3837081198714795910
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/lib.rs
pub struct DDMMYYYY;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "DDMMYYYY",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-4648326798029349110
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/lib.rs
pub struct YYYYMMDD;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "YYYYMMDD",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_3157380305941589466
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/lib.rs
pub struct YYYYMMDDHHmmss;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "YYYYMMDDHHmmss",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_6827862672104061530
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/lib.rs
pub struct DateTime<T: TimeStrategy> {
inner: PhantomData<T>,
value: PrimitiveDateTime,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "DateTime",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_4589232671974945377
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/new_type.rs
pub struct MaskedSortCode(Secret<String>);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MaskedSortCode",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-7231357190590085194
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/new_type.rs
pub struct MaskedRoutingNumber(Secret<String>);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MaskedRoutingNumber",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-5196888998078542158
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/new_type.rs
pub struct MaskedBankAccount(Secret<String>);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MaskedBankAccount",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-8274492532325017017
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/new_type.rs
pub struct MaskedIban(Secret<String>);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MaskedIban",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_1195260569187363356
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/new_type.rs
pub struct MaskedBic(Secret<String>);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MaskedBic",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_9125611489679869174
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/new_type.rs
pub struct MaskedUpiVpaId(Secret<String>);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MaskedUpiVpaId",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_3515630511681002989
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/new_type.rs
pub struct MaskedEmail(Secret<String>);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MaskedEmail",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_653547909612738240
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/new_type.rs
pub struct MaskedPhoneNumber(Secret<String>);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MaskedPhoneNumber",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_5820363450684015126
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/signals.rs
pub struct DummySignal;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "DummySignal",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_655732502204500211
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/validation.rs
struct ValidEmail;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ValidEmail",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-5214672462219700264
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/pii.rs
pub struct PhoneNumber(Secret<String, PhoneNumberStrategy>);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PhoneNumber",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_7991107670579534962
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/pii.rs
pub struct Email(Secret<String, EmailStrategy>);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Email",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-3980311203316196985
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/errors.rs
pub struct IntegrityCheckError {
/// Field names for which integrity check failed!
pub field_names: String,
/// Connector transaction reference id
pub connector_transaction_id: Option<String>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "IntegrityCheckError",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_635240924337925933
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/id_type.rs
pub(crate) struct LengthId<const MAX_LENGTH: u8, const MIN_LENGTH: u8>(AlphaNumericId);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "LengthId",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-1174939718971064414
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/payout_method_utils.rs
pub struct CardAdditionalData {
/// Issuer of the card
pub card_issuer: Option<String>,
/// Card network of the card
#[schema(value_type = Option<CardNetwork>)]
pub card_network: Option<common_enums::CardNetwork>,
/// Card type, can be either `credit` or `debit`
pub card_type: Option<String>,
/// Card issuing country
pub card_issuing_country: Option<String>,
/// Code for Card issuing bank
pub bank_code: Option<String>,
/// Last 4 digits of the card number
pub last4: Option<String>,
/// The ISIN of the card
pub card_isin: Option<String>,
/// Extended bin of card, contains the first 8 digits of card number
pub card_extended_bin: Option<String>,
/// Card expiry month
#[schema(value_type = String, example = "01")]
pub card_exp_month: Option<Secret<String>>,
/// Card expiry year
#[schema(value_type = String, example = "2026")]
pub card_exp_year: Option<Secret<String>>,
/// Card holder name
#[schema(value_type = String, example = "John Doe")]
pub card_holder_name: Option<Secret<String>>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CardAdditionalData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_6514578976845649125
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/payout_method_utils.rs
pub struct AchBankTransferAdditionalData {
/// Partially masked account number for ach bank debit payment
#[schema(value_type = String, example = "0001****3456")]
pub bank_account_number: MaskedBankAccount,
/// Partially masked routing number for ach bank debit payment
#[schema(value_type = String, example = "110***000")]
pub bank_routing_number: MaskedRoutingNumber,
/// Name of the bank
#[schema(value_type = Option<BankNames>, example = "Deutsche Bank")]
pub bank_name: Option<String>,
/// Bank country code
#[schema(value_type = Option<CountryAlpha2>, example = "US")]
pub bank_country_code: Option<common_enums::CountryAlpha2>,
/// Bank city
#[schema(value_type = Option<String>, example = "California")]
pub bank_city: Option<String>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AchBankTransferAdditionalData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_8444609946634149111
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/payout_method_utils.rs
pub struct BacsBankTransferAdditionalData {
/// Partially masked sort code for Bacs payment method
#[schema(value_type = String, example = "108800")]
pub bank_sort_code: MaskedSortCode,
/// Bank account's owner name
#[schema(value_type = String, example = "0001****3456")]
pub bank_account_number: MaskedBankAccount,
/// Bank name
#[schema(value_type = Option<String>, example = "Deutsche Bank")]
pub bank_name: Option<String>,
/// Bank country code
#[schema(value_type = Option<CountryAlpha2>, example = "US")]
pub bank_country_code: Option<common_enums::CountryAlpha2>,
/// Bank city
#[schema(value_type = Option<String>, example = "California")]
pub bank_city: Option<String>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "BacsBankTransferAdditionalData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-8076861264446493725
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/payout_method_utils.rs
pub struct SepaBankTransferAdditionalData {
/// Partially masked international bank account number (iban) for SEPA
#[schema(value_type = String, example = "DE8937******013000")]
pub iban: MaskedIban,
/// Bank name
#[schema(value_type = Option<String>, example = "Deutsche Bank")]
pub bank_name: Option<String>,
/// Bank country code
#[schema(value_type = Option<CountryAlpha2>, example = "US")]
pub bank_country_code: Option<common_enums::CountryAlpha2>,
/// Bank city
#[schema(value_type = Option<String>, example = "California")]
pub bank_city: Option<String>,
/// [8 / 11 digits] Bank Identifier Code (bic) / Swift Code - used in many countries for identifying a bank and it's branches
#[schema(value_type = Option<String>, example = "HSBCGB2LXXX")]
pub bic: Option<MaskedBic>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "SepaBankTransferAdditionalData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-6608143349827663576
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/payout_method_utils.rs
pub struct PixBankTransferAdditionalData {
/// Partially masked unique key for pix transfer
#[schema(value_type = String, example = "a1f4102e ****** 6fa48899c1d1")]
pub pix_key: MaskedBankAccount,
/// Partially masked CPF - CPF is a Brazilian tax identification number
#[schema(value_type = Option<String>, example = "**** 124689")]
pub tax_id: Option<MaskedBankAccount>,
/// Bank account number is an unique identifier assigned by a bank to a customer.
#[schema(value_type = String, example = "**** 23456")]
pub bank_account_number: MaskedBankAccount,
/// Bank name
#[schema(value_type = Option<String>, example = "Deutsche Bank")]
pub bank_name: Option<String>,
/// Bank branch
#[schema(value_type = Option<String>, example = "3707")]
pub bank_branch: Option<String>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PixBankTransferAdditionalData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_6603938212792615896
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/payout_method_utils.rs
pub struct PaypalAdditionalData {
/// Email linked with paypal account
#[schema(value_type = Option<String>, example = "john.doe@example.com")]
pub email: Option<MaskedEmail>,
/// mobile number linked to paypal account
#[schema(value_type = Option<String>, example = "******* 3349")]
pub telephone_number: Option<MaskedPhoneNumber>,
/// id of the paypal account
#[schema(value_type = Option<String>, example = "G83K ***** HCQ2")]
pub paypal_id: Option<MaskedBankAccount>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaypalAdditionalData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-8184698515424566662
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/payout_method_utils.rs
pub struct VenmoAdditionalData {
/// mobile number linked to venmo account
#[schema(value_type = Option<String>, example = "******* 3349")]
pub telephone_number: Option<MaskedPhoneNumber>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "VenmoAdditionalData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-4859593598894272169
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/payout_method_utils.rs
pub struct ApplePayDecryptAdditionalData {
/// Card expiry month
#[schema(value_type = String, example = "01")]
pub card_exp_month: Secret<String>,
/// Card expiry year
#[schema(value_type = String, example = "2026")]
pub card_exp_year: Secret<String>,
/// Card holder name
#[schema(value_type = String, example = "John Doe")]
pub card_holder_name: Option<Secret<String>>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ApplePayDecryptAdditionalData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-7079314124303176596
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/payout_method_utils.rs
pub struct InteracAdditionalData {
/// Email linked with interac account
#[schema(value_type = Option<String>, example = "john.doe@example.com")]
pub email: Option<MaskedEmail>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "InteracAdditionalData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_5500255950649960190
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/link_utils.rs
pub struct GenericLinkUiConfig {
/// Merchant's display logo
#[schema(value_type = Option<String>, max_length = 255, example = "https://hyperswitch.io/favicon.ico")]
pub logo: Option<url::Url>,
/// Custom merchant name for the link
#[schema(value_type = Option<String>, max_length = 255, example = "Hyperswitch")]
pub merchant_name: Option<Secret<String>>,
/// Primary color to be used in the form represented in hex format
#[schema(value_type = Option<String>, max_length = 255, example = "#4285F4")]
pub theme: Option<String>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "GenericLinkUiConfig",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-4021283614382067157
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/link_utils.rs
pub struct GenericLinkUiConfigFormData {
/// Merchant's display logo
#[schema(value_type = String, max_length = 255, example = "https://hyperswitch.io/favicon.ico")]
pub logo: url::Url,
/// Custom merchant name for the link
#[schema(value_type = String, max_length = 255, example = "Hyperswitch")]
pub merchant_name: Secret<String>,
/// Primary color to be used in the form represented in hex format
#[schema(value_type = String, max_length = 255, example = "#4285F4")]
pub theme: String,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "GenericLinkUiConfigFormData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-6982729364628730426
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/link_utils.rs
pub struct EnabledPaymentMethod {
/// Payment method (banks, cards, wallets) enabled for the operation
#[schema(value_type = PaymentMethod)]
pub payment_method: enums::PaymentMethod,
/// An array of associated payment method types
#[schema(value_type = HashSet<PaymentMethodType>)]
pub payment_method_types: HashSet<enums::PaymentMethodType>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "EnabledPaymentMethod",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-3545548608770135675
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/crypto.rs
struct NonceSequence(u128);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "NonceSequence",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_25184215434640810
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/crypto.rs
pub struct NoAlgorithm;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "NoAlgorithm",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_2058356979551378217
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/crypto.rs
pub struct HmacSha1;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "HmacSha1",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-4598298479560629290
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/crypto.rs
pub struct HmacSha256;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "HmacSha256",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-1576630395712789185
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/crypto.rs
pub struct HmacSha512;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "HmacSha512",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_6635629873444328776
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/crypto.rs
pub struct Blake3(String);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Blake3",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-2396310530351725948
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/crypto.rs
pub struct GcmAes256;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "GcmAes256",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_7457941951403329013
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/crypto.rs
pub struct Ed25519;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Ed25519",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-7459572414224478729
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/crypto.rs
pub struct Sha512;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Sha512",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_6149239664288147749
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/crypto.rs
pub struct Sha256;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Sha256",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-3016510845603823415
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/crypto.rs
pub struct Md5;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Md5",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-4719966885720826905
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/crypto.rs
pub struct RsaSha256;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RsaSha256",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_2109028883902738931
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/crypto.rs
pub struct TripleDesEde3CBC {
padding: common_enums::CryptoPadding,
iv: Vec<u8>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "TripleDesEde3CBC",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_6561380880008026905
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/crypto.rs
pub struct Encryptable<T: Clone> {
inner: T,
encrypted: Secret<Vec<u8>, EncryptionStrategy>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Encryptable",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_5568146954514620978
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/crypto.rs
pub struct RsaPssSha256;
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RsaPssSha256",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-8834293246243824693
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/custom_serde.rs
struct Try {
#[serde(with = "crate::custom_serde::iso8601")]
f: time::PrimitiveDateTime,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Try",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_2898962329302347645
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/primitive_wrappers.rs
pub struct ExtendedAuthorizationAppliedBool(bool);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ExtendedAuthorizationAppliedBool",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-4676982952361859979
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/primitive_wrappers.rs
pub struct RequestExtendedAuthorizationBool(bool);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RequestExtendedAuthorizationBool",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-5628339449625107515
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/primitive_wrappers.rs
pub struct AlwaysRequestExtendedAuthorization(bool);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AlwaysRequestExtendedAuthorization",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_4009492827040127258
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct KeyManagerState {
pub tenant_id: id_type::TenantId,
pub global_tenant_id: id_type::TenantId,
pub enabled: bool,
pub url: String,
pub client_idle_timeout: Option<u64>,
#[cfg(feature = "km_forward_x_request_id")]
pub request_id: Option<RequestId>,
#[cfg(feature = "keymanager_mtls")]
pub ca: Secret<String>,
#[cfg(feature = "keymanager_mtls")]
pub cert: Secret<String>,
pub infra_values: Option<serde_json::Value>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "KeyManagerState",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-5902158295645180323
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct EncryptionCreateRequest {
#[serde(flatten)]
pub identifier: Identifier,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "EncryptionCreateRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-5953113445642531928
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct EncryptionTransferRequest {
#[serde(flatten)]
pub identifier: Identifier,
pub key: String,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "EncryptionTransferRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_2933708677004276399
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct DataKeyCreateResponse {
#[serde(flatten)]
pub identifier: Identifier,
pub key_version: String,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "DataKeyCreateResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-3413104829104716745
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct BatchEncryptDataRequest {
#[serde(flatten)]
pub identifier: Identifier,
pub data: DecryptedDataGroup,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "BatchEncryptDataRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-8072236946361194736
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct EncryptDataRequest {
#[serde(flatten)]
pub identifier: Identifier,
pub data: DecryptedData,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "EncryptDataRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_1042883403038659856
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct DecryptedDataGroup(pub FxHashMap<String, DecryptedData>);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "DecryptedDataGroup",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_8153991521101676558
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct BatchEncryptDataResponse {
pub data: EncryptedDataGroup,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "BatchEncryptDataResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-4886707093551024278
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct EncryptDataResponse {
pub data: EncryptedData,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "EncryptDataResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_341293936929634351
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct EncryptedDataGroup(pub FxHashMap<String, EncryptedData>);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "EncryptedDataGroup",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-6909735769227492161
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct TransientBatchDecryptDataRequest {
pub identifier: Identifier,
pub data: FxHashMap<String, StrongSecret<Vec<u8>>>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "TransientBatchDecryptDataRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_3199494261685508474
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct TransientDecryptDataRequest {
pub identifier: Identifier,
pub data: StrongSecret<Vec<u8>>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "TransientDecryptDataRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_5441686549214371192
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct BatchDecryptDataRequest {
#[serde(flatten)]
pub identifier: Identifier,
pub data: FxHashMap<String, StrongSecret<String>>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "BatchDecryptDataRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_8387497233166077258
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct DecryptDataRequest {
#[serde(flatten)]
pub identifier: Identifier,
pub data: StrongSecret<String>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "DecryptDataRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_7496215980342125109
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct BatchDecryptDataResponse {
pub data: DecryptedDataGroup,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "BatchDecryptDataResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-3217394958040544447
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct DecryptDataResponse {
pub data: DecryptedData,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "DecryptDataResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-6765648606844911948
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct DecryptedData(StrongSecret<Vec<u8>>);
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "DecryptedData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-328002899892936158
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/keymanager.rs
pub struct EncryptedData {
pub data: StrongSecret<Vec<u8>>,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "EncryptedData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_common_utils_-477724246832599786
|
clm
|
struct
|
// hyperswitch/crates/common_utils/src/types/user/core.rs
pub struct LineageContext {
/// user_id: String
pub user_id: String,
/// merchant_id: MerchantId
pub merchant_id: id_type::MerchantId,
/// role_id: String
pub role_id: String,
/// org_id: OrganizationId
pub org_id: id_type::OrganizationId,
/// profile_id: ProfileId
pub profile_id: id_type::ProfileId,
/// tenant_id: TenantId
pub tenant_id: id_type::TenantId,
}
|
{
"chunk": null,
"crate": "common_utils",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "LineageContext",
"total_crates": null,
"trait_name": null
}
|
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 45