Struct sfm_sdk::AccountEntry
source · 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: StringThe 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: u64Timestamp at point in time relevant to block
block: u64Block at point in time
Auto Trait Implementations§
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> 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