pub struct OutputPreferences {
pub json: bool,
pub template: Option<String>,
pub remote: Option<String>,
pub post_processors: Vec<PostProcessor>,
}
Expand description
The output preferences
Fields§
§json: bool
Output as JSON
template: Option<String>
Output Handlebar template
remote: Option<String>
The remote url
post_processors: Vec<PostProcessor>
Output line post-processors
Implementations§
Trait Implementations§
Source§impl Debug for OutputPreferences
impl Debug for OutputPreferences
Source§impl Default for OutputPreferences
impl Default for OutputPreferences
Source§fn default() -> OutputPreferences
fn default() -> OutputPreferences
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputPreferenceswhere
OutputPreferences: Default,
impl<'de> Deserialize<'de> for OutputPreferenceswhere
OutputPreferences: Default,
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
Source§impl PartialEq for OutputPreferences
impl PartialEq for OutputPreferences
impl Eq for OutputPreferences
impl StructuralPartialEq for OutputPreferences
Auto Trait Implementations§
impl Freeze for OutputPreferences
impl RefUnwindSafe for OutputPreferences
impl Send for OutputPreferences
impl Sync for OutputPreferences
impl Unpin for OutputPreferences
impl UnwindSafe for OutputPreferences
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