pub struct Resolved<T> {
pub value: T,
pub origin: Option<String>,
}Expand description
A resolved structural object plus the referenced file it came from.
Fields§
§value: TThe concrete, owned object.
origin: Option<String>The referenced file the object was ultimately resolved from, written
exactly as it appears in the $ref (the import-mapping key), or None
for a same-document / inline object.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Resolved<T>where
T: Freeze,
impl<T> RefUnwindSafe for Resolved<T>where
T: RefUnwindSafe,
impl<T> Send for Resolved<T>where
T: Send,
impl<T> Sync for Resolved<T>where
T: Sync,
impl<T> Unpin for Resolved<T>where
T: Unpin,
impl<T> UnsafeUnpin for Resolved<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Resolved<T>where
T: 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