Struct embedded_svc::ipv4::DHCPClientSettings
source · pub struct DHCPClientSettings {
pub hostname: Option<String<30>>,
}Fields§
§hostname: Option<String<30>>Trait Implementations§
source§impl Clone for DHCPClientSettings
impl Clone for DHCPClientSettings
source§fn clone(&self) -> DHCPClientSettings
fn clone(&self) -> DHCPClientSettings
Returns a copy 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 DHCPClientSettings
impl Debug for DHCPClientSettings
source§impl Default for DHCPClientSettings
impl Default for DHCPClientSettings
source§fn default() -> DHCPClientSettings
fn default() -> DHCPClientSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DHCPClientSettings
impl<'de> Deserialize<'de> for DHCPClientSettings
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 DHCPClientSettings
impl PartialEq for DHCPClientSettings
source§fn eq(&self, other: &DHCPClientSettings) -> bool
fn eq(&self, other: &DHCPClientSettings) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DHCPClientSettings
impl Serialize for DHCPClientSettings
impl Eq for DHCPClientSettings
impl StructuralEq for DHCPClientSettings
impl StructuralPartialEq for DHCPClientSettings
Auto Trait Implementations§
impl RefUnwindSafe for DHCPClientSettings
impl Send for DHCPClientSettings
impl Sync for DHCPClientSettings
impl Unpin for DHCPClientSettings
impl UnwindSafe for DHCPClientSettings
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