pub struct ConfigMissingKeyFixGenerator;
Expand description
Generates fixes for missing configuration keys
Implementations§
Source§impl ConfigMissingKeyFixGenerator
impl ConfigMissingKeyFixGenerator
Sourcepub fn new() -> ConfigMissingKeyFixGenerator
pub fn new() -> ConfigMissingKeyFixGenerator
Creates a new ConfigMissingKeyFixGenerator
Trait Implementations§
Source§impl FixGenerator for ConfigMissingKeyFixGenerator
impl FixGenerator for ConfigMissingKeyFixGenerator
Source§fn generate_fix(
&self,
error: &DecrustError,
params: &ExtractedParameters,
_source_code_context: Option<&str>,
) -> Option<Autocorrection>
fn generate_fix( &self, error: &DecrustError, params: &ExtractedParameters, _source_code_context: Option<&str>, ) -> Option<Autocorrection>
Generates a fix for an error using extracted parameters
Auto Trait Implementations§
impl Freeze for ConfigMissingKeyFixGenerator
impl RefUnwindSafe for ConfigMissingKeyFixGenerator
impl Send for ConfigMissingKeyFixGenerator
impl Sync for ConfigMissingKeyFixGenerator
impl Unpin for ConfigMissingKeyFixGenerator
impl UnwindSafe for ConfigMissingKeyFixGenerator
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