pub struct ProcessReference {
    pub alias: Name,
    pub source: String,
    pub initializations: HashMap<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: HashMap<String, InputInitializer>

When a process is references, each reference can set different initial values on the inputs of the referenced process.

Implementations

if the ProcessRef does not specify an alias for the process to be loaded then set the alias to be the name of the loaded process

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Formats the value using the given formatter. Read more

Return a reference to the name of the struct implementing this trait

Return a reference to the alias (also a Name type) of the struct implementing this trait

Serialize this value into the given Serde serializer. Read more

Validate that a deserialized model data structure is valid for use

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.