pub struct AccountData {
pub data: EncodedBinary,
pub executable: bool,
pub lamports: u64,
pub owner: Address,
pub space: u64,
}Expand description
Account snapshot used to seed or modify state in a session.
Fields§
§data: EncodedBinaryAccount data bytes and encoding.
executable: boolWhether the account is executable.
lamports: u64Lamport balance.
owner: AddressAccount owner pubkey.
space: u64Allocated space in bytes.
Trait Implementations§
Source§impl Debug for AccountData
impl Debug for AccountData
Source§impl<'de> Deserialize<'de> for AccountData
impl<'de> Deserialize<'de> for AccountData
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
Auto 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