pub struct TaskOptions {
pub custom: HashMap<String, Value>,
}Expand description
Options for a task
This struct holds custom options that can be passed to a task. Options are stored as JSON values for flexibility.
Fields§
§custom: HashMap<String, Value>Custom options
Trait Implementations§
Source§impl Clone for TaskOptions
impl Clone for TaskOptions
Source§fn clone(&self) -> TaskOptions
fn clone(&self) -> TaskOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TaskOptions
impl Debug for TaskOptions
Source§impl Default for TaskOptions
impl Default for TaskOptions
Source§fn default() -> TaskOptions
fn default() -> TaskOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskOptions
impl<'de> Deserialize<'de> for TaskOptions
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 TaskOptions
impl RefUnwindSafe for TaskOptions
impl Send for TaskOptions
impl Sync for TaskOptions
impl Unpin for TaskOptions
impl UnwindSafe for TaskOptions
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