pub struct WebPageEmpty {
pub id: i64,
pub url: Option<String>,
}Expand description
Fields§
§id: i64§url: Option<String>Trait Implementations§
Source§impl Clone for WebPageEmpty
impl Clone for WebPageEmpty
Source§fn clone(&self) -> WebPageEmpty
fn clone(&self) -> WebPageEmpty
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 WebPageEmpty
impl Debug for WebPageEmpty
Source§impl Deserializable for WebPageEmpty
impl Deserializable for WebPageEmpty
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<WebPageEmpty> for WebPage
impl From<WebPageEmpty> for WebPage
Source§fn from(x: WebPageEmpty) -> Self
fn from(x: WebPageEmpty) -> Self
Converts to this type from the input type.
Source§impl Identifiable for WebPageEmpty
impl Identifiable for WebPageEmpty
Source§const CONSTRUCTOR_ID: u32 = 0x211a1788
const CONSTRUCTOR_ID: u32 = 0x211a1788
The constructor ID as specified in the TL schema.
Source§impl PartialEq for WebPageEmpty
impl PartialEq for WebPageEmpty
Source§impl Serializable for WebPageEmpty
impl Serializable for WebPageEmpty
Source§impl TryFrom<WebPage> for WebPageEmpty
impl TryFrom<WebPage> for WebPageEmpty
impl StructuralPartialEq for WebPageEmpty
Auto Trait Implementations§
impl Freeze for WebPageEmpty
impl RefUnwindSafe for WebPageEmpty
impl Send for WebPageEmpty
impl Sync for WebPageEmpty
impl Unpin for WebPageEmpty
impl UnsafeUnpin for WebPageEmpty
impl UnwindSafe for WebPageEmpty
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