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