pub enum Prerequisite {
Id(String),
Edge {
id: String,
consumes: Option<String>,
kind: Option<PrerequisiteKind>,
lag_hours: Option<f32>,
},
}Expand description
A prerequisite edge. Wire: a bare id string, or an object.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Prerequisite
impl Clone for Prerequisite
Source§impl Debug for Prerequisite
impl Debug for Prerequisite
Source§impl<'de> Deserialize<'de> for Prerequisite
impl<'de> Deserialize<'de> for Prerequisite
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
Source§impl From<&str> for Prerequisite
impl From<&str> for Prerequisite
Source§impl From<String> for Prerequisite
impl From<String> for Prerequisite
Source§impl PartialEq for Prerequisite
impl PartialEq for Prerequisite
Source§impl Serialize for Prerequisite
impl Serialize for Prerequisite
impl StructuralPartialEq for Prerequisite
Auto Trait Implementations§
impl Freeze for Prerequisite
impl RefUnwindSafe for Prerequisite
impl Send for Prerequisite
impl Sync for Prerequisite
impl Unpin for Prerequisite
impl UnsafeUnpin for Prerequisite
impl UnwindSafe for Prerequisite
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.