pub struct BundleBid {
pub agent: AgentId,
pub bundle: Bundle<TaskId>,
}Expand description
One agent’s bid on a bundle of tasks: the bundle, built in its best order, and its value.
Bids of one agent are exclusive (XOR bids): the agent wins at most one of them.
Fields§
§agent: AgentIdThe bidding agent.
bundle: Bundle<TaskId>The tasks bid on, with their path and recorded gains. The bid’s value is
Bundle::value.
Implementations§
Trait Implementations§
impl Eq for BundleBid
impl StructuralPartialEq for BundleBid
Auto Trait Implementations§
impl Forget for BundleBid
impl Freeze for BundleBid
impl Move for BundleBid
impl RefUnwindSafe for BundleBid
impl Send for BundleBid
impl Sync for BundleBid
impl Unpin for BundleBid
impl UnsafeUnpin for BundleBid
impl UnwindSafe for BundleBid
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