pub struct AccountWriteTimestamps {
pub slots: HashMap<StoreKey, WriteTimestamp>,
pub native_balance: WriteTimestamp,
pub code: WriteTimestamp,
pub token_balances: HashMap<Address, WriteTimestamp>,
}Expand description
Write timestamps of one account’s values, one per database row.
Fields§
§slots: HashMap<StoreKey, WriteTimestamp>§native_balance: WriteTimestamp§code: WriteTimestamp§token_balances: HashMap<Address, WriteTimestamp>Implementations§
Source§impl AccountWriteTimestamps
impl AccountWriteTimestamps
Sourcepub fn uniform(account: &Account, at: WriteTimestamp) -> Self
pub fn uniform(account: &Account, at: WriteTimestamp) -> Self
One timestamp for every value of account.
Trait Implementations§
Source§impl Clone for AccountWriteTimestamps
impl Clone for AccountWriteTimestamps
Source§impl Debug for AccountWriteTimestamps
impl Debug for AccountWriteTimestamps
Source§impl PartialEq for AccountWriteTimestamps
impl PartialEq for AccountWriteTimestamps
impl StructuralPartialEq for AccountWriteTimestamps
Auto Trait Implementations§
impl Freeze for AccountWriteTimestamps
impl RefUnwindSafe for AccountWriteTimestamps
impl Send for AccountWriteTimestamps
impl Sync for AccountWriteTimestamps
impl Unpin for AccountWriteTimestamps
impl UnsafeUnpin for AccountWriteTimestamps
impl UnwindSafe for AccountWriteTimestamps
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§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 more