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: u64
The balance in the account. Modifiable by programs.
data: Vec<u8>
The data held in this account. Modifiable by programs.
owner: String
Account that owns this account, defaults to System program.
rent_epoch: u64
The 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: u64
Timestamp at point in time relevant to block
block: u64
Block at point in time
Auto Trait Implementations§
impl Freeze for AccountLatest
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§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