Struct someip_parse::sd_options::Ipv6SdEndpointOption
source · pub struct Ipv6SdEndpointOption {
pub ipv6_address: [u8; 16],
pub transport_protocol: TransportProtocol,
pub port: u16,
}
Fields§
§ipv6_address: [u8; 16]
§transport_protocol: TransportProtocol
§port: u16
Trait Implementations§
source§impl Clone for Ipv6SdEndpointOption
impl Clone for Ipv6SdEndpointOption
source§fn clone(&self) -> Ipv6SdEndpointOption
fn clone(&self) -> Ipv6SdEndpointOption
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 moresource§impl Debug for Ipv6SdEndpointOption
impl Debug for Ipv6SdEndpointOption
source§impl From<Ipv6SdEndpointOption> for SdOption
impl From<Ipv6SdEndpointOption> for SdOption
source§fn from(o: Ipv6SdEndpointOption) -> Self
fn from(o: Ipv6SdEndpointOption) -> Self
Converts to this type from the input type.
source§impl PartialEq for Ipv6SdEndpointOption
impl PartialEq for Ipv6SdEndpointOption
source§fn eq(&self, other: &Ipv6SdEndpointOption) -> bool
fn eq(&self, other: &Ipv6SdEndpointOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Ipv6SdEndpointOption
impl StructuralEq for Ipv6SdEndpointOption
impl StructuralPartialEq for Ipv6SdEndpointOption
Auto Trait Implementations§
impl RefUnwindSafe for Ipv6SdEndpointOption
impl Send for Ipv6SdEndpointOption
impl Sync for Ipv6SdEndpointOption
impl Unpin for Ipv6SdEndpointOption
impl UnwindSafe for Ipv6SdEndpointOption
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