pub struct OutputOptions {
pub pretty: bool,
pub raw: bool,
pub toon: bool,
pub head: Option<usize>,
pub json_output: bool,
pub max_bytes: Option<usize>,
pub inline: bool,
}Fields§
§pretty: bool§raw: bool§toon: bool§head: Option<usize>§json_output: bool§max_bytes: Option<usize>When set, spill rendered output larger than this to spool (None / Some(0) = never).
inline: boolForce full inline output even if over max_bytes.
Trait Implementations§
Source§impl Clone for OutputOptions
impl Clone for OutputOptions
Source§fn clone(&self) -> OutputOptions
fn clone(&self) -> OutputOptions
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 OutputOptions
impl Debug for OutputOptions
Source§impl Default for OutputOptions
impl Default for OutputOptions
Source§fn default() -> OutputOptions
fn default() -> OutputOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OutputOptions
impl RefUnwindSafe for OutputOptions
impl Send for OutputOptions
impl Sync for OutputOptions
impl Unpin for OutputOptions
impl UnsafeUnpin for OutputOptions
impl UnwindSafe for OutputOptions
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