pub struct TaskProps {
pub src: Option<String>,
pub src_str: Option<String>,
pub dst: Option<String>,
pub src_multiple: Option<Vec<String>>,
pub dst_policy_id: Option<String>,
pub failed: Option<i32>,
pub download: Option<DownloadTaskStatus>,
}Expand description
Task properties
Fields§
§src: Option<String>§src_str: Option<String>§dst: Option<String>§src_multiple: Option<Vec<String>>§dst_policy_id: Option<String>§failed: Option<i32>§download: Option<DownloadTaskStatus>Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskProps
impl<'de> Deserialize<'de> for TaskProps
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 TaskProps
impl RefUnwindSafe for TaskProps
impl Send for TaskProps
impl Sync for TaskProps
impl Unpin for TaskProps
impl UnsafeUnpin for TaskProps
impl UnwindSafe for TaskProps
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