Enum rtdlib::types::MessageFileType
source · [−]pub enum MessageFileType {
GetMessageFileType(GetMessageFileType),
Group(MessageFileTypeGroup),
Private(MessageFileTypePrivate),
Unknown(MessageFileTypeUnknown),
// some variants omitted
}
Expand description
Contains information about a file with messages exported from another app
Variants
GetMessageFileType(GetMessageFileType)
Returns information about a file with messages exported from another app
Group(MessageFileTypeGroup)
The messages was exported from a group chat
Private(MessageFileTypePrivate)
The messages was exported from a private chat
Unknown(MessageFileTypeUnknown)
The messages was exported from a chat of unknown type
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<MessageFileType, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<MessageFileType, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for MessageFileType
impl Send for MessageFileType
impl Sync for MessageFileType
impl Unpin for MessageFileType
impl UnwindSafe for MessageFileType
Blanket Implementations
Mutably borrows from an owned value. Read more