pub struct ModifiedEntity {
pub id: String,
pub fields: Vec<String>,
}Expand description
A modified entity and its differing top-level fields.
Fields§
§id: StringDiff key of the entity, as produced by the arena’s key function.
fields: Vec<String>Names of the top-level entity fields whose JSON-serialized values differ between the two documents.
Trait Implementations§
Source§impl Clone for ModifiedEntity
impl Clone for ModifiedEntity
Source§fn clone(&self) -> ModifiedEntity
fn clone(&self) -> ModifiedEntity
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 ModifiedEntity
impl Debug for ModifiedEntity
impl Eq for ModifiedEntity
Source§impl JsonSchema for ModifiedEntity
impl JsonSchema for ModifiedEntity
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 ModifiedEntity
impl PartialEq for ModifiedEntity
Source§impl Serialize for ModifiedEntity
impl Serialize for ModifiedEntity
impl StructuralPartialEq for ModifiedEntity
Auto Trait Implementations§
impl Freeze for ModifiedEntity
impl RefUnwindSafe for ModifiedEntity
impl Send for ModifiedEntity
impl Sync for ModifiedEntity
impl Unpin for ModifiedEntity
impl UnsafeUnpin for ModifiedEntity
impl UnwindSafe for ModifiedEntity
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