pub struct DoneWhenPredicate {
pub predicate: String,
pub weight: f64,
}Expand description
A predicate that must hold for the task to be considered done.
Fields§
§predicate: String§weight: f64Trait Implementations§
Source§impl Clone for DoneWhenPredicate
impl Clone for DoneWhenPredicate
Source§impl Debug for DoneWhenPredicate
impl Debug for DoneWhenPredicate
Source§impl<'de> Deserialize<'de> for DoneWhenPredicate
impl<'de> Deserialize<'de> for DoneWhenPredicate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DoneWhenPredicate
impl RefUnwindSafe for DoneWhenPredicate
impl Send for DoneWhenPredicate
impl Sync for DoneWhenPredicate
impl Unpin for DoneWhenPredicate
impl UnsafeUnpin for DoneWhenPredicate
impl UnwindSafe for DoneWhenPredicate
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