pub struct InputWebDocument {
pub url: String,
pub size: i32,
pub mime_type: String,
pub attributes: Vec<DocumentAttribute>,
}Expand description
Generated from:
inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector<DocumentAttribute> = InputWebDocumentFields§
§url: String§size: i32§mime_type: String§attributes: Vec<DocumentAttribute>Trait Implementations§
Source§impl Clone for InputWebDocument
impl Clone for InputWebDocument
Source§fn clone(&self) -> InputWebDocument
fn clone(&self) -> InputWebDocument
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 InputWebDocument
impl Debug for InputWebDocument
Source§impl Deserializable for InputWebDocument
impl Deserializable for InputWebDocument
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<InputWebDocument> for InputWebDocument
impl From<InputWebDocument> for InputWebDocument
Source§fn from(x: InputWebDocument) -> Self
fn from(x: InputWebDocument) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputWebDocument
impl Identifiable for InputWebDocument
Source§const CONSTRUCTOR_ID: u32 = 0x9bed434d
const CONSTRUCTOR_ID: u32 = 0x9bed434d
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputWebDocument
impl PartialEq for InputWebDocument
Source§impl Serializable for InputWebDocument
impl Serializable for InputWebDocument
Source§impl TryFrom<InputWebDocument> for InputWebDocument
impl TryFrom<InputWebDocument> for InputWebDocument
Source§type Error = InputWebDocument
type Error = InputWebDocument
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputWebDocument
Auto Trait Implementations§
impl Freeze for InputWebDocument
impl RefUnwindSafe for InputWebDocument
impl Send for InputWebDocument
impl Sync for InputWebDocument
impl Unpin for InputWebDocument
impl UnsafeUnpin for InputWebDocument
impl UnwindSafe for InputWebDocument
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