Struct photon_api::models::account::Account
source · pub struct Account {
pub address: Option<String>,
pub data: Option<Box<AccountData>>,
pub hash: String,
pub lamports: i64,
pub leaf_index: i64,
pub owner: String,
pub seq: i64,
pub slot_created: i64,
pub tree: String,
}Fields§
§address: Option<String>A Solana public key represented as a base58 string.
data: Option<Box<AccountData>>§hash: StringA 32-byte hash represented as a base58 string.
lamports: i64§leaf_index: i64§owner: StringA Solana public key represented as a base58 string.
seq: i64§slot_created: i64§tree: StringA Solana public key represented as a base58 string.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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 PartialEq for Account
impl PartialEq for Account
impl StructuralPartialEq for Account
Auto Trait Implementations§
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)