pub struct OutputOptions {
pub redaction: Redactor,
pub style: PlainStyle,
}Expand description
Output options combining redaction and rendering style.
Fields§
§redaction: RedactorRedactor applied before rendering.
style: PlainStyleRendering style for plain output only.
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
impl Eq for OutputOptions
Source§impl From<RedactionPolicy> for OutputOptions
impl From<RedactionPolicy> for OutputOptions
Source§fn from(policy: RedactionPolicy) -> Self
fn from(policy: RedactionPolicy) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OutputOptions
impl PartialEq 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
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.