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