pub enum Exactness {
ByteExact,
Derived,
Inferred,
Unknown,
}Expand description
How an entity or field value was established from its source.
Variants§
ByteExact
Read verbatim from the source stream with no transformation beyond documented unit conversion.
Derived
Computed deterministically from byte-exact inputs.
Inferred
Filled in from context or convention rather than an explicit source field.
Unknown
Origin or trustworthiness could not be established.
Trait Implementations§
impl Copy for Exactness
Source§impl<'de> Deserialize<'de> for Exactness
impl<'de> Deserialize<'de> for Exactness
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 Exactness
Source§impl JsonSchema for Exactness
impl JsonSchema for Exactness
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 moreimpl StructuralPartialEq for Exactness
Auto Trait Implementations§
impl Freeze for Exactness
impl RefUnwindSafe for Exactness
impl Send for Exactness
impl Sync for Exactness
impl Unpin for Exactness
impl UnsafeUnpin for Exactness
impl UnwindSafe for Exactness
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