pub struct ListOptions {
pub verbose: bool,
pub compact: bool,
pub json_output: bool,
pub pretty: bool,
pub toon: bool,
pub detail: ListDetail,
pub max_bytes: Option<usize>,
pub inline: bool,
pub style: ListStyle,
}Fields§
§verbose: bool§compact: bool§json_output: bool§pretty: bool§toon: bool§detail: ListDetail§max_bytes: Option<usize>§inline: bool§style: ListStyleImplementations§
Source§impl ListOptions
impl ListOptions
pub fn from_global(pre: &GlobalArgs, style: ListStyle) -> Self
Trait Implementations§
Source§impl Clone for ListOptions
impl Clone for ListOptions
Source§fn clone(&self) -> ListOptions
fn clone(&self) -> ListOptions
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 moreAuto Trait Implementations§
impl Freeze for ListOptions
impl RefUnwindSafe for ListOptions
impl Send for ListOptions
impl Sync for ListOptions
impl Unpin for ListOptions
impl UnsafeUnpin for ListOptions
impl UnwindSafe for ListOptions
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