pub struct Bid {
pub level: u8,
pub strain: Strain,
}Expand description
A call that proposes a contract
The order of the fields ensures natural ordering by deriving PartialOrd
and Ord.
Fields§
§level: u8The number of tricks (adding the book of 6 tricks) to take to fulfill the contract
strain: StrainThe strain of the contract
Implementations§
Trait Implementations§
Source§impl Ord for Bid
impl Ord for Bid
Source§impl PartialOrd for Bid
impl PartialOrd for Bid
impl Copy for Bid
impl Eq for Bid
impl StructuralPartialEq for Bid
Auto Trait Implementations§
impl Freeze for Bid
impl RefUnwindSafe for Bid
impl Send for Bid
impl Sync for Bid
impl Unpin 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