pub struct AuctionRound {
pub number: i32,
pub duration: i32,
pub extend_time: i32,
pub top_winner_count: i32,
}Expand description
Describes a round of an auction
Fields§
§number: i321-based number of the round
duration: i32Duration of the round, in seconds
extend_time: i32The number of seconds for which the round will be extended if there are changes in the top winners
top_winner_count: i32The number of top winners who trigger round extension if changed
Trait Implementations§
Source§impl Clone for AuctionRound
impl Clone for AuctionRound
Source§fn clone(&self) -> AuctionRound
fn clone(&self) -> AuctionRound
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 AuctionRound
impl Debug for AuctionRound
Source§impl Default for AuctionRound
impl Default for AuctionRound
Source§fn default() -> AuctionRound
fn default() -> AuctionRound
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuctionRound
impl<'de> Deserialize<'de> for AuctionRound
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 AuctionRound
impl PartialEq for AuctionRound
Source§impl Serialize for AuctionRound
impl Serialize for AuctionRound
impl StructuralPartialEq for AuctionRound
Auto Trait Implementations§
impl Freeze for AuctionRound
impl RefUnwindSafe for AuctionRound
impl Send for AuctionRound
impl Sync for AuctionRound
impl Unpin for AuctionRound
impl UnsafeUnpin for AuctionRound
impl UnwindSafe for AuctionRound
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