pub struct OutputOptions {
pub width: usize,
pub wrap: bool,
pub code_line_numbers: bool,
pub max_rows: usize,
pub sanitize: SanitizePolicy,
}Fields§
§width: usize§wrap: bool§code_line_numbers: bool§max_rows: usize§sanitize: SanitizePolicyImplementations§
Source§impl OutputOptions
impl OutputOptions
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 moreimpl Copy for OutputOptions
Source§impl Debug for OutputOptions
impl Debug for OutputOptions
Source§impl Default for OutputOptions
impl Default for OutputOptions
Source§impl<'de> Deserialize<'de> for OutputOptions
impl<'de> Deserialize<'de> for OutputOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OutputOptions
Source§impl PartialEq for OutputOptions
impl PartialEq for OutputOptions
Source§fn eq(&self, other: &OutputOptions) -> bool
fn eq(&self, other: &OutputOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OutputOptions
impl Serialize for OutputOptions
impl StructuralPartialEq for OutputOptions
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