pub enum AuctionState {
Active(AuctionStateActive),
Finished(AuctionStateFinished),
}Variants§
Active(AuctionStateActive)
Contains information about an ongoing or scheduled auction
Finished(AuctionStateFinished)
Contains information about a finished auction
Trait Implementations§
Source§impl Clone for AuctionState
impl Clone for AuctionState
Source§fn clone(&self) -> AuctionState
fn clone(&self) -> AuctionState
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 AuctionState
impl Debug for AuctionState
Source§impl<'de> Deserialize<'de> for AuctionState
impl<'de> Deserialize<'de> for AuctionState
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 AuctionState
impl PartialEq for AuctionState
Source§impl Serialize for AuctionState
impl Serialize for AuctionState
impl StructuralPartialEq for AuctionState
Auto Trait Implementations§
impl Freeze for AuctionState
impl RefUnwindSafe for AuctionState
impl Send for AuctionState
impl Sync for AuctionState
impl Unpin for AuctionState
impl UnsafeUnpin for AuctionState
impl UnwindSafe for AuctionState
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