Struct nftables_json::object::Rule
source · pub struct Rule {
pub family: String,
pub table: String,
pub chain: String,
pub handle: Option<isize>,
pub index: Option<isize>,
pub comment: Option<String>,
pub expr: Option<Vec<Box<Statement>>>,
}
Fields§
§family: String
§table: String
§chain: String
§handle: Option<isize>
§index: Option<isize>
§comment: Option<String>
§expr: Option<Vec<Box<Statement>>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Rule
impl<'de> Deserialize<'de> for Rule
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