pub struct Loaded<D> {
pub doc: D,
pub envelope: Envelope,
pub extras: Map<String, Value>,
}Expand description
A document read from a file.
Fields§
§doc: D§envelope: EnvelopeThe envelope as found in the file (schema_version before migration).
extras: Map<String, Value>Other top-level keys of the envelope (after migration).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<D> Freeze for Loaded<D>where
D: Freeze,
impl<D> RefUnwindSafe for Loaded<D>where
D: RefUnwindSafe,
impl<D> Send for Loaded<D>where
D: Send,
impl<D> Sync for Loaded<D>where
D: Sync,
impl<D> Unpin for Loaded<D>where
D: Unpin,
impl<D> UnsafeUnpin for Loaded<D>where
D: UnsafeUnpin,
impl<D> UnwindSafe for Loaded<D>where
D: UnwindSafe,
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