pub struct NetworkUpdateOptions {
pub adddnsservers: Option<Vec<String>>,
pub removednsservers: Option<Vec<String>>,
}
Available on crate feature
v5
only.Expand description
NetworkUpdateOptions describes options to update a network
Fields§
§adddnsservers: Option<Vec<String>>
§removednsservers: Option<Vec<String>>
Trait Implementations§
Source§impl Debug for NetworkUpdateOptions
impl Debug for NetworkUpdateOptions
Source§impl Default for NetworkUpdateOptions
impl Default for NetworkUpdateOptions
Source§fn default() -> NetworkUpdateOptions
fn default() -> NetworkUpdateOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkUpdateOptions
impl<'de> Deserialize<'de> for NetworkUpdateOptions
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 NetworkUpdateOptions
impl RefUnwindSafe for NetworkUpdateOptions
impl Send for NetworkUpdateOptions
impl Sync for NetworkUpdateOptions
impl Unpin for NetworkUpdateOptions
impl UnwindSafe for NetworkUpdateOptions
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