pub struct DHCPv4C {
pub dhcp_enabled: Option<bool>,
pub fallback_address: Option<DHCPFallback>,
pub use_dns_servers: Option<bool>,
pub use_domain_name: Option<bool>,
pub use_gateway: Option<bool>,
pub use_ntp_servers: Option<bool>,
pub use_static_routes: Option<bool>,
}
Expand description
DHCPv4 configuration for this interface.
Fields§
§dhcp_enabled: Option<bool>
An indication of whether DHCP v4 is enabled on this Ethernet interface.
fallback_address: Option<DHCPFallback>
§use_dns_servers: Option<bool>
An indication of whether this interface uses DHCP v4-supplied DNS servers.
use_domain_name: Option<bool>
An indication of whether this interface uses a DHCP v4-supplied domain name.
use_gateway: Option<bool>
An indication of whether this interface uses a DHCP v4-supplied gateway.
use_ntp_servers: Option<bool>
An indication of whether the interface uses DHCP v4-supplied NTP servers.
use_static_routes: Option<bool>
An indication of whether the interface uses DHCP v4-supplied static routes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DHCPv4C
impl<'de> Deserialize<'de> for DHCPv4C
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 Metadata<'static> for DHCPv4C
impl Metadata<'static> for DHCPv4C
Source§const JSON_SCHEMA: &'static str = "EthernetInterface.v1_10_0.json"
const JSON_SCHEMA: &'static str = "EthernetInterface.v1_10_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for DHCPv4C
impl RefUnwindSafe for DHCPv4C
impl Send for DHCPv4C
impl Sync for DHCPv4C
impl Unpin for DHCPv4C
impl UnwindSafe for DHCPv4C
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