pub struct UiAccount {
pub lamports: u64,
pub data: UiAccountData,
pub owner: String,
pub executable: bool,
pub rent_epoch: u64,
pub space: Option<u64>,
}
Expand description
A duplicate representation of an Account for pretty JSON serialization
Fields§
§lamports: u64
§data: UiAccountData
§owner: String
§executable: bool
§rent_epoch: u64
§space: Option<u64>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UiAccount
impl<'de> Deserialize<'de> for UiAccount
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
impl Eq for UiAccount
impl StructuralPartialEq for UiAccount
Auto Trait Implementations§
impl Freeze for UiAccount
impl RefUnwindSafe for UiAccount
impl Send for UiAccount
impl Sync for UiAccount
impl Unpin for UiAccount
impl UnwindSafe for UiAccount
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