pub(crate) enum SyncAction {
Block,
Unblock,
Accept,
SetVisibility(ChatVisibility),
SetMuted(MuteDuration),
CreateBroadcast(String),
Rename(String),
SetContacts(Vec<String>),
}
Expand description
An action synchronised to other devices.
Variants§
Block
Unblock
Accept
SetVisibility(ChatVisibility)
SetMuted(MuteDuration)
CreateBroadcast(String)
Create broadcast list with the given name.
Rename(String)
SetContacts(Vec<String>)
Set chat contacts by their addresses.
Trait Implementations§
source§impl Debug for SyncAction
impl Debug for SyncAction
source§impl<'de> Deserialize<'de> for SyncAction
impl<'de> Deserialize<'de> for SyncAction
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 PartialEq for SyncAction
impl PartialEq for SyncAction
source§impl Serialize for SyncAction
impl Serialize for SyncAction
impl StructuralPartialEq for SyncAction
Auto Trait Implementations§
impl Freeze for SyncAction
impl RefUnwindSafe for SyncAction
impl Send for SyncAction
impl Sync for SyncAction
impl Unpin for SyncAction
impl UnwindSafe for SyncAction
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