Struct someip_messages::SdEndpointOption
source · pub struct SdEndpointOption {
pub ip: IpAddr,
pub port: u16,
pub proto: IpProto,
}
Expand description
Represents a SdEndpointOption within a SdPayload.
Fields§
§ip: IpAddr
IP Address
port: u16
Port number
proto: IpProto
IP Protocol
Trait Implementations§
source§impl Clone for SdEndpointOption
impl Clone for SdEndpointOption
source§fn clone(&self) -> SdEndpointOption
fn clone(&self) -> SdEndpointOption
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 SdEndpointOption
impl Debug for SdEndpointOption
source§impl From<SdEndpointOption> for Url
impl From<SdEndpointOption> for Url
source§fn from(option: SdEndpointOption) -> Url
fn from(option: SdEndpointOption) -> Url
Converts to this type from the input type.
source§impl PartialEq<SdEndpointOption> for SdEndpointOption
impl PartialEq<SdEndpointOption> for SdEndpointOption
source§fn eq(&self, other: &SdEndpointOption) -> bool
fn eq(&self, other: &SdEndpointOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<Url> for SdEndpointOption
impl TryFrom<Url> for SdEndpointOption
impl Eq for SdEndpointOption
impl StructuralEq for SdEndpointOption
impl StructuralPartialEq for SdEndpointOption
Auto Trait Implementations§
impl RefUnwindSafe for SdEndpointOption
impl Send for SdEndpointOption
impl Sync for SdEndpointOption
impl Unpin for SdEndpointOption
impl UnwindSafe for SdEndpointOption
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