Enum cli::types::TaskWatchOptions
source · [−]pub enum TaskWatchOptions {
Boolean(bool),
Options(WatchOptions),
}
Expand description
Holds watch options or simple true/false value
Variants
Boolean(bool)
True/False to enable/disable watch
Options(WatchOptions)
Extended configuration for watch
Trait Implementations
sourceimpl Clone for TaskWatchOptions
impl Clone for TaskWatchOptions
sourcefn clone(&self) -> TaskWatchOptions
fn clone(&self) -> TaskWatchOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TaskWatchOptions
impl Debug for TaskWatchOptions
sourceimpl<'de> Deserialize<'de> for TaskWatchOptions
impl<'de> Deserialize<'de> for TaskWatchOptions
sourcefn 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
sourceimpl PartialEq<TaskWatchOptions> for TaskWatchOptions
impl PartialEq<TaskWatchOptions> for TaskWatchOptions
sourcefn eq(&self, other: &TaskWatchOptions) -> bool
fn eq(&self, other: &TaskWatchOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for TaskWatchOptions
impl Serialize for TaskWatchOptions
Auto Trait Implementations
impl RefUnwindSafe for TaskWatchOptions
impl Send for TaskWatchOptions
impl Sync for TaskWatchOptions
impl Unpin for TaskWatchOptions
impl UnwindSafe for TaskWatchOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more