#[non_exhaustive]pub struct DeviceName {
pub name: Option<String>,
pub unknown: Unknown,
}Expand description
Rename a device, which retires its old MagicDNS names.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.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§impl Debug for DeviceName
impl Debug for DeviceName
Source§impl Default for DeviceName
impl Default 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