pub struct LinkPreviewTypeGiftCollection {
pub icons: Vec<Sticker>,
}Expand description
The link is a link to a gift collection
Fields§
§icons: Vec<Sticker>Icons for some gifts from the collection; may be empty
Trait Implementations§
Source§impl Clone for LinkPreviewTypeGiftCollection
impl Clone for LinkPreviewTypeGiftCollection
Source§fn clone(&self) -> LinkPreviewTypeGiftCollection
fn clone(&self) -> LinkPreviewTypeGiftCollection
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 Default for LinkPreviewTypeGiftCollection
impl Default for LinkPreviewTypeGiftCollection
Source§fn default() -> LinkPreviewTypeGiftCollection
fn default() -> LinkPreviewTypeGiftCollection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinkPreviewTypeGiftCollection
impl<'de> Deserialize<'de> for LinkPreviewTypeGiftCollection
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 LinkPreviewTypeGiftCollection
impl PartialEq for LinkPreviewTypeGiftCollection
Source§fn eq(&self, other: &LinkPreviewTypeGiftCollection) -> bool
fn eq(&self, other: &LinkPreviewTypeGiftCollection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LinkPreviewTypeGiftCollection
Auto Trait Implementations§
impl Freeze for LinkPreviewTypeGiftCollection
impl RefUnwindSafe for LinkPreviewTypeGiftCollection
impl Send for LinkPreviewTypeGiftCollection
impl Sync for LinkPreviewTypeGiftCollection
impl Unpin for LinkPreviewTypeGiftCollection
impl UnsafeUnpin for LinkPreviewTypeGiftCollection
impl UnwindSafe for LinkPreviewTypeGiftCollection
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