Struct flowcore::model::process_reference::ProcessReference
source · pub struct ProcessReference {
pub alias: Name,
pub source: String,
pub initializations: BTreeMap<String, InputInitializer>,
}
Expand description
A ProcessReference
is the struct used in a Flow
to refer to a sub-process (Function or nested
Flow) it contains
Fields§
§alias: Name
A reference may have an alias - this is used when multiple instances of the same Process are referenced from within a flow - they need difference aliases to distinguish between them in connections to/from them
source: String
Relative or absolute source of the referenced process
initializations: BTreeMap<String, InputInitializer>
When a process is references, each reference can set different initial values on the inputs of the referenced process.
Implementations§
Trait Implementations§
source§impl Clone for ProcessReference
impl Clone for ProcessReference
source§fn clone(&self) -> ProcessReference
fn clone(&self) -> ProcessReference
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProcessReference
impl Debug for ProcessReference
source§impl<'de> Deserialize<'de> for ProcessReference
impl<'de> Deserialize<'de> for ProcessReference
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 Display for ProcessReference
impl Display for ProcessReference
source§impl HasName for ProcessReference
impl HasName for ProcessReference
source§impl Serialize for ProcessReference
impl Serialize for ProcessReference
Auto Trait Implementations§
impl RefUnwindSafe for ProcessReference
impl Send for ProcessReference
impl Sync for ProcessReference
impl Unpin for ProcessReference
impl UnwindSafe for ProcessReference
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