pub enum PendingStatus {
Operational,
Pending,
}Expand description
Whether a conversation is pending or initialized
Variants§
Operational
The conversation is operational
Pending
The conversation is pending, waiting for a commit to make it operational
Implementations§
Source§impl PendingStatus
impl PendingStatus
Sourcepub fn is_pending(self) -> bool
pub fn is_pending(self) -> bool
true when this status is pending
Sourcepub fn from_is_pending(is_pending: bool) -> Self
pub fn from_is_pending(is_pending: bool) -> Self
Create an instance from an is_pending boolean
Trait Implementations§
Source§impl Clone for PendingStatus
impl Clone for PendingStatus
impl Copy for PendingStatus
Source§impl Debug for PendingStatus
impl Debug for PendingStatus
Source§impl Default for PendingStatus
impl Default for PendingStatus
impl Eq for PendingStatus
Source§impl PartialEq for PendingStatus
impl PartialEq for PendingStatus
impl StructuralPartialEq for PendingStatus
Auto Trait Implementations§
impl Freeze for PendingStatus
impl RefUnwindSafe for PendingStatus
impl Send for PendingStatus
impl Sync for PendingStatus
impl Unpin for PendingStatus
impl UnsafeUnpin for PendingStatus
impl UnwindSafe for PendingStatus
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
Checks if this value is equivalent to the given key. Read more
§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.§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
Checks if this value is equivalent to the given key. Read more
impl<T> ErasedDestructor for Twhere
T: 'static,
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