pub struct GiftForResale {
pub gift: UpgradedGift,
pub received_gift_id: String,
}Expand description
Describes a gift available for resale
Fields§
§gift: UpgradedGiftThe gift
received_gift_id: StringUnique identifier of the received gift for the current user; only for the gifts owned by the current user
Trait Implementations§
Source§impl Clone for GiftForResale
impl Clone for GiftForResale
Source§fn clone(&self) -> GiftForResale
fn clone(&self) -> GiftForResale
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 GiftForResale
impl Debug for GiftForResale
Source§impl<'de> Deserialize<'de> for GiftForResale
impl<'de> Deserialize<'de> for GiftForResale
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 GiftForResale
impl PartialEq for GiftForResale
Source§impl Serialize for GiftForResale
impl Serialize for GiftForResale
impl StructuralPartialEq for GiftForResale
Auto Trait Implementations§
impl Freeze for GiftForResale
impl RefUnwindSafe for GiftForResale
impl Send for GiftForResale
impl Sync for GiftForResale
impl Unpin for GiftForResale
impl UnsafeUnpin for GiftForResale
impl UnwindSafe for GiftForResale
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