pub enum ValueGrade {
Authoritative,
Cached,
Estimated,
Hint,
Ungraded,
}Expand description
A value’s grade, or ungraded when no graded value contributed.
ungraded is not a point of the grade order (spec 032, 3.2.3).
Variants§
Implementations§
Source§impl ValueGrade
impl ValueGrade
Trait Implementations§
Source§impl Clone for ValueGrade
impl Clone for ValueGrade
impl Copy for ValueGrade
Source§impl Debug for ValueGrade
impl Debug for ValueGrade
Source§impl<'de> Deserialize<'de> for ValueGrade
impl<'de> Deserialize<'de> for ValueGrade
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 ValueGrade
Source§impl From<Grade> for ValueGrade
impl From<Grade> for ValueGrade
Source§impl Hash for ValueGrade
impl Hash for ValueGrade
Source§impl JsonSchema for ValueGrade
impl JsonSchema for ValueGrade
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 ValueGrade
impl PartialEq for ValueGrade
Source§impl Serialize for ValueGrade
impl Serialize for ValueGrade
impl StructuralPartialEq for ValueGrade
Auto Trait Implementations§
impl Freeze for ValueGrade
impl RefUnwindSafe for ValueGrade
impl Send for ValueGrade
impl Sync for ValueGrade
impl Unpin for ValueGrade
impl UnsafeUnpin for ValueGrade
impl UnwindSafe for ValueGrade
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