pub struct ElemCommit {
pub id: String,
pub data_name: String,
pub location: Option<Location>,
pub input: Vec<Dataset>,
pub next: Box<Elem>,
}
Expand description
Defines a commit node in the graph consisting of Elem
s, which defines data promotion.
Checkers can assume that anything produced by a function will be deleted after the workflow stops (or at least, domains should do so) unless committed.
Fields§
§id: String
Some identifier for this call specifically.
data_name: String
The name after committing.
location: Option<Location>
The location where the commit is planned to be “executed”, if any.
Note that this location is a little bit weird in the context of a commit, as it’s just an adminstrative procedure. It can thus be interpreted purely as: “the location where the new output will be advertised”.
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.
next: Box<Elem>
The next graph element that this task connects to.
Trait Implementations§
Source§impl Clone for ElemCommit
impl Clone for ElemCommit
Source§fn clone(&self) -> ElemCommit
fn clone(&self) -> ElemCommit
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ElemCommit
impl Debug for ElemCommit
Source§impl<'de> Deserialize<'de> for ElemCommit
impl<'de> Deserialize<'de> for ElemCommit
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 ElemCommit
impl RefUnwindSafe for ElemCommit
impl Send for ElemCommit
impl Sync for ElemCommit
impl Unpin for ElemCommit
impl UnwindSafe for ElemCommit
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