pub struct AutoRule {
pub name: String,
pub match_status: Vec<String>,
pub match_tool: Vec<String>,
pub match_command: Vec<String>,
pub match_project: Vec<String>,
pub match_cost_above: Option<f64>,
pub match_last_error: Option<bool>,
pub match_file_conflict: Option<bool>,
pub action: RuleAction,
pub message: Option<String>,
}Fields§
§name: String§match_status: Vec<String>§match_tool: Vec<String>§match_command: Vec<String>§match_project: Vec<String>§match_cost_above: Option<f64>§match_last_error: Option<bool>§match_file_conflict: Option<bool>§action: RuleAction§message: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AutoRule
impl RefUnwindSafe for AutoRule
impl Send for AutoRule
impl Sync for AutoRule
impl Unpin for AutoRule
impl UnsafeUnpin for AutoRule
impl UnwindSafe for AutoRule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more