pub struct LinkPreviewTypeStoryAlbum {
pub photo_icon: Option<Photo>,
pub video_icon: Option<Video>,
}Expand description
The link is a link to an album of stories
Fields§
§photo_icon: Option<Photo>Icon of the album; may be null if none
video_icon: Option<Video>Video icon of the album; may be null if none
Trait Implementations§
Source§impl Clone for LinkPreviewTypeStoryAlbum
impl Clone for LinkPreviewTypeStoryAlbum
Source§fn clone(&self) -> LinkPreviewTypeStoryAlbum
fn clone(&self) -> LinkPreviewTypeStoryAlbum
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 LinkPreviewTypeStoryAlbum
impl Debug for LinkPreviewTypeStoryAlbum
Source§impl<'de> Deserialize<'de> for LinkPreviewTypeStoryAlbum
impl<'de> Deserialize<'de> for LinkPreviewTypeStoryAlbum
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
impl StructuralPartialEq for LinkPreviewTypeStoryAlbum
Auto Trait Implementations§
impl Freeze for LinkPreviewTypeStoryAlbum
impl RefUnwindSafe for LinkPreviewTypeStoryAlbum
impl Send for LinkPreviewTypeStoryAlbum
impl Sync for LinkPreviewTypeStoryAlbum
impl Unpin for LinkPreviewTypeStoryAlbum
impl UnsafeUnpin for LinkPreviewTypeStoryAlbum
impl UnwindSafe for LinkPreviewTypeStoryAlbum
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