pub struct GlobalFlags {Show 14 fields
pub output_format: String,
pub verbose: String,
pub dry_run: bool,
pub fields: String,
pub filter: String,
pub expr: String,
pub limit: i64,
pub offset: i64,
pub schema: bool,
pub reason: String,
pub timeout: String,
pub debug: String,
pub search: String,
pub credential_store: Option<CredentialStore>,
}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.
credential_store: Option<CredentialStore>Credential storage override from --credential-store, if supplied.
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
impl Eq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.