Struct rxqlite_lite_common::LogId
source · pub struct LogId {
pub leader_id: CommittedLeaderId,
pub index: u64,
}Fields§
§leader_id: CommittedLeaderId§index: u64Trait Implementations§
source§impl<'de> Deserialize<'de> for LogId
impl<'de> Deserialize<'de> for LogId
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
source§impl Ord for LogId
impl Ord for LogId
source§impl PartialEq for LogId
impl PartialEq for LogId
source§impl PartialOrd for LogId
impl PartialOrd for LogId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for LogId
impl Eq for LogId
impl StructuralPartialEq for LogId
Auto Trait Implementations§
impl Freeze for LogId
impl RefUnwindSafe for LogId
impl Send for LogId
impl Sync for LogId
impl Unpin for LogId
impl UnwindSafe for LogId
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