pub struct AddRule {
pub family: String,
pub table: String,
pub chain: String,
pub index: Option<isize>,
pub comment: Option<String>,
pub expr: Option<Vec<Statement>>,
}
Fields§
§family: String
§table: String
§chain: String
§index: Option<isize>
§comment: Option<String>
§expr: Option<Vec<Statement>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AddRule
impl<'de> Deserialize<'de> for AddRule
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 AddRule
impl RefUnwindSafe for AddRule
impl Send for AddRule
impl Sync for AddRule
impl Unpin for AddRule
impl UnwindSafe for AddRule
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