pub enum PortForwardingAction {
Add,
Enable,
Disable,
Delete,
}
Expand description
Represents the different actions that can be performed on a port forwarding rule.
Variants§
Trait Implementations§
Source§impl Debug for PortForwardingAction
impl Debug for PortForwardingAction
Source§impl<'de> Deserialize<'de> for PortForwardingAction
impl<'de> Deserialize<'de> for PortForwardingAction
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 PortForwardingAction
impl RefUnwindSafe for PortForwardingAction
impl Send for PortForwardingAction
impl Sync for PortForwardingAction
impl Unpin for PortForwardingAction
impl UnwindSafe for PortForwardingAction
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