pub struct GraphSubModel {
pub flows: Box<Flows>,
pub model: Box<GraphDefinitionModel>,
pub multi: Box<GraphMulti>,
pub name: Option<String>,
pub node_id: String,
}Fields§
§flows: Box<Flows>§model: Box<GraphDefinitionModel>§multi: Box<GraphMulti>§name: Option<String>Optional user provided name for the submodel.
node_id: StringImplementations§
Source§impl GraphSubModel
impl GraphSubModel
pub fn new( flows: Flows, model: GraphDefinitionModel, multi: GraphMulti, node_id: String, ) -> GraphSubModel
Trait Implementations§
Source§impl Clone for GraphSubModel
impl Clone for GraphSubModel
Source§fn clone(&self) -> GraphSubModel
fn clone(&self) -> GraphSubModel
Returns a duplicate 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 GraphSubModel
impl Debug for GraphSubModel
Source§impl Default for GraphSubModel
impl Default for GraphSubModel
Source§fn default() -> GraphSubModel
fn default() -> GraphSubModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GraphSubModel
impl<'de> Deserialize<'de> for GraphSubModel
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 PartialEq for GraphSubModel
impl PartialEq for GraphSubModel
Source§impl Serialize for GraphSubModel
impl Serialize for GraphSubModel
impl StructuralPartialEq for GraphSubModel
Auto Trait Implementations§
impl Freeze for GraphSubModel
impl RefUnwindSafe for GraphSubModel
impl Send for GraphSubModel
impl Sync for GraphSubModel
impl Unpin for GraphSubModel
impl UnwindSafe for GraphSubModel
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