pub struct ArenaDiff {
pub kind: String,
pub added: Vec<String>,
pub removed: Vec<String>,
pub modified: Vec<ModifiedEntity>,
}Expand description
Changes within one entity arena.
Fields§
§kind: StringArena name, matching the field name in crate::CadIr (e.g. "faces").
added: Vec<String>Diff keys of entities present only in the right-hand document.
removed: Vec<String>Diff keys of entities present only in the left-hand document.
modified: Vec<ModifiedEntity>Entities present in both documents with at least one differing field.
Trait Implementations§
impl Eq for ArenaDiff
Source§impl JsonSchema for ArenaDiff
impl JsonSchema for ArenaDiff
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 ArenaDiff
Auto Trait Implementations§
impl Freeze for ArenaDiff
impl RefUnwindSafe for ArenaDiff
impl Send for ArenaDiff
impl Sync for ArenaDiff
impl Unpin for ArenaDiff
impl UnsafeUnpin for ArenaDiff
impl UnwindSafe for ArenaDiff
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