pub struct NetworkUpdateOptions {
pub adddnsservers: Option<Vec<String>>,
pub removednsservers: Option<Vec<String>>,
}
Expand description
NetworkUpdateOptions : NetworkUpdateOptions describes options to update a network
Fields§
§adddnsservers: Option<Vec<String>>
§removednsservers: Option<Vec<String>>
Implementations§
Source§impl NetworkUpdateOptions
impl NetworkUpdateOptions
Sourcepub fn new() -> NetworkUpdateOptions
pub fn new() -> NetworkUpdateOptions
NetworkUpdateOptions describes options to update a network
Trait Implementations§
Source§impl Clone for NetworkUpdateOptions
impl Clone for NetworkUpdateOptions
Source§fn clone(&self) -> NetworkUpdateOptions
fn clone(&self) -> NetworkUpdateOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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
Source§impl PartialEq for NetworkUpdateOptions
impl PartialEq for NetworkUpdateOptions
Source§impl Serialize for NetworkUpdateOptions
impl Serialize for NetworkUpdateOptions
impl StructuralPartialEq for NetworkUpdateOptions
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