Enum rust_tdlib::types::SecretChatState [−][src]
pub enum SecretChatState {
Closed(SecretChatStateClosed),
Pending(SecretChatStatePending),
Ready(SecretChatStateReady),
// some variants omitted
}Expand description
Describes the current secret chat state
Variants
Closed(SecretChatStateClosed)The secret chat is closed
Pending(SecretChatStatePending)The secret chat is not yet created; waiting for the other user to get online
Ready(SecretChatStateReady)The secret chat is ready to use
Implementations
Trait Implementations
Performs the conversion.
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
Auto Trait Implementations
impl RefUnwindSafe for SecretChatStateimpl Send for SecretChatStateimpl Sync for SecretChatStateimpl Unpin for SecretChatStateimpl UnwindSafe for SecretChatStateBlanket Implementations
Mutably borrows from an owned value. Read more