monaco-grpc-sdk 0.6.3-develop.fe66fd7

Typed Rust gRPC client SDK for the Monaco Exchange API — generated from Protocol Buffer definitions
Documentation
// @generated
// This file is @generated by prost-build.
// ============================================================================
// SHARED SUB-ACCOUNT TYPES
// ============================================================================

#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SubAccount {
    #[prost(string, tag="1")]
    pub id: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub address: ::prost::alloc::string::String,
    #[prost(string, optional, tag="3")]
    pub username: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(bool, tag="4")]
    pub can_withdraw: bool,
    #[prost(string, tag="5")]
    pub created_at: ::prost::alloc::string::String,
    #[prost(message, repeated, tag="6")]
    pub balances: ::prost::alloc::vec::Vec<super::balances::AccountBalance>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SubAccountLimit {
    #[prost(string, tag="1")]
    pub id: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub sub_account_id: ::prost::alloc::string::String,
    #[prost(string, tag="3")]
    pub token: ::prost::alloc::string::String,
    #[prost(string, optional, tag="4")]
    pub daily_limit: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, tag="5")]
    pub used_today: ::prost::alloc::string::String,
    #[prost(string, tag="6")]
    pub created_at: ::prost::alloc::string::String,
    #[prost(string, optional, tag="7")]
    pub updated_at: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, tag="8")]
    pub master_account_id: ::prost::alloc::string::String,
    #[prost(string, tag="9")]
    pub max_amount: ::prost::alloc::string::String,
    #[prost(string, optional, tag="10")]
    pub last_reset_at: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(bool, tag="11")]
    pub is_active: bool,
}
// @@protoc_insertion_point(module)