pub struct NetworkUpdateOptions {
pub name: Option<String>,
pub description: Option<Option<String>>,
}Fields§
§name: Option<String>§description: Option<Option<String>>None leaves the description untouched; Some(None) clears it;
Some(Some("…")) sets it.
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 (const: unstable) · 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
Auto Trait Implementations§
impl Freeze for NetworkUpdateOptions
impl RefUnwindSafe for NetworkUpdateOptions
impl Send for NetworkUpdateOptions
impl Sync for NetworkUpdateOptions
impl Unpin for NetworkUpdateOptions
impl UnsafeUnpin 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