pub struct AccountEntry {
pub hash: String,
pub balance: Option<u64>,
pub data: Option<Vec<u8>>,
pub data_diff_map: Option<HashMap<usize, u8>>,
pub owner: Option<String>,
pub mint: Option<String>,
pub timestamp: u64,
pub block: u64,
}
Expand description
Account Hash, Owner (New), Mint (New), Amount (New), Timestamp, Block
pub type AccountEntry = (String, Option
Fields§
§hash: String
The unique identifier for the account
balance: Option<u64>
The optional amount relevant to this account (At that block in time)
data: Option<Vec<u8>>
The optional data relevant to this account (At that block in time, and if there is any data for diff generation)
data_diff_map: Option<HashMap<usize, u8>>
The map that differentiates vLatest and the vUpcoming
owner: Option<String>
The optional owner relevant to this account (At that block in time)
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 AccountEntry
impl RefUnwindSafe for AccountEntry
impl Send for AccountEntry
impl Sync for AccountEntry
impl Unpin for AccountEntry
impl UnwindSafe for AccountEntry
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