pub enum ScoringMethod {
LowestPrice,
BestValue,
QualityBased,
}Expand description
Scoring method for bid evaluation.
Variants§
LowestPrice
Lowest price wins
BestValue
Best value (weighted price + quality)
QualityBased
Quality-based selection (price secondary)
Trait Implementations§
Source§impl Clone for ScoringMethod
impl Clone for ScoringMethod
Source§fn clone(&self) -> ScoringMethod
fn clone(&self) -> ScoringMethod
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 ScoringMethod
impl Debug for ScoringMethod
Source§impl Default for ScoringMethod
impl Default for ScoringMethod
Source§fn default() -> ScoringMethod
fn default() -> ScoringMethod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScoringMethod
impl<'de> Deserialize<'de> for ScoringMethod
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
Source§impl Hash for ScoringMethod
impl Hash for ScoringMethod
Source§impl PartialEq for ScoringMethod
impl PartialEq for ScoringMethod
Source§impl Serialize for ScoringMethod
impl Serialize for ScoringMethod
impl Copy for ScoringMethod
impl Eq for ScoringMethod
impl StructuralPartialEq for ScoringMethod
Auto Trait Implementations§
impl Freeze for ScoringMethod
impl RefUnwindSafe for ScoringMethod
impl Send for ScoringMethod
impl Sync for ScoringMethod
impl Unpin for ScoringMethod
impl UnwindSafe for ScoringMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.