pub struct GraphDef {
pub version: u32,
pub nodes: Vec<NodeDef>,
pub edges: Vec<EdgeDef>,
pub entry: Vec<String>,
pub static_inputs: Vec<StaticInputDef>,
}Expand description
A fully serializable graph description.
Fields§
§version: u32Schema version — present from day one so old files are never unmarked.
nodes: Vec<NodeDef>The node definitions, in declaration order.
edges: Vec<EdgeDef>The edge definitions, in declaration order.
entry: Vec<String>Explicit entry node ids (in addition to no-incoming-edge sources).
static_inputs: Vec<StaticInputDef>Static pin inputs, in declaration order.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GraphDef
impl<'de> Deserialize<'de> for GraphDef
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 StructuralPartialEq for GraphDef
Auto Trait Implementations§
impl Freeze for GraphDef
impl RefUnwindSafe for GraphDef
impl Send for GraphDef
impl Sync for GraphDef
impl Unpin for GraphDef
impl UnsafeUnpin for GraphDef
impl UnwindSafe for GraphDef
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