pub struct AccountPosition {
pub slot: u64,
pub write_version: u64,
}Expand description
The authoritative order of an account write within the Solana stream.
Producers attach this only to mutations owned by an account update or account deletion. Instruction and resolver mutations must not invent one. Decimal strings keep both components exact across JSON boundaries.
Fields§
§slot: u64§write_version: u64Implementations§
Trait Implementations§
Source§impl Clone for AccountPosition
impl Clone for AccountPosition
impl Copy for AccountPosition
Source§impl Debug for AccountPosition
impl Debug for AccountPosition
Source§impl<'de> Deserialize<'de> for AccountPosition
impl<'de> Deserialize<'de> for AccountPosition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AccountPosition
Source§impl Ord for AccountPosition
impl Ord for AccountPosition
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AccountPosition
impl PartialEq for AccountPosition
Source§impl PartialOrd for AccountPosition
impl PartialOrd for AccountPosition
Source§impl Serialize for AccountPosition
impl Serialize for AccountPosition
impl StructuralPartialEq for AccountPosition
Auto Trait Implementations§
impl Freeze for AccountPosition
impl RefUnwindSafe for AccountPosition
impl Send for AccountPosition
impl Sync for AccountPosition
impl Unpin for AccountPosition
impl UnsafeUnpin for AccountPosition
impl UnwindSafe for AccountPosition
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.