#[repr(C)]
pub union DHCP_OPTION_DATA_ELEMENT_0 {
pub ByteOption: u8,
pub WordOption: u16,
pub DWordOption: u32,
pub DWordDWordOption: DWORD_DWORD,
pub IpAddressOption: u32,
pub StringDataOption: PWSTR,
pub BinaryDataOption: DHCP_BINARY_DATA,
pub EncapsulatedDataOption: DHCP_BINARY_DATA,
pub Ipv6AddressDataOption: PWSTR,
}
Fields§
§ByteOption: u8
§WordOption: u16
§DWordOption: u32
§DWordDWordOption: DWORD_DWORD
§IpAddressOption: u32
§StringDataOption: PWSTR
§BinaryDataOption: DHCP_BINARY_DATA
§EncapsulatedDataOption: DHCP_BINARY_DATA
§Ipv6AddressDataOption: PWSTR
Trait Implementations§
§impl Clone for DHCP_OPTION_DATA_ELEMENT_0
impl Clone for DHCP_OPTION_DATA_ELEMENT_0
§fn clone(&self) -> DHCP_OPTION_DATA_ELEMENT_0
fn clone(&self) -> DHCP_OPTION_DATA_ELEMENT_0
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 moreimpl Copy for DHCP_OPTION_DATA_ELEMENT_0
Auto Trait Implementations§
impl Freeze for DHCP_OPTION_DATA_ELEMENT_0
impl RefUnwindSafe for DHCP_OPTION_DATA_ELEMENT_0
impl !Send for DHCP_OPTION_DATA_ELEMENT_0
impl !Sync for DHCP_OPTION_DATA_ELEMENT_0
impl Unpin for DHCP_OPTION_DATA_ELEMENT_0
impl UnwindSafe for DHCP_OPTION_DATA_ELEMENT_0
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§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
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§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
)