Enum rtdlib::types::SecretChatState [−][src]
pub enum SecretChatState {
Closed(SecretChatStateClosed),
Pending(SecretChatStatePending),
Ready(SecretChatStateReady),
// some variants omitted
}
Expand description
Describes the current secret chat state
Variants
The secret chat is closed
Tuple Fields of Closed
The secret chat is not yet created; waiting for the other user to get online
Tuple Fields of Pending
The secret chat is ready to use
Tuple Fields of Ready
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