pub enum ControlTypes {
Message,
TransferFile,
}Variants§
Implementations§
Source§impl ControlTypes
impl ControlTypes
pub fn as_str(&self) -> String
pub fn to_definition(&self) -> ControlDefinition
Trait Implementations§
Source§impl Clone for ControlTypes
impl Clone for ControlTypes
Source§fn clone(&self) -> ControlTypes
fn clone(&self) -> ControlTypes
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<'de> Deserialize<'de> for ControlTypes
impl<'de> Deserialize<'de> for ControlTypes
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
Auto Trait Implementations§
impl Freeze for ControlTypes
impl RefUnwindSafe for ControlTypes
impl Send for ControlTypes
impl Sync for ControlTypes
impl Unpin for ControlTypes
impl UnwindSafe for ControlTypes
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