pub struct AccountData {
pub public_key: String,
pub nonce: u64,
pub balance: AccountBalance,
pub delegate: Option<String>,
pub token_id: Option<String>,
}Expand description
Account data returned by the daemon.
Fields§
§public_key: String§nonce: u64§balance: AccountBalance§delegate: Option<String>§token_id: Option<String>Trait Implementations§
Source§impl Clone for AccountData
impl Clone for AccountData
Source§fn clone(&self) -> AccountData
fn clone(&self) -> AccountData
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 moreAuto Trait Implementations§
impl Freeze for AccountData
impl RefUnwindSafe for AccountData
impl Send for AccountData
impl Sync for AccountData
impl Unpin for AccountData
impl UnsafeUnpin for AccountData
impl UnwindSafe for AccountData
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