pub struct ObjectiveResult {
pub objective: ObjectiveId,
pub status: ObjectiveStatus,
pub observed: Option<u64>,
pub threshold: u64,
}Expand description
Deterministic integer evaluation of one objective.
Fields§
§objective: ObjectiveIdStable objective identifier.
status: ObjectiveStatusMandatory or informational result.
observed: Option<u64>Observed integer value, or None when a reduced profile did not measure it.
threshold: u64Threshold in the same unit.
Trait Implementations§
Source§impl Clone for ObjectiveResult
impl Clone for ObjectiveResult
Source§impl Debug for ObjectiveResult
impl Debug for ObjectiveResult
Source§impl<'de> Deserialize<'de> for ObjectiveResult
impl<'de> Deserialize<'de> for ObjectiveResult
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
impl Eq for ObjectiveResult
Source§impl PartialEq for ObjectiveResult
impl PartialEq for ObjectiveResult
Source§impl Serialize for ObjectiveResult
impl Serialize for ObjectiveResult
impl StructuralPartialEq for ObjectiveResult
Auto Trait Implementations§
impl Forget for ObjectiveResult
impl Freeze for ObjectiveResult
impl Move for ObjectiveResult
impl RefUnwindSafe for ObjectiveResult
impl Send for ObjectiveResult
impl Sync for ObjectiveResult
impl Unpin for ObjectiveResult
impl UnsafeUnpin for ObjectiveResult
impl UnwindSafe for ObjectiveResult
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