pub struct TaskDefinition {
pub id: String,
pub name: String,
pub description: String,
pub actions: Vec<Action>,
}Expand description
任务定义详情
Fields§
§id: String§name: String§description: String§actions: Vec<Action>Trait Implementations§
Source§impl Clone for TaskDefinition
impl Clone for TaskDefinition
Source§fn clone(&self) -> TaskDefinition
fn clone(&self) -> TaskDefinition
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 TaskDefinition
impl Debug for TaskDefinition
Source§impl<'de> Deserialize<'de> for TaskDefinition
impl<'de> Deserialize<'de> for TaskDefinition
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 TaskDefinition
impl RefUnwindSafe for TaskDefinition
impl Send for TaskDefinition
impl Sync for TaskDefinition
impl Unpin for TaskDefinition
impl UnwindSafe for TaskDefinition
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