pub struct ListId {
pub replica: String,
pub seq: u64,
pub ulid: Ulid,
}Expand description
Unique identifier for a list element.
Fields§
§replica: StringThe replica that created this element.
seq: u64Sequence number within that replica.
ulid: UlidUnique identifier for disambiguation.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ListId
impl<'de> Deserialize<'de> for ListId
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 ListId
impl Ord for ListId
Source§impl PartialOrd for ListId
impl PartialOrd for ListId
impl Eq for ListId
impl StructuralPartialEq for ListId
Auto Trait Implementations§
impl Freeze for ListId
impl RefUnwindSafe for ListId
impl Send for ListId
impl Sync for ListId
impl Unpin for ListId
impl UnwindSafe for ListId
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