Struct esp_idf_svc::ipv4::RouterConfiguration
source · pub struct RouterConfiguration {
pub subnet: Subnet,
pub dhcp_enabled: bool,
pub dns: Option<Ipv4Addr>,
pub secondary_dns: Option<Ipv4Addr>,
}
Fields§
§subnet: Subnet
§dhcp_enabled: bool
§dns: Option<Ipv4Addr>
§secondary_dns: Option<Ipv4Addr>
Trait Implementations§
source§impl Clone for RouterConfiguration
impl Clone for RouterConfiguration
source§fn clone(&self) -> RouterConfiguration
fn clone(&self) -> RouterConfiguration
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 RouterConfiguration
impl Debug for RouterConfiguration
source§impl Default for RouterConfiguration
impl Default for RouterConfiguration
source§fn default() -> RouterConfiguration
fn default() -> RouterConfiguration
Returns the “default value” for a type. Read more
source§impl PartialEq for RouterConfiguration
impl PartialEq for RouterConfiguration
source§fn eq(&self, other: &RouterConfiguration) -> bool
fn eq(&self, other: &RouterConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RouterConfiguration
impl StructuralPartialEq for RouterConfiguration
Auto Trait Implementations§
impl Freeze for RouterConfiguration
impl RefUnwindSafe for RouterConfiguration
impl Send for RouterConfiguration
impl Sync for RouterConfiguration
impl Unpin for RouterConfiguration
impl UnwindSafe for RouterConfiguration
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
)