pub struct GlobalFlags {}Expand description
Parsed framework-global flags.
Applications can add their own global flags, but these are the built-in controls understood by middleware and the output pipeline.
Fields§
§output_format: StringOutput format: json, human, or toon.
verbose: StringMetadata verbosity selector.
dry_run: boolWhether mutating commands should short-circuit.
fields: StringField projection.
filter: StringJMESPath per-item filter.
expr: StringJMESPath whole-result expression.
limit: i64Client-side page size.
offset: i64Client-side page offset.
schema: boolWhether schema rendering was requested.
reason: StringUser-provided command reason.
timeout: StringRaw timeout string.
debug: StringDebug selector.
search: StringSearch query.
Trait Implementations§
Source§impl Clone for GlobalFlags
impl Clone for GlobalFlags
Source§fn clone(&self) -> GlobalFlags
fn clone(&self) -> GlobalFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GlobalFlags
impl Debug for GlobalFlags
Source§impl Default for GlobalFlags
impl Default for GlobalFlags
Source§impl PartialEq for GlobalFlags
impl PartialEq for GlobalFlags
Source§fn eq(&self, other: &GlobalFlags) -> bool
fn eq(&self, other: &GlobalFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for GlobalFlags
impl StructuralPartialEq for GlobalFlags
Auto Trait Implementations§
impl Freeze for GlobalFlags
impl RefUnwindSafe for GlobalFlags
impl Send for GlobalFlags
impl Sync for GlobalFlags
impl Unpin for GlobalFlags
impl UnsafeUnpin for GlobalFlags
impl UnwindSafe for GlobalFlags
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