pub struct AvailableGifts {
pub gifts: Vec<AvailableGift>,
}Expand description
Contains a list of gifts that can be sent to another user or channel chat
Fields§
§gifts: Vec<AvailableGift>The list of gifts
Trait Implementations§
Source§impl Clone for AvailableGifts
impl Clone for AvailableGifts
Source§fn clone(&self) -> AvailableGifts
fn clone(&self) -> AvailableGifts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AvailableGifts
impl Debug for AvailableGifts
Source§impl Default for AvailableGifts
impl Default for AvailableGifts
Source§fn default() -> AvailableGifts
fn default() -> AvailableGifts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AvailableGifts
impl<'de> Deserialize<'de> for AvailableGifts
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 AvailableGifts
impl PartialEq for AvailableGifts
Source§fn eq(&self, other: &AvailableGifts) -> bool
fn eq(&self, other: &AvailableGifts) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AvailableGifts
impl Serialize for AvailableGifts
impl StructuralPartialEq for AvailableGifts
Auto Trait Implementations§
impl Freeze for AvailableGifts
impl RefUnwindSafe for AvailableGifts
impl Send for AvailableGifts
impl Sync for AvailableGifts
impl Unpin for AvailableGifts
impl UnsafeUnpin for AvailableGifts
impl UnwindSafe for AvailableGifts
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