pub struct ProjectDiagnosticsConfig {
pub perlcritic: Option<bool>,
pub perlcritic_severity: Option<u8>,
}Expand description
[diagnostics] section of .perl-lsp.toml.
Fields§
§perlcritic: Option<bool>Whether perlcritic is enabled. Maps to ServerConfig.perlcritic_enabled.
perlcritic_severity: Option<u8>Minimum perlcritic severity (1-5). Maps to ServerConfig.perlcritic_severity.
Trait Implementations§
Source§impl Clone for ProjectDiagnosticsConfig
impl Clone for ProjectDiagnosticsConfig
Source§fn clone(&self) -> ProjectDiagnosticsConfig
fn clone(&self) -> ProjectDiagnosticsConfig
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 ProjectDiagnosticsConfig
impl Debug for ProjectDiagnosticsConfig
Source§impl Default for ProjectDiagnosticsConfig
impl Default for ProjectDiagnosticsConfig
Source§fn default() -> ProjectDiagnosticsConfig
fn default() -> ProjectDiagnosticsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectDiagnosticsConfigwhere
ProjectDiagnosticsConfig: Default,
impl<'de> Deserialize<'de> for ProjectDiagnosticsConfigwhere
ProjectDiagnosticsConfig: Default,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProjectDiagnosticsConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProjectDiagnosticsConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProjectDiagnosticsConfig
impl RefUnwindSafe for ProjectDiagnosticsConfig
impl Send for ProjectDiagnosticsConfig
impl Sync for ProjectDiagnosticsConfig
impl Unpin for ProjectDiagnosticsConfig
impl UnsafeUnpin for ProjectDiagnosticsConfig
impl UnwindSafe for ProjectDiagnosticsConfig
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