[][src]Struct flowclib::model::flow::Flow

pub struct Flow {
    pub name: Name,
    pub process_refs: Option<Vec<ProcessReference>>,
    pub connections: Option<Vec<Connection>>,
    pub description: String,
    pub version: String,
    pub authors: Vec<String>,
    pub id: usize,
    pub alias: Name,
    pub source_url: String,
    pub route: Route,
    pub subprocesses: HashMap<Name, Process>,
    pub lib_references: Vec<String>,
    // some fields omitted
}

Fields

name: Nameprocess_refs: Option<Vec<ProcessReference>>connections: Option<Vec<Connection>>description: Stringversion: Stringauthors: Vec<String>id: usizealias: Namesource_url: Stringroute: Routesubprocesses: HashMap<Name, Process>lib_references: Vec<String>

Implementations

impl Flow[src]

pub fn default_description() -> String[src]

pub fn default_version() -> String[src]

pub fn default_authors() -> Vec<String>[src]

pub fn default_email() -> String[src]

pub fn set_alias(&mut self, alias: &Name)[src]

pub fn inputs(&self) -> &IOSet[src]

pub fn inputs_mut(&mut self) -> &mut IOSet[src]

pub fn outputs(&self) -> &IOSet[src]

pub fn get_route_and_type(
    &mut self,
    direction: Direction,
    route: &Route,
    initial_value: &Option<InputInitializer>
) -> Result<IO>
[src]

pub fn build_connections(&mut self) -> Result<()>[src]

Trait Implementations

impl Clone for Flow[src]

impl Debug for Flow[src]

impl Default for Flow[src]

impl<'de> Deserialize<'de> for Flow[src]

impl Display for Flow[src]

impl<'_> From<&'_ Flow> for MetaData[src]

impl HasName for Flow[src]

impl HasRoute for Flow[src]

impl Serialize for Flow[src]

impl SetRoute for Flow[src]

impl Validate for Flow[src]

Auto Trait Implementations

impl RefUnwindSafe for Flow

impl Send for Flow

impl Sync for Flow

impl Unpin for Flow

impl UnwindSafe for Flow

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.