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: Ipv4Addr
§subnet: Subnet
§dns: Option<Ipv4Addr>
§secondary_dns: Option<Ipv4Addr>
Trait Implementations§
source§impl Clone for ClientSettings
impl Clone for ClientSettings
source§fn clone(&self) -> ClientSettings
fn clone(&self) -> ClientSettings
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClientSettings
impl Debug for ClientSettings
source§impl Default for ClientSettings
impl Default for ClientSettings
source§fn default() -> ClientSettings
fn default() -> ClientSettings
Returns the “default value” for a type. Read more
source§impl PartialEq for ClientSettings
impl PartialEq for ClientSettings
source§fn 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 ==
.impl Copy for ClientSettings
impl Eq for ClientSettings
impl StructuralPartialEq for ClientSettings
Auto Trait Implementations§
impl Freeze for ClientSettings
impl RefUnwindSafe for ClientSettings
impl Send for ClientSettings
impl Sync for ClientSettings
impl Unpin for ClientSettings
impl UnwindSafe for ClientSettings
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)