Struct sfm_sdk::AccountLatest
source · pub struct AccountLatest {
pub balance: u64,
pub data: Vec<u8>,
pub owner: String,
pub rent_epoch: u64,
pub mint: Option<String>,
pub timestamp: u64,
pub block: u64,
}Expand description
Struct that stashes the latest bits of an account.
Fields§
§balance: u64The balance in the account. Modifiable by programs.
data: Vec<u8>The data held in this account. Modifiable by programs.
owner: StringAccount that owns this account, defaults to System program.
rent_epoch: u64The epoch at which this account will next owe rent
mint: Option<String>The optional mint relevant to this account (At that block in time)
timestamp: u64Timestamp at point in time relevant to block
block: u64Block at point in time
Auto Trait Implementations§
impl RefUnwindSafe for AccountLatest
impl Send for AccountLatest
impl Sync for AccountLatest
impl Unpin for AccountLatest
impl UnwindSafe for AccountLatest
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request