pub struct Condition {
pub kind: String,
pub trigger: bool,
pub negate: bool,
pub parameter: String,
}Fields§
§kind: Stringe.g. “ConditionPathExists”, “AssertUser”.
trigger: bool| prefix in unit files.
negate: bool! prefix in unit files.
parameter: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for Condition
impl RefUnwindSafe for Condition
impl Send for Condition
impl Sync for Condition
impl Unpin for Condition
impl UnsafeUnpin for Condition
impl UnwindSafe for Condition
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