Enum rtdlib::types::CallDiscardReason [−][src]
pub enum CallDiscardReason {
Declined(CallDiscardReasonDeclined),
Disconnected(CallDiscardReasonDisconnected),
Empty(CallDiscardReasonEmpty),
HungUp(CallDiscardReasonHungUp),
Missed(CallDiscardReasonMissed),
// some variants omitted
}
Expand description
Describes the reason why a call was discarded
Variants
The call was ended before the conversation started. It was declined by the other party
Tuple Fields of Declined
The call was ended during the conversation because the users were disconnected
Tuple Fields of Disconnected
The call wasn’t discarded, or the reason is unknown
Tuple Fields of Empty
The call was ended because one of the parties hung up
Tuple Fields of HungUp
The call was ended before the conversation started. It was cancelled by the caller or missed by the other party
Tuple Fields of Missed
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<CallDiscardReason, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<CallDiscardReason, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CallDiscardReason
impl Send for CallDiscardReason
impl Sync for CallDiscardReason
impl Unpin for CallDiscardReason
impl UnwindSafe for CallDiscardReason
Blanket Implementations
Mutably borrows from an owned value. Read more