pub enum MedianVerdict {
Pass,
Fail,
Unknown,
}Expand description
How a median compares.
Variants§
Pass
It leans the way wanted (✓).
Fail
It doesn’t (✗).
Unknown
One side has no try to take a median of (–).
Trait Implementations§
Source§impl Clone for MedianVerdict
impl Clone for MedianVerdict
Source§fn clone(&self) -> MedianVerdict
fn clone(&self) -> MedianVerdict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MedianVerdict
Source§impl Debug for MedianVerdict
impl Debug for MedianVerdict
Source§impl<'de> Deserialize<'de> for MedianVerdict
impl<'de> Deserialize<'de> for MedianVerdict
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 MedianVerdict
Source§impl JsonSchema for MedianVerdict
impl JsonSchema for MedianVerdict
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for MedianVerdict
impl PartialEq for MedianVerdict
Source§impl Serialize for MedianVerdict
impl Serialize for MedianVerdict
impl StructuralPartialEq for MedianVerdict
Auto Trait Implementations§
impl Freeze for MedianVerdict
impl RefUnwindSafe for MedianVerdict
impl Send for MedianVerdict
impl Sync for MedianVerdict
impl Unpin for MedianVerdict
impl UnsafeUnpin for MedianVerdict
impl UnwindSafe for MedianVerdict
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