pub struct DocumentAttributeFilename {
pub file_name: String,
}Expand description
Generated from:
documentAttributeFilename#15590068 file_name:string = DocumentAttributeFields§
§file_name: StringTrait Implementations§
Source§impl Clone for DocumentAttributeFilename
impl Clone for DocumentAttributeFilename
Source§fn clone(&self) -> DocumentAttributeFilename
fn clone(&self) -> DocumentAttributeFilename
Returns a duplicate 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 DocumentAttributeFilename
impl Debug for DocumentAttributeFilename
Source§impl Deserializable for DocumentAttributeFilename
impl Deserializable for DocumentAttributeFilename
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<DocumentAttributeFilename> for DocumentAttribute
impl From<DocumentAttributeFilename> for DocumentAttribute
Source§fn from(x: DocumentAttributeFilename) -> Self
fn from(x: DocumentAttributeFilename) -> Self
Converts to this type from the input type.
Source§impl Identifiable for DocumentAttributeFilename
impl Identifiable for DocumentAttributeFilename
Source§const CONSTRUCTOR_ID: u32 = 0x15590068
const CONSTRUCTOR_ID: u32 = 0x15590068
The constructor ID as specified in the TL schema.
Source§impl TryFrom<DocumentAttribute> for DocumentAttributeFilename
impl TryFrom<DocumentAttribute> for DocumentAttributeFilename
Source§type Error = DocumentAttribute
type Error = DocumentAttribute
The type returned in the event of a conversion error.
impl StructuralPartialEq for DocumentAttributeFilename
Auto Trait Implementations§
impl Freeze for DocumentAttributeFilename
impl RefUnwindSafe for DocumentAttributeFilename
impl Send for DocumentAttributeFilename
impl Sync for DocumentAttributeFilename
impl Unpin for DocumentAttributeFilename
impl UnsafeUnpin for DocumentAttributeFilename
impl UnwindSafe for DocumentAttributeFilename
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