pub struct ExactnessNote {
pub entity: Exactness,
pub fields: BTreeMap<String, Exactness>,
}Expand description
Exactness for an entity and sparse overrides for its serialized fields.
Fields§
§entity: ExactnessExactness of the entity except where overridden by fields.
fields: BTreeMap<String, Exactness>Exactness overrides keyed by serde field path.
Trait Implementations§
Source§impl Clone for ExactnessNote
impl Clone for ExactnessNote
Source§fn clone(&self) -> ExactnessNote
fn clone(&self) -> ExactnessNote
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 moreSource§impl Debug for ExactnessNote
impl Debug for ExactnessNote
Source§impl Default for ExactnessNote
impl Default for ExactnessNote
Source§impl<'de> Deserialize<'de> for ExactnessNote
impl<'de> Deserialize<'de> for ExactnessNote
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 ExactnessNote
Source§impl JsonSchema for ExactnessNote
impl JsonSchema for ExactnessNote
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 ExactnessNote
impl PartialEq for ExactnessNote
Source§impl Serialize for ExactnessNote
impl Serialize for ExactnessNote
impl StructuralPartialEq for ExactnessNote
Auto Trait Implementations§
impl Freeze for ExactnessNote
impl RefUnwindSafe for ExactnessNote
impl Send for ExactnessNote
impl Sync for ExactnessNote
impl Unpin for ExactnessNote
impl UnsafeUnpin for ExactnessNote
impl UnwindSafe for ExactnessNote
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