Struct rain_task::TaskSpec [−][src]
pub struct TaskSpec { pub id: TaskId, pub inputs: Vec<TaskSpecInput>, pub outputs: Vec<DataObjectId>, pub task_type: String, pub config: Option<Value>, pub resources: Resources, pub name: String, pub user: HashMap<String, Value, RandomState>, }
Fields
id: TaskId
inputs: Vec<TaskSpecInput>
outputs: Vec<DataObjectId>
task_type: String
config: Option<Value>
resources: Resources
name: String
user: HashMap<String, Value, RandomState>
Methods
impl TaskSpec
[src]
impl TaskSpec
pub fn parse_config<D>(&'a self) -> Result<D, Error> where
D: Deserialize<'de>,
[src]
pub fn parse_config<D>(&'a self) -> Result<D, Error> where
D: Deserialize<'de>,
Trait Implementations
impl Clone for TaskSpec
[src]
impl Clone for TaskSpec
fn clone(&self) -> TaskSpec
[src]
fn clone(&self) -> TaskSpec
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for TaskSpec
[src]
impl Debug for TaskSpec
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<'de> Deserialize<'de> for TaskSpec
[src]
impl<'de> Deserialize<'de> for TaskSpec
fn deserialize<__D>(
__deserializer: __D
) -> Result<TaskSpec, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<TaskSpec, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for TaskSpec
[src]
impl Serialize for TaskSpec
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Default for TaskSpec
[src]
impl Default for TaskSpec
impl PartialEq<TaskSpec> for TaskSpec
[src]
impl PartialEq<TaskSpec> for TaskSpec