pub struct FormatterOverride {
pub disabled: bool,
pub command: Vec<String>,
pub extensions: Vec<String>,
pub environment: HashMap<String, String>,
}Expand description
Override settings for a single formatter.
Fields§
§disabled: boolDisable this formatter.
command: Vec<String>Custom command (overrides built-in). Use $FILE as placeholder.
extensions: Vec<String>File extensions this formatter handles.
environment: HashMap<String, String>Environment variables to set when running the formatter.
Trait Implementations§
Source§impl Clone for FormatterOverride
impl Clone for FormatterOverride
Source§fn clone(&self) -> FormatterOverride
fn clone(&self) -> FormatterOverride
Returns a duplicate of the value. Read more
1.0.0 · 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 FormatterOverride
impl Debug for FormatterOverride
Source§impl<'de> Deserialize<'de> for FormatterOverride
impl<'de> Deserialize<'de> for FormatterOverride
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
Auto Trait Implementations§
impl Freeze for FormatterOverride
impl RefUnwindSafe for FormatterOverride
impl Send for FormatterOverride
impl Sync for FormatterOverride
impl Unpin for FormatterOverride
impl UnsafeUnpin for FormatterOverride
impl UnwindSafe for FormatterOverride
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