pub struct LinkPreviewTypePhoto {
pub photo: Photo,
}Expand description
The link is a link to a photo
Fields§
§photo: PhotoThe photo
Trait Implementations§
Source§impl Clone for LinkPreviewTypePhoto
impl Clone for LinkPreviewTypePhoto
Source§fn clone(&self) -> LinkPreviewTypePhoto
fn clone(&self) -> LinkPreviewTypePhoto
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 LinkPreviewTypePhoto
impl Debug for LinkPreviewTypePhoto
Source§impl Default for LinkPreviewTypePhoto
impl Default for LinkPreviewTypePhoto
Source§fn default() -> LinkPreviewTypePhoto
fn default() -> LinkPreviewTypePhoto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinkPreviewTypePhoto
impl<'de> Deserialize<'de> for LinkPreviewTypePhoto
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 LinkPreviewTypePhoto
impl PartialEq for LinkPreviewTypePhoto
Source§impl Serialize for LinkPreviewTypePhoto
impl Serialize for LinkPreviewTypePhoto
impl StructuralPartialEq for LinkPreviewTypePhoto
Auto Trait Implementations§
impl Freeze for LinkPreviewTypePhoto
impl RefUnwindSafe for LinkPreviewTypePhoto
impl Send for LinkPreviewTypePhoto
impl Sync for LinkPreviewTypePhoto
impl Unpin for LinkPreviewTypePhoto
impl UnsafeUnpin for LinkPreviewTypePhoto
impl UnwindSafe for LinkPreviewTypePhoto
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