Struct dds_bridge::Bid
source · 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
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl 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