pub enum CallDiscardReason {
Empty,
Missed,
Declined,
Disconnected,
HungUp,
}
Variants§
Empty
The call wasn’t discarded, or the reason is unknown
Missed
The call was ended before the conversation started. It was canceled by the caller or missed by the other party
Declined
The call was ended before the conversation started. It was declined by the other party
Disconnected
The call was ended during the conversation because the users were disconnected
HungUp
The call was ended because one of the parties hung up
Trait Implementations§
Source§impl Clone for CallDiscardReason
impl Clone for CallDiscardReason
Source§fn clone(&self) -> CallDiscardReason
fn clone(&self) -> CallDiscardReason
Returns a duplicate of the value. Read more
1.0.0 · 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 CallDiscardReason
impl Debug for CallDiscardReason
Source§impl<'de> Deserialize<'de> for CallDiscardReason
impl<'de> Deserialize<'de> for CallDiscardReason
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 CallDiscardReason
impl PartialEq for CallDiscardReason
Source§impl Serialize for CallDiscardReason
impl Serialize for CallDiscardReason
impl StructuralPartialEq for CallDiscardReason
Auto Trait Implementations§
impl Freeze for CallDiscardReason
impl RefUnwindSafe for CallDiscardReason
impl Send for CallDiscardReason
impl Sync for CallDiscardReason
impl Unpin for CallDiscardReason
impl UnwindSafe for CallDiscardReason
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