pub struct KeywordPath<'s> {
pub keyword: &'static str,
pub token: Option<SchemaToken<'s>>,
}Expand description
JsonPointer in schema.
Fields§
§keyword: &'static strThe first token.
token: Option<SchemaToken<'s>>Optinal token within keyword.
Trait Implementations§
Source§impl<'s> Clone for KeywordPath<'s>
impl<'s> Clone for KeywordPath<'s>
Source§fn clone(&self) -> KeywordPath<'s>
fn clone(&self) -> KeywordPath<'s>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'s> Debug for KeywordPath<'s>
impl<'s> Debug for KeywordPath<'s>
Auto Trait Implementations§
impl<'s> Freeze for KeywordPath<'s>
impl<'s> RefUnwindSafe for KeywordPath<'s>
impl<'s> Send for KeywordPath<'s>
impl<'s> Sync for KeywordPath<'s>
impl<'s> Unpin for KeywordPath<'s>
impl<'s> UnwindSafe for KeywordPath<'s>
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