pub struct OwnedGifts {
pub total_count: i64,
pub gifts: Vec<OwnedGift>,
pub next_offset: Option<String>,
}Expand description
A paginated list of gifts owned by a user or chat.
Fields§
§total_count: i64Total number of gifts owned by the user or chat.
gifts: Vec<OwnedGift>The list of gifts.
next_offset: Option<String>Offset for the next request; absent if there are no more results.
Trait Implementations§
Source§impl Clone for OwnedGifts
impl Clone for OwnedGifts
Source§fn clone(&self) -> OwnedGifts
fn clone(&self) -> OwnedGifts
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 OwnedGifts
impl Debug for OwnedGifts
Source§impl<'de> Deserialize<'de> for OwnedGifts
impl<'de> Deserialize<'de> for OwnedGifts
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
Auto Trait Implementations§
impl Freeze for OwnedGifts
impl RefUnwindSafe for OwnedGifts
impl Send for OwnedGifts
impl Sync for OwnedGifts
impl Unpin for OwnedGifts
impl UnsafeUnpin for OwnedGifts
impl UnwindSafe for OwnedGifts
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