pub struct Binding {
pub path: String,
pub kind: Kind,
pub description: Option<String>,
pub entry_kind: Option<Kind>,
}Expand description
One config-file path with its schema type and (optional) description.
Fields§
§path: StringDotted path from the document root, e.g. limits.max_steps.
kind: Kind§description: Option<String>§entry_kind: Option<Kind>For a free-form map leaf (Kind::Object with additionalProperties):
the type of each entry, so a --<path>.<key> <value> flag can type the
single entry it sets. None for every other kind.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Binding
Auto Trait Implementations§
impl Freeze for Binding
impl RefUnwindSafe for Binding
impl Send for Binding
impl Sync for Binding
impl Unpin for Binding
impl UnsafeUnpin for Binding
impl UnwindSafe for Binding
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