pub struct Document {
pub value: Value,
pub conflicts: Vec<String>,
pub notes: Vec<String>,
}Expand description
A rendered document plus anything that had to be reconciled to build it.
Fields§
§value: Value§conflicts: Vec<String>Identity collisions. Never silently resolved: the last writer would otherwise win and quietly change the contract.
notes: Vec<String>Shapes the dialect cannot express as precisely as the code states them. Reported like extraction gaps, and like them never fatal.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Document
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnsafeUnpin for Document
impl UnwindSafe for Document
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