Struct rust_tdlib::types::FileTypeSecret
source · [−]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
sourceimpl AsRef<FileTypeSecret> for FileTypeSecret
impl AsRef<FileTypeSecret> for FileTypeSecret
sourcefn as_ref(&self) -> &FileTypeSecret
fn as_ref(&self) -> &FileTypeSecret
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for FileTypeSecret
impl Clone for FileTypeSecret
sourcefn clone(&self) -> FileTypeSecret
fn clone(&self) -> FileTypeSecret
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 FileTypeSecret
impl Debug for FileTypeSecret
sourceimpl Default for FileTypeSecret
impl Default for FileTypeSecret
sourcefn default() -> FileTypeSecret
fn default() -> FileTypeSecret
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FileTypeSecret
impl<'de> Deserialize<'de> for FileTypeSecret
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 FileTypeSecret
impl Serialize for FileTypeSecret
impl TDFileType for FileTypeSecret
Auto Trait Implementations
impl RefUnwindSafe for FileTypeSecret
impl Send for FileTypeSecret
impl Sync for FileTypeSecret
impl Unpin for FileTypeSecret
impl UnwindSafe for FileTypeSecret
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