Enum wakflo_common::ConnectorType
source · pub enum ConnectorType {
Loop,
Branch,
Normal,
Boolean,
}Expand description
ConnectorType
Enum for current schema status. Defaults to idle
Variants§
Implementations§
source§impl ConnectorType
impl ConnectorType
pub fn convert_from_string(value: String) -> Self
pub fn convert_to_string(&self) -> String
Trait Implementations§
source§impl AsRef<str> for ConnectorType
impl AsRef<str> for ConnectorType
source§impl Clone for ConnectorType
impl Clone for ConnectorType
source§fn clone(&self) -> ConnectorType
fn clone(&self) -> ConnectorType
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 ConnectorType
impl Debug for ConnectorType
source§impl Default for ConnectorType
impl Default for ConnectorType
source§fn default() -> ConnectorType
fn default() -> ConnectorType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConnectorType
impl<'de> Deserialize<'de> for ConnectorType
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 ConnectorType
impl Display for ConnectorType
source§impl<'_derivative_strum> From<&'_derivative_strum ConnectorType> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum ConnectorType> for &'static str
source§fn from(x: &'_derivative_strum ConnectorType) -> &'static str
fn from(x: &'_derivative_strum ConnectorType) -> &'static str
Converts to this type from the input type.
source§impl From<ConnectorType> for &'static str
impl From<ConnectorType> for &'static str
source§fn from(x: ConnectorType) -> &'static str
fn from(x: ConnectorType) -> &'static str
Converts to this type from the input type.
source§impl FromStr for ConnectorType
impl FromStr for ConnectorType
source§impl PartialEq for ConnectorType
impl PartialEq for ConnectorType
source§fn eq(&self, other: &ConnectorType) -> bool
fn eq(&self, other: &ConnectorType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ConnectorType
impl Serialize for ConnectorType
source§impl TryFrom<&str> for ConnectorType
impl TryFrom<&str> for ConnectorType
impl Eq for ConnectorType
impl StructuralEq for ConnectorType
impl StructuralPartialEq for ConnectorType
Auto Trait Implementations§
impl RefUnwindSafe for ConnectorType
impl Send for ConnectorType
impl Sync for ConnectorType
impl Unpin for ConnectorType
impl UnwindSafe for ConnectorType
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