pub struct AccountV2 {
pub address: Option<String>,
pub data: Option<Box<AccountData>>,
pub hash: String,
pub lamports: u64,
pub leaf_index: u32,
pub merkle_context: Box<MerkleContextV2>,
pub owner: String,
pub prove_by_index: bool,
pub seq: Option<u64>,
pub slot_created: u64,
}
Fields§
§address: Option<String>
A Solana public key represented as a base58 string.
data: Option<Box<AccountData>>
§hash: String
A 32-byte hash represented as a base58 string.
lamports: u64
§leaf_index: u32
§merkle_context: Box<MerkleContextV2>
§owner: String
A Solana public key represented as a base58 string.
prove_by_index: bool
§seq: Option<u64>
§slot_created: u64
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AccountV2
impl<'de> Deserialize<'de> for AccountV2
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 StructuralPartialEq for AccountV2
Auto Trait Implementations§
impl Freeze for AccountV2
impl RefUnwindSafe for AccountV2
impl Send for AccountV2
impl Sync for AccountV2
impl Unpin for AccountV2
impl UnwindSafe for AccountV2
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