Struct embedded_svc::ipv4::ClientSettings
source · [−]pub struct ClientSettings {
pub ip: Ipv4Addr,
pub subnet: Subnet,
pub dns: Option<Ipv4Addr>,
pub secondary_dns: Option<Ipv4Addr>,
}Fields
ip: Ipv4Addrsubnet: Subnetdns: Option<Ipv4Addr>secondary_dns: Option<Ipv4Addr>Trait Implementations
sourceimpl Clone for ClientSettings
impl Clone for ClientSettings
sourcefn clone(&self) -> ClientSettings
fn clone(&self) -> ClientSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ClientSettings
impl Debug for ClientSettings
sourceimpl Default for ClientSettings
impl Default for ClientSettings
sourcefn default() -> ClientSettings
fn default() -> ClientSettings
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ClientSettings
impl<'de> Deserialize<'de> for ClientSettings
sourcefn 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
sourceimpl PartialEq<ClientSettings> for ClientSettings
impl PartialEq<ClientSettings> for ClientSettings
sourcefn eq(&self, other: &ClientSettings) -> bool
fn eq(&self, other: &ClientSettings) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ClientSettings) -> bool
fn ne(&self, other: &ClientSettings) -> bool
This method tests for !=.
sourceimpl Serialize for ClientSettings
impl Serialize for ClientSettings
sourceimpl TransitionalState<ClientSettings> for ClientIpStatus
impl TransitionalState<ClientSettings> for ClientIpStatus
fn is_transitional(&self) -> bool
fn is_operating(&self) -> bool
fn get_operating(&self) -> Option<&ClientSettings>
impl Copy for ClientSettings
impl Eq for ClientSettings
impl StructuralEq for ClientSettings
impl StructuralPartialEq for ClientSettings
Auto Trait Implementations
impl RefUnwindSafe for ClientSettings
impl Send for ClientSettings
impl Sync for ClientSettings
impl Unpin for ClientSettings
impl UnwindSafe for ClientSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more