pub struct Sysctl {
    pub name: Option<String>,
    pub value: Option<String>,
}Expand description
Sysctl defines a kernel parameter to be set
Fields§
§name: Option<String>Name of a property to set
value: Option<String>Value of a property to set
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sysctl
 
impl<'de> Deserialize<'de> for Sysctl
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
Source§impl FromStr for Sysctl
Converts Query Parameters representation (style=form, explode=false) to a Sysctl value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
 
impl FromStr for Sysctl
Converts Query Parameters representation (style=form, explode=false) to a Sysctl value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl ToString for Sysctl
Converts the Sysctl value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
 
impl ToString for Sysctl
Converts the Sysctl value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl<'v_a> ValidateArgs<'v_a> for Sysctl
 
impl<'v_a> ValidateArgs<'v_a> for Sysctl
impl StructuralPartialEq for Sysctl
Auto Trait Implementations§
impl Freeze for Sysctl
impl RefUnwindSafe for Sysctl
impl Send for Sysctl
impl Sync for Sysctl
impl Unpin for Sysctl
impl UnwindSafe for Sysctl
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