pub enum ConversationKind {
NewPrivate,
NewServer,
Resume {
uuid: String,
},
}Expand description
What kind of conversation picker entry this is.
Variants§
NewPrivate
Create a new private (client-owned, encrypted) conversation.
NewServer
Create a new server-side conversation.
Resume
Resume an existing conversation by UUID.
Trait Implementations§
Source§impl Clone for ConversationKind
impl Clone for ConversationKind
Source§fn clone(&self) -> ConversationKind
fn clone(&self) -> ConversationKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConversationKind
impl Debug for ConversationKind
Source§impl PartialEq for ConversationKind
impl PartialEq for ConversationKind
Source§fn eq(&self, other: &ConversationKind) -> bool
fn eq(&self, other: &ConversationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ConversationKind
impl StructuralPartialEq for ConversationKind
Auto Trait Implementations§
impl Freeze for ConversationKind
impl RefUnwindSafe for ConversationKind
impl Send for ConversationKind
impl Sync for ConversationKind
impl Unpin for ConversationKind
impl UnsafeUnpin for ConversationKind
impl UnwindSafe for ConversationKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more