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