pub struct ValidateConfig {
pub strict: bool,
pub auto_fix: bool,
pub format: String,
}Expand description
Configuration for validation command
Fields§
§strict: bool§auto_fix: bool§format: StringTrait Implementations§
Source§impl Clone for ValidateConfig
impl Clone for ValidateConfig
Source§fn clone(&self) -> ValidateConfig
fn clone(&self) -> ValidateConfig
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 ValidateConfig
impl Debug for ValidateConfig
Source§impl Default for ValidateConfig
impl Default for ValidateConfig
Source§impl<'de> Deserialize<'de> for ValidateConfig
impl<'de> Deserialize<'de> for ValidateConfig
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 ValidateConfig
impl RefUnwindSafe for ValidateConfig
impl Send for ValidateConfig
impl Sync for ValidateConfig
impl Unpin for ValidateConfig
impl UnsafeUnpin for ValidateConfig
impl UnwindSafe for ValidateConfig
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