pub struct LinkPreviewTypeArticle {
pub photo: Option<Photo>,
}Expand description
The link is a link to a web site
Fields§
§photo: Option<Photo>Article’s main photo; may be null
Trait Implementations§
Source§impl Clone for LinkPreviewTypeArticle
impl Clone for LinkPreviewTypeArticle
Source§fn clone(&self) -> LinkPreviewTypeArticle
fn clone(&self) -> LinkPreviewTypeArticle
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 LinkPreviewTypeArticle
impl Debug for LinkPreviewTypeArticle
Source§impl Default for LinkPreviewTypeArticle
impl Default for LinkPreviewTypeArticle
Source§fn default() -> LinkPreviewTypeArticle
fn default() -> LinkPreviewTypeArticle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinkPreviewTypeArticle
impl<'de> Deserialize<'de> for LinkPreviewTypeArticle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LinkPreviewTypeArticle
impl PartialEq for LinkPreviewTypeArticle
Source§impl Serialize for LinkPreviewTypeArticle
impl Serialize for LinkPreviewTypeArticle
impl StructuralPartialEq for LinkPreviewTypeArticle
Auto Trait Implementations§
impl Freeze for LinkPreviewTypeArticle
impl RefUnwindSafe for LinkPreviewTypeArticle
impl Send for LinkPreviewTypeArticle
impl Sync for LinkPreviewTypeArticle
impl Unpin for LinkPreviewTypeArticle
impl UnsafeUnpin for LinkPreviewTypeArticle
impl UnwindSafe for LinkPreviewTypeArticle
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