pub enum FlowNodeType {
Core(CoreNodeType),
Custom(String),
}Expand description
A node’s kind.
Core types are spec-defined and understood by all conformant runtimes.
Custom types are vendor-namespaced (vendor:name) and opaque to the spec —
runtimes preserve them but may refuse to execute unknown ones.
Variants§
Core(CoreNodeType)
A spec-defined core node type.
Custom(String)
A vendor-namespaced custom node type, e.g. "slack:send_message".
The string is preserved verbatim, including the vendor prefix.
Implementations§
Trait Implementations§
Source§impl Clone for FlowNodeType
impl Clone for FlowNodeType
Source§fn clone(&self) -> FlowNodeType
fn clone(&self) -> FlowNodeType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FlowNodeType
impl Debug for FlowNodeType
Source§impl<'de> Deserialize<'de> for FlowNodeType
impl<'de> Deserialize<'de> for FlowNodeType
Source§fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FlowNodeType
impl PartialEq for FlowNodeType
Source§fn eq(&self, other: &FlowNodeType) -> bool
fn eq(&self, other: &FlowNodeType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FlowNodeType
impl Serialize for FlowNodeType
impl Eq for FlowNodeType
impl StructuralPartialEq for FlowNodeType
Auto Trait Implementations§
impl Freeze for FlowNodeType
impl RefUnwindSafe for FlowNodeType
impl Send for FlowNodeType
impl Sync for FlowNodeType
impl Unpin for FlowNodeType
impl UnsafeUnpin for FlowNodeType
impl UnwindSafe for FlowNodeType
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