pub enum DagCtxField {
RunId,
RunKind,
PlannedFor,
Since,
DagId,
EventKey,
EventData,
EventAt,
}Expand description
A field of the run’s context, dag_ctx.run.* and dag_ctx.dag_id.
Variants§
RunId
dag_ctx.run.id.
RunKind
dag_ctx.run.kind.
PlannedFor
dag_ctx.run.planned_for.
Since
dag_ctx.run.since.
DagId
dag_ctx.dag_id.
EventKey
dag_ctx.event.key.
EventData
dag_ctx.event.data.
EventAt
dag_ctx.event.at.
Trait Implementations§
Source§impl Clone for DagCtxField
impl Clone for DagCtxField
Source§fn clone(&self) -> DagCtxField
fn clone(&self) -> DagCtxField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DagCtxField
Source§impl Debug for DagCtxField
impl Debug for DagCtxField
Source§impl<'de> Deserialize<'de> for DagCtxField
impl<'de> Deserialize<'de> for DagCtxField
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
impl Eq for DagCtxField
Source§impl Hash for DagCtxField
impl Hash for DagCtxField
Source§impl JsonSchema for DagCtxField
impl JsonSchema for DagCtxField
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for DagCtxField
impl Ord for DagCtxField
Source§fn cmp(&self, other: &DagCtxField) -> Ordering
fn cmp(&self, other: &DagCtxField) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DagCtxField
impl PartialEq for DagCtxField
Source§impl PartialOrd for DagCtxField
impl PartialOrd for DagCtxField
Source§impl Serialize for DagCtxField
impl Serialize for DagCtxField
impl StructuralPartialEq for DagCtxField
Auto Trait Implementations§
impl Freeze for DagCtxField
impl RefUnwindSafe for DagCtxField
impl Send for DagCtxField
impl Sync for DagCtxField
impl Unpin for DagCtxField
impl UnsafeUnpin for DagCtxField
impl UnwindSafe for DagCtxField
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