Enum rust_tdlib::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
sourceimpl AsRef<MessageFileType> for MessageFileType
impl AsRef<MessageFileType> for MessageFileType
sourcefn as_ref(&self) -> &MessageFileType
fn as_ref(&self) -> &MessageFileType
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for MessageFileType
impl Clone for MessageFileType
sourcefn clone(&self) -> MessageFileType
fn clone(&self) -> MessageFileType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MessageFileType
impl Debug for MessageFileType
sourceimpl Default for MessageFileType
impl Default for MessageFileType
sourceimpl<'de> Deserialize<'de> for MessageFileType
impl<'de> Deserialize<'de> for MessageFileType
sourcefn 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
sourceimpl Serialize for MessageFileType
impl Serialize for MessageFileType
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more