pub struct RankedBid {
pub bid_id: String,
pub vendor_id: String,
pub rank: u32,
pub total_score: f64,
pub price_score: f64,
pub quality_score: f64,
pub total_amount: Decimal,
pub criterion_scores: Vec<BidEvaluationEntry>,
}Expand description
A ranked bid with overall scoring.
Fields§
§bid_id: StringBid ID
vendor_id: StringVendor ID
rank: u32Rank (1 = best)
total_score: f64Total weighted score
price_score: f64Price score component
quality_score: f64Technical/quality score component
total_amount: DecimalTotal bid amount
criterion_scores: Vec<BidEvaluationEntry>Individual criterion scores
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RankedBid
impl<'de> Deserialize<'de> for RankedBid
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
Auto Trait Implementations§
impl Freeze for RankedBid
impl RefUnwindSafe for RankedBid
impl Send for RankedBid
impl Sync for RankedBid
impl Unpin for RankedBid
impl UnsafeUnpin for RankedBid
impl UnwindSafe for RankedBid
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