pub struct FileTypeSecret { /* private fields */ }
Expand description
The file was sent to a secret chat (the file type is not known to the server)
Implementations§
Trait Implementations§
Source§impl AsRef<FileTypeSecret> for FileTypeSecret
impl AsRef<FileTypeSecret> for FileTypeSecret
Source§fn as_ref(&self) -> &FileTypeSecret
fn as_ref(&self) -> &FileTypeSecret
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for FileTypeSecret
impl Clone for FileTypeSecret
Source§fn clone(&self) -> FileTypeSecret
fn clone(&self) -> FileTypeSecret
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FileTypeSecret
impl Debug for FileTypeSecret
Source§impl Default for FileTypeSecret
impl Default for FileTypeSecret
Source§fn default() -> FileTypeSecret
fn default() -> FileTypeSecret
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FileTypeSecret
impl<'de> Deserialize<'de> for FileTypeSecret
Source§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
Source§impl Serialize for FileTypeSecret
impl Serialize for FileTypeSecret
impl TDFileType for FileTypeSecret
Auto Trait Implementations§
impl Freeze for FileTypeSecret
impl RefUnwindSafe for FileTypeSecret
impl Send for FileTypeSecret
impl Sync for FileTypeSecret
impl Unpin for FileTypeSecret
impl UnwindSafe for FileTypeSecret
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more