pub struct GetOutput {Show 16 fields
pub action: String,
pub comment: Option<String>,
pub dest: Option<String>,
pub dport: Option<String>,
pub enable: Option<u64>,
pub icmp_type: Option<String>,
pub iface: Option<String>,
pub ipversion: Option<u64>,
pub log: Option<Log>,
pub macro_def: Option<String>,
pub pos: u64,
pub proto: Option<String>,
pub source: Option<String>,
pub sport: Option<String>,
pub ty: String,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§action: String
§comment: Option<String>
§dest: Option<String>
§dport: Option<String>
§enable: Option<u64>
§icmp_type: Option<String>
§iface: Option<String>
§ipversion: Option<u64>
§log: Option<Log>
Log level for firewall rule
macro_def: Option<String>
§pos: u64
§proto: Option<String>
§source: Option<String>
§sport: Option<String>
§ty: String
§additional_properties: HashMap<String, Value>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetOutput
impl<'de> Deserialize<'de> for GetOutput
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 GetOutput
impl RefUnwindSafe for GetOutput
impl Send for GetOutput
impl Sync for GetOutput
impl Unpin for GetOutput
impl UnwindSafe for GetOutput
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