pub struct Pipeline {
pub version: u32,
pub app: String,
pub sources: BTreeMap<String, Type>,
pub nodes: BTreeMap<String, Node>,
pub edges: Vec<Edge>,
pub outputs: BTreeMap<String, Endpoint>,
pub layout: Layout,
}Expand description
A pipeline.
Fields§
§version: u32The format’s version (PIPELINE_VERSION); kitchen_pipeline before the standard.
app: StringThe app it was made in (lucem, dspk): its operations are named here.
sources: BTreeMap<String, Type>The graph’s inputs, by name, with their type.
nodes: BTreeMap<String, Node>The operations, by node id.
edges: Vec<Edge>The connections.
outputs: BTreeMap<String, Endpoint>What is written, by name: an output port of a node (or a source, written as read).
layout: LayoutWhere an editor draws the sources and outputs (nodes carry their own Node::at); the
run ignores it.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pipeline
impl<'de> Deserialize<'de> for Pipeline
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 JsonSchema for Pipeline
impl JsonSchema for Pipeline
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 moreimpl StructuralPartialEq for Pipeline
Auto Trait Implementations§
impl Forget for Pipeline
impl Freeze for Pipelinewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, Type> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Type)>>: Freeze,
*const LeafNode<String, Node> is !null: Freeze,
PhantomData<Box<(String, Node)>>: Freeze,
PhantomData<Edge>: Freeze,
*const LeafNode<String, Endpoint> is !null: Freeze,
PhantomData<Box<(String, Endpoint)>>: Freeze,
*const LeafNode<String, [f32; 2]> is !null: Freeze,
PhantomData<Box<(String, [f32; 2])>>: Freeze,
impl Move for Pipeline
impl RefUnwindSafe for Pipeline
impl Send for Pipelinewhere
RawVecInner: Send,
NodeRef<Owned, String, Type, LeafOrInternal>: Send,
BoxRaw<(String, Type)>: Send,
NodeRef<Owned, String, Node, LeafOrInternal>: Send,
BoxRaw<(String, Node)>: Send,
NodeRef<Owned, String, Endpoint, LeafOrInternal>: Send,
BoxRaw<(String, Endpoint)>: Send,
NodeRef<Owned, String, [f32; 2], LeafOrInternal>: Send,
BoxRaw<(String, [f32; 2])>: Send,
impl Sync for Pipelinewhere
RawVecInner: Sync,
NodeRef<Owned, String, Type, LeafOrInternal>: Sync,
BoxRaw<(String, Type)>: Sync,
NodeRef<Owned, String, Node, LeafOrInternal>: Sync,
BoxRaw<(String, Node)>: Sync,
NodeRef<Owned, String, Endpoint, LeafOrInternal>: Sync,
BoxRaw<(String, Endpoint)>: Sync,
NodeRef<Owned, String, [f32; 2], LeafOrInternal>: Sync,
BoxRaw<(String, [f32; 2])>: Sync,
impl Unpin for Pipelinewhere
*const u8 is !null: Unpin,
*const LeafNode<String, Type> is !null: Unpin,
Box<(String, Type)>: Unpin,
*const LeafNode<String, Node> is !null: Unpin,
Box<(String, Node)>: Unpin,
*const LeafNode<String, Endpoint> is !null: Unpin,
Box<(String, Endpoint)>: Unpin,
*const LeafNode<String, [f32; 2]> is !null: Unpin,
Box<(String, [f32; 2])>: Unpin,
impl UnsafeUnpin for Pipelinewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Type> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Type)>>: UnsafeUnpin,
*const LeafNode<String, Node> is !null: UnsafeUnpin,
PhantomData<Box<(String, Node)>>: UnsafeUnpin,
PhantomData<Edge>: UnsafeUnpin,
*const LeafNode<String, Endpoint> is !null: UnsafeUnpin,
PhantomData<Box<(String, Endpoint)>>: UnsafeUnpin,
*const LeafNode<String, [f32; 2]> is !null: UnsafeUnpin,
PhantomData<Box<(String, [f32; 2])>>: UnsafeUnpin,
impl UnwindSafe for Pipelinewhere
RawVecInner: UnwindSafe,
BTreeMap<String, Type>: UnwindSafe,
BTreeMap<String, Node>: UnwindSafe,
BTreeMap<String, Endpoint>: UnwindSafe,
BTreeMap<String, [f32; 2]>: UnwindSafe,
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