pub struct TaskConfigInToml {
pub name: String,
pub cronexp: String,
pub path: String,
pub timeout: u32,
pub import: Option<String>,
}Expand description
Task configuration
Fields§
§name: String§cronexp: String§path: String§timeout: u32§import: Option<String>Trait Implementations§
Source§impl Clone for TaskConfigInToml
impl Clone for TaskConfigInToml
Source§fn clone(&self) -> TaskConfigInToml
fn clone(&self) -> TaskConfigInToml
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 TaskConfigInToml
impl Debug for TaskConfigInToml
Source§impl Default for TaskConfigInToml
impl Default for TaskConfigInToml
Source§fn default() -> TaskConfigInToml
fn default() -> TaskConfigInToml
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskConfigInTomlwhere
TaskConfigInToml: Default,
impl<'de> Deserialize<'de> for TaskConfigInTomlwhere
TaskConfigInToml: Default,
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
Source§impl ImportableInToml for TaskConfigInToml
impl ImportableInToml for TaskConfigInToml
Source§impl Into<CronTaskConfig> for TaskConfigInToml
impl Into<CronTaskConfig> for TaskConfigInToml
Source§fn into(self) -> CronTaskConfig
fn into(self) -> CronTaskConfig
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for TaskConfigInToml
impl RefUnwindSafe for TaskConfigInToml
impl Send for TaskConfigInToml
impl Sync for TaskConfigInToml
impl Unpin for TaskConfigInToml
impl UnwindSafe for TaskConfigInToml
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