Struct someip_parse::sd_entries::EventgroupEntry
source · pub struct EventgroupEntry {
pub _type: SdEventGroupEntryType,
pub index_first_option_run: u8,
pub index_second_option_run: u8,
pub number_of_options_1: u8,
pub number_of_options_2: u8,
pub service_id: u16,
pub instance_id: u16,
pub major_version: u8,
pub ttl: u32,
pub initial_data_requested: bool,
pub counter: u8,
pub eventgroup_id: u16,
}
Expand description
SOMEIP service discovery entry for an eventgroup.
Fields§
§_type: SdEventGroupEntryType
§index_first_option_run: u8
§index_second_option_run: u8
§number_of_options_1: u8
§number_of_options_2: u8
§service_id: u16
§instance_id: u16
§major_version: u8
§ttl: u32
§initial_data_requested: bool
True if initial data shall be sent by server
counter: u8
distinguish identical subscribe eventgroups of the same subscriber 4 bit
eventgroup_id: u16
Trait Implementations§
source§impl Clone for EventgroupEntry
impl Clone for EventgroupEntry
source§fn clone(&self) -> EventgroupEntry
fn clone(&self) -> EventgroupEntry
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 EventgroupEntry
impl Debug for EventgroupEntry
source§impl From<EventgroupEntry> for SdEntry
impl From<EventgroupEntry> for SdEntry
source§fn from(o: EventgroupEntry) -> Self
fn from(o: EventgroupEntry) -> Self
Converts to this type from the input type.
source§impl PartialEq for EventgroupEntry
impl PartialEq for EventgroupEntry
source§fn eq(&self, other: &EventgroupEntry) -> bool
fn eq(&self, other: &EventgroupEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EventgroupEntry
impl StructuralEq for EventgroupEntry
impl StructuralPartialEq for EventgroupEntry
Auto Trait Implementations§
impl RefUnwindSafe for EventgroupEntry
impl Send for EventgroupEntry
impl Sync for EventgroupEntry
impl Unpin for EventgroupEntry
impl UnwindSafe for EventgroupEntry
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