pub struct ReporterEnvironment {
pub user_home: Option<PathBuf>,
pub working_dir: PathBuf,
pub ktlint_release: &'static str,
}Expand description
What reporters read from the environment: user.home and the ktlint release (sarif) and the working
directory (baseline).
Fields§
§user_home: Option<PathBuf>§working_dir: PathBuf§ktlint_release: &'static strTrait Implementations§
Source§impl Clone for ReporterEnvironment
impl Clone for ReporterEnvironment
Auto Trait Implementations§
impl Freeze for ReporterEnvironment
impl RefUnwindSafe for ReporterEnvironment
impl Send for ReporterEnvironment
impl Sync for ReporterEnvironment
impl Unpin for ReporterEnvironment
impl UnsafeUnpin for ReporterEnvironment
impl UnwindSafe for ReporterEnvironment
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