Struct someip_messages::SdServiceEntry
source · pub struct SdServiceEntry {
pub service_id: ServiceId,
pub instance_id: InstanceId,
pub major_version: MajorVersion,
pub minor_version: MinorVersion,
pub ttl: Ttl,
pub options: SdOptionRef,
}Expand description
Represents a SdServiceEntry within a SdPayload.
Fields§
§service_id: ServiceIdService id
instance_id: InstanceIdInstance id
major_version: MajorVersionMajor version
minor_version: MinorVersionMinor version
ttl: TtlTTL
options: SdOptionRefThe options referenced by this entry
Implementations§
Trait Implementations§
source§impl Clone for SdServiceEntry
impl Clone for SdServiceEntry
source§fn clone(&self) -> SdServiceEntry
fn clone(&self) -> SdServiceEntry
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 SdServiceEntry
impl Debug for SdServiceEntry
source§impl PartialEq<SdServiceEntry> for SdServiceEntry
impl PartialEq<SdServiceEntry> for SdServiceEntry
source§fn eq(&self, other: &SdServiceEntry) -> bool
fn eq(&self, other: &SdServiceEntry) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for SdServiceEntry
impl StructuralEq for SdServiceEntry
impl StructuralPartialEq for SdServiceEntry
Auto Trait Implementations§
impl RefUnwindSafe for SdServiceEntry
impl Send for SdServiceEntry
impl Sync for SdServiceEntry
impl Unpin for SdServiceEntry
impl UnwindSafe for SdServiceEntry
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