pub struct UserBalanceStore {
pub balances: Vec<Balance>,
pub outgoing_approvals: Vec<UserOutgoingApproval>,
pub incoming_approvals: Vec<UserIncomingApproval>,
pub auto_approve_self_initiated_outgoing_transfers: bool,
pub auto_approve_self_initiated_incoming_transfers: bool,
pub user_permissions: UserPermissions,
}Fields§
§balances: Vec<Balance>§outgoing_approvals: Vec<UserOutgoingApproval>§incoming_approvals: Vec<UserIncomingApproval>§auto_approve_self_initiated_outgoing_transfers: bool§auto_approve_self_initiated_incoming_transfers: bool§user_permissions: UserPermissionsTrait Implementations§
Source§impl Clone for UserBalanceStore
impl Clone for UserBalanceStore
Source§fn clone(&self) -> UserBalanceStore
fn clone(&self) -> UserBalanceStore
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserBalanceStore
impl Debug for UserBalanceStore
Source§impl<'de> Deserialize<'de> for UserBalanceStore
impl<'de> Deserialize<'de> for UserBalanceStore
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for UserBalanceStore
impl JsonSchema for UserBalanceStore
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for UserBalanceStore
impl PartialEq for UserBalanceStore
Source§impl Serialize for UserBalanceStore
impl Serialize for UserBalanceStore
impl StructuralPartialEq for UserBalanceStore
Auto Trait Implementations§
impl Freeze for UserBalanceStore
impl RefUnwindSafe for UserBalanceStore
impl Send for UserBalanceStore
impl Sync for UserBalanceStore
impl Unpin for UserBalanceStore
impl UnwindSafe for UserBalanceStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more