pub struct Watchlist {
pub name: String,
pub interval: Duration,
pub duration: Option<Duration>,
pub outputs: Outputs,
pub targets: Vec<Target>,
}Expand description
A saved watchlist.
Fields§
§name: String§interval: DurationTime from one tick’s start to the next.
duration: Option<Duration>How long a run lasts; None runs until the user stops it.
outputs: Outputs§targets: Vec<Target>Implementations§
Trait Implementations§
impl StructuralPartialEq for Watchlist
Auto Trait Implementations§
impl Forget for Watchlist
impl Freeze for Watchlist
impl RefUnwindSafe for Watchlist
impl Send for Watchlist
impl Sync for Watchlist
impl Unpin for Watchlist
impl UnsafeUnpin for Watchlist
impl UnwindSafe for Watchlist
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