pub struct AuctionBid {
pub fighter_id: FighterId,
pub estimated_time_secs: u64,
pub confidence: f64,
pub submitted_at: DateTime<Utc>,
}Expand description
A bid from an agent in the Auction pattern.
Fields§
§fighter_id: FighterIdThe bidding fighter.
estimated_time_secs: u64Estimated time to complete (in seconds).
confidence: f64Confidence level (0.0 to 1.0).
submitted_at: DateTime<Utc>When the bid was submitted.
Trait Implementations§
Source§impl Clone for AuctionBid
impl Clone for AuctionBid
Source§fn clone(&self) -> AuctionBid
fn clone(&self) -> AuctionBid
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 AuctionBid
impl Debug for AuctionBid
Source§impl<'de> Deserialize<'de> for AuctionBid
impl<'de> Deserialize<'de> for AuctionBid
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
Auto Trait Implementations§
impl Freeze for AuctionBid
impl RefUnwindSafe for AuctionBid
impl Send for AuctionBid
impl Sync for AuctionBid
impl Unpin for AuctionBid
impl UnsafeUnpin for AuctionBid
impl UnwindSafe for AuctionBid
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