pub struct Bid {
pub bidder: AgentId,
pub gain: u64,
}Expand description
A bid: who placed it, and its gain.
Fields§
§bidder: AgentIdThe agent that placed it.
gain: u64Its marginal gain; positive.
Implementations§
Trait Implementations§
impl Copy for Bid
impl Eq for Bid
impl StructuralPartialEq for Bid
Auto Trait Implementations§
impl Forget for Bid
impl Freeze for Bid
impl Move for Bid
impl RefUnwindSafe for Bid
impl Send for Bid
impl Sync for Bid
impl Unpin for Bid
impl UnsafeUnpin for Bid
impl UnwindSafe for Bid
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