pub struct DeviceName {
pub name: Option<String>,
pub unknown: Unknown,
}Expand description
Rename a device, which retires its old MagicDNS names.
Fields§
§name: Option<String>§unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl Clone for DeviceName
impl Clone for DeviceName
Source§fn clone(&self) -> DeviceName
fn clone(&self) -> DeviceName
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 DeviceName
impl Debug for DeviceName
Source§impl<'de> Deserialize<'de> for DeviceName
impl<'de> Deserialize<'de> for DeviceName
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 DeviceName
impl PartialEq for DeviceName
Source§impl Serialize for DeviceName
impl Serialize for DeviceName
impl StructuralPartialEq for DeviceName
Auto Trait Implementations§
impl Freeze for DeviceName
impl RefUnwindSafe for DeviceName
impl Send for DeviceName
impl Sync for DeviceName
impl Unpin for DeviceName
impl UnsafeUnpin for DeviceName
impl UnwindSafe for DeviceName
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