pub struct GiftAuctionState {
pub gift: Gift,
pub state: AuctionState,
}Expand description
Represent auction state of a gift
Fields§
§gift: GiftThe gift
state: AuctionStateAuction state of the gift
Trait Implementations§
Source§impl Clone for GiftAuctionState
impl Clone for GiftAuctionState
Source§fn clone(&self) -> GiftAuctionState
fn clone(&self) -> GiftAuctionState
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 GiftAuctionState
impl Debug for GiftAuctionState
Source§impl<'de> Deserialize<'de> for GiftAuctionState
impl<'de> Deserialize<'de> for GiftAuctionState
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 GiftAuctionState
impl PartialEq for GiftAuctionState
Source§impl Serialize for GiftAuctionState
impl Serialize for GiftAuctionState
impl StructuralPartialEq for GiftAuctionState
Auto Trait Implementations§
impl Freeze for GiftAuctionState
impl RefUnwindSafe for GiftAuctionState
impl Send for GiftAuctionState
impl Sync for GiftAuctionState
impl Unpin for GiftAuctionState
impl UnsafeUnpin for GiftAuctionState
impl UnwindSafe for GiftAuctionState
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