pub struct Document {
pub origin: Origin,
pub file: Option<String>,
pub doc: Value,
pub base: Value,
pub edited: bool,
}Expand description
the document a root is built from, as the session holds it
Fields§
§origin: Origin§file: Option<String>§doc: Value§base: Value§edited: boolTrait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Document
impl !Send for Document
impl !Sync for Document
impl !UnwindSafe for Document
impl Freeze for Document
impl Unpin for Document
impl UnsafeUnpin 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