pub struct InternalLinkTypeGiftCollection {
pub gift_owner_username: String,
pub collection_id: i32,
}Expand description
The link is a link to a gift collection. Call searchPublicChat with the given username, then call getReceivedGifts with the received gift owner identifier and the given collection identifier, then show the collection if received
Fields§
§gift_owner_username: StringUsername of the owner of the gift collection
collection_id: i32Gift collection identifier
Trait Implementations§
Source§impl Clone for InternalLinkTypeGiftCollection
impl Clone for InternalLinkTypeGiftCollection
Source§fn clone(&self) -> InternalLinkTypeGiftCollection
fn clone(&self) -> InternalLinkTypeGiftCollection
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 InternalLinkTypeGiftCollection
impl Default for InternalLinkTypeGiftCollection
Source§fn default() -> InternalLinkTypeGiftCollection
fn default() -> InternalLinkTypeGiftCollection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InternalLinkTypeGiftCollection
impl<'de> Deserialize<'de> for InternalLinkTypeGiftCollection
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 InternalLinkTypeGiftCollection
impl PartialEq for InternalLinkTypeGiftCollection
Source§fn eq(&self, other: &InternalLinkTypeGiftCollection) -> bool
fn eq(&self, other: &InternalLinkTypeGiftCollection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InternalLinkTypeGiftCollection
Auto Trait Implementations§
impl Freeze for InternalLinkTypeGiftCollection
impl RefUnwindSafe for InternalLinkTypeGiftCollection
impl Send for InternalLinkTypeGiftCollection
impl Sync for InternalLinkTypeGiftCollection
impl Unpin for InternalLinkTypeGiftCollection
impl UnsafeUnpin for InternalLinkTypeGiftCollection
impl UnwindSafe for InternalLinkTypeGiftCollection
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