Struct json_model::Context
source · pub struct Context<'j> { /* private fields */ }
Implementations
sourceimpl<'j> Context<'j>
impl<'j> Context<'j>
pub fn new(
ptr: String,
path: Vec<&'j Value>,
raw_definition: &'j Map<String, Value>,
name: &str
) -> Self
pub fn ptr(&self) -> String
pub fn path(&self) -> Vec<&Value>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn raw_definition(&self) -> &Map<String, Value>
pub fn name(&self) -> String
Auto Trait Implementations
impl<'j> RefUnwindSafe for Context<'j>
impl<'j> Send for Context<'j>
impl<'j> Sync for Context<'j>
impl<'j> Unpin for Context<'j>
impl<'j> UnwindSafe for Context<'j>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more