pub struct Doc {
pub kind: ResourceKind,
pub stem: String,
pub physical: String,
pub body: Value,
}Expand description
One resource document, identified logically by stem (its file name) and
physically by physical (its name field, when it has one).
Fields§
§kind: ResourceKind§stem: String§physical: String§body: ValueTrait Implementations§
Auto Trait Implementations§
impl Freeze for Doc
impl RefUnwindSafe for Doc
impl Send for Doc
impl Sync for Doc
impl Unpin for Doc
impl UnsafeUnpin for Doc
impl UnwindSafe for Doc
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