#[non_exhaustive]pub struct CometResult {
pub score: Option<f32>,
/* private fields */
}Available on crate feature
evaluation-service only.Expand description
Spec for Comet result - calculates the comet score for the given instance using the version specified in the spec.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.score: Option<f32>Output only. Comet score. Range depends on version.
Implementations§
Trait Implementations§
Source§impl Clone for CometResult
impl Clone for CometResult
Source§fn clone(&self) -> CometResult
fn clone(&self) -> CometResult
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 CometResult
impl Debug for CometResult
Source§impl Default for CometResult
impl Default for CometResult
Source§fn default() -> CometResult
fn default() -> CometResult
Returns the “default value” for a type. Read more
Source§impl Message for CometResult
impl Message for CometResult
Source§impl PartialEq for CometResult
impl PartialEq for CometResult
impl StructuralPartialEq for CometResult
Auto Trait Implementations§
impl Freeze for CometResult
impl RefUnwindSafe for CometResult
impl Send for CometResult
impl Sync for CometResult
impl Unpin for CometResult
impl UnwindSafe for CometResult
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