Struct boon::KeywordPath
source · pub struct KeywordPath<'s> {
pub keyword: &'static str,
pub token: Option<SchemaToken<'s>>,
}
Expand description
JsonPointer in schema.
Fields§
§keyword: &'static str
The 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 copy 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 more