pub(crate) enum SyncId {
ContactAddr(String),
Grpid(String),
Msgids(Vec<String>),
}
Expand description
A cross-device chat id used for synchronisation.
Variants§
ContactAddr(String)
Grpid(String)
Msgids(Vec<String>)
“Message-ID”-s, from oldest to latest. Used for ad-hoc groups.
Trait Implementations§
source§impl<'de> Deserialize<'de> for SyncId
impl<'de> Deserialize<'de> for SyncId
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 StructuralPartialEq for SyncId
Auto Trait Implementations§
impl Freeze for SyncId
impl RefUnwindSafe for SyncId
impl Send for SyncId
impl Sync for SyncId
impl Unpin for SyncId
impl UnwindSafe for SyncId
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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