Struct loro_common::IdLp
source · pub struct IdLp {
pub lamport: Lamport,
pub peer: PeerID,
}Expand description
Fields§
§lamport: Lamport§peer: PeerIDImplementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for IdLp
impl<'de> Deserialize<'de> for IdLp
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 IdLp
impl Ord for IdLp
source§impl PartialEq for IdLp
impl PartialEq for IdLp
source§impl PartialOrd for IdLp
impl PartialOrd for IdLp
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 IdLp
impl Eq for IdLp
impl StructuralPartialEq for IdLp
Auto Trait Implementations§
impl Freeze for IdLp
impl RefUnwindSafe for IdLp
impl Send for IdLp
impl Sync for IdLp
impl Unpin for IdLp
impl UnwindSafe for IdLp
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