pub struct CrabScore {
pub overall: f64,
pub performance: f64,
pub energy: f64,
pub cost: f64,
pub bonuses: f64,
pub certification: Certification,
pub timestamp: DateTime<Utc>,
pub metadata: ScoreMetadata,
}Expand description
Represents a complete CrabScore assessment
Fields§
§overall: f64Overall score (0-100)
performance: f64Performance component score (0-100)
energy: f64Energy efficiency component score (0-100)
cost: f64Cost efficiency component score (0-100)
bonuses: f64Bonus points from various optimizations
certification: CertificationCertification level achieved
timestamp: DateTime<Utc>When this score was calculated
metadata: ScoreMetadataAdditional metadata about the score
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CrabScore
impl<'de> Deserialize<'de> for CrabScore
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 CrabScore
impl RefUnwindSafe for CrabScore
impl Send for CrabScore
impl Sync for CrabScore
impl Unpin for CrabScore
impl UnwindSafe for CrabScore
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