pub struct PageRelatedArticle {
pub url: String,
pub webpage_id: i64,
pub title: Option<String>,
pub description: Option<String>,
pub photo_id: Option<i64>,
pub author: Option<String>,
pub published_date: Option<i32>,
}Expand description
Generated from:
pageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticleFields§
§url: String§webpage_id: i64§title: Option<String>§description: Option<String>§photo_id: Option<i64>§published_date: Option<i32>Trait Implementations§
Source§impl Clone for PageRelatedArticle
impl Clone for PageRelatedArticle
Source§fn clone(&self) -> PageRelatedArticle
fn clone(&self) -> PageRelatedArticle
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 PageRelatedArticle
impl Debug for PageRelatedArticle
Source§impl Deserializable for PageRelatedArticle
impl Deserializable for PageRelatedArticle
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<PageRelatedArticle> for PageRelatedArticle
impl From<PageRelatedArticle> for PageRelatedArticle
Source§fn from(x: PageRelatedArticle) -> Self
fn from(x: PageRelatedArticle) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PageRelatedArticle
impl Identifiable for PageRelatedArticle
Source§const CONSTRUCTOR_ID: u32 = 0xb390dc08
const CONSTRUCTOR_ID: u32 = 0xb390dc08
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PageRelatedArticle
impl PartialEq for PageRelatedArticle
Source§impl Serializable for PageRelatedArticle
impl Serializable for PageRelatedArticle
Source§impl TryFrom<PageRelatedArticle> for PageRelatedArticle
impl TryFrom<PageRelatedArticle> for PageRelatedArticle
Source§type Error = PageRelatedArticle
type Error = PageRelatedArticle
The type returned in the event of a conversion error.
impl StructuralPartialEq for PageRelatedArticle
Auto Trait Implementations§
impl Freeze for PageRelatedArticle
impl RefUnwindSafe for PageRelatedArticle
impl Send for PageRelatedArticle
impl Sync for PageRelatedArticle
impl Unpin for PageRelatedArticle
impl UnsafeUnpin for PageRelatedArticle
impl UnwindSafe for PageRelatedArticle
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