pub struct ElemTask {
pub id: String,
pub name: String,
pub package: String,
pub version: Version,
pub input: Vec<Dataset>,
pub output: Option<Dataset>,
pub location: Option<Location>,
pub metadata: Vec<Metadata>,
pub next: Box<Elem>,
}
Expand description
Defines a task node in the graph consisting of Elem
s, which defines data access.
Yeah so basically represents a task execution, with all checker-relevant information.
Fields§
§id: String
Some identifier for this call specifically.
name: String
The name of the task to execute
package: String
The name of the package in which to find the task.
version: Version
The version number of the package in which to find the task.
input: Vec<Dataset>
Any input datasets used by the task.
Note that this denotes a set of possible input sets. One or more of these may actually be used at runtime.
output: Option<Dataset>
If there is an output dataset produced by this task, this names it.
location: Option<Location>
The location where the task is planned to be executed, if any.
metadata: Vec<Metadata>
The list of metadata belonging to this task. Note: may need to be populated by the checker!
next: Box<Elem>
The next graph element that this task connects to.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ElemTask
impl<'de> Deserialize<'de> for ElemTask
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>,
Auto Trait Implementations§
impl Freeze for ElemTask
impl RefUnwindSafe for ElemTask
impl Send for ElemTask
impl Sync for ElemTask
impl Unpin for ElemTask
impl UnwindSafe for ElemTask
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request