Enum rust_tdlib::types::CallState
source · pub enum CallState {
Discarded(CallStateDiscarded),
Error(CallStateError),
ExchangingKeys(CallStateExchangingKeys),
HangingUp(CallStateHangingUp),
Pending(CallStatePending),
Ready(CallStateReady),
// some variants omitted
}
Expand description
Describes the current call state
Variants§
Discarded(CallStateDiscarded)
The call has ended successfully
Error(CallStateError)
The call has ended with an error
ExchangingKeys(CallStateExchangingKeys)
The call has been answered and encryption keys are being exchanged
HangingUp(CallStateHangingUp)
The call is hanging up after discardCall has been called
Pending(CallStatePending)
The call is pending, waiting to be accepted by a user
Ready(CallStateReady)
The call is ready to use
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for CallState
impl<'de> Deserialize<'de> for CallState
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