pub enum AliasKind {
Set,
SetTrue,
Append,
SetFromFile,
Special,
}Expand description
How a named flag maps onto the document.
Variants§
Set
--flag <value> sets path (typed by the schema binding of path).
SetTrue
--flag (no value) sets path to true.
Append
--flag <value> appends a parsed element to the array at path.
SetFromFile
--flag <value> reads the FILE at <value> and sets path to its text.
Special
Handled by dedicated code (--mcp-tags, --budget-exit-code).
Trait Implementations§
impl Copy for AliasKind
impl Eq for AliasKind
impl StructuralPartialEq for AliasKind
Auto Trait Implementations§
impl Freeze for AliasKind
impl RefUnwindSafe for AliasKind
impl Send for AliasKind
impl Sync for AliasKind
impl Unpin for AliasKind
impl UnsafeUnpin for AliasKind
impl UnwindSafe for AliasKind
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