Enum rtdlib::types::SecretChatState
source[−]pub enum SecretChatState {
Closed(SecretChatStateClosed),
Pending(SecretChatStatePending),
Ready(SecretChatStateReady),
// some variants omitted
}
Expand description
Describes the current secret chat state
Variants
Closed(SecretChatStateClosed)
Tuple Fields
The secret chat is closed
Pending(SecretChatStatePending)
Tuple Fields
The secret chat is not yet created; waiting for the other user to get online
Ready(SecretChatStateReady)
Tuple Fields
The secret chat is ready to use
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<SecretChatState, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<SecretChatState, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SecretChatState
impl Send for SecretChatState
impl Sync for SecretChatState
impl Unpin for SecretChatState
impl UnwindSafe for SecretChatState
Blanket Implementations
Mutably borrows from an owned value. Read more