Struct libits_client::reception::exchange::collective_perception_message::CollectivePerceptionMessage
source · pub struct CollectivePerceptionMessage {
pub protocol_version: u8,
pub station_id: u32,
pub generation_delta_time: u16,
pub management_container: ManagementContainer,
pub station_data_container: Option<StationDataContainer>,
pub sensor_information_container: Vec<SensorInformation>,
pub perceived_object_container: Vec<PerceivedObject>,
pub free_space_addendum_container: Vec<FreeSpaceAddendum>,
}Fields§
§protocol_version: u8§station_id: u32§generation_delta_time: u16§management_container: ManagementContainer§station_data_container: Option<StationDataContainer>§sensor_information_container: Vec<SensorInformation>§perceived_object_container: Vec<PerceivedObject>§free_space_addendum_container: Vec<FreeSpaceAddendum>Implementations§
source§impl CollectivePerceptionMessage
impl CollectivePerceptionMessage
pub fn mobile_perceived_object_list(&self) -> Vec<MobilePerceivedObject>
Trait Implementations§
source§impl Clone for CollectivePerceptionMessage
impl Clone for CollectivePerceptionMessage
source§fn clone(&self) -> CollectivePerceptionMessage
fn clone(&self) -> CollectivePerceptionMessage
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 CollectivePerceptionMessage
impl Debug for CollectivePerceptionMessage
source§impl Default for CollectivePerceptionMessage
impl Default for CollectivePerceptionMessage
source§fn default() -> CollectivePerceptionMessage
fn default() -> CollectivePerceptionMessage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CollectivePerceptionMessage
impl<'de> Deserialize<'de> for CollectivePerceptionMessage
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for CollectivePerceptionMessage
impl Hash for CollectivePerceptionMessage
source§impl Mobile for CollectivePerceptionMessage
impl Mobile for CollectivePerceptionMessage
fn mobile_id(&self) -> u32
fn position(&self) -> &ReferencePosition
fn speed(&self) -> Option<u16>
fn heading(&self) -> Option<u16>
fn stopped(&self) -> bool
fn heading_in_degrees(&self) -> Option<f64>
fn speed_in_meter_per_second(&self) -> Option<f64>
fn speed_in_kilometer_per_hour(&self) -> Option<f64>
source§impl PartialEq<CollectivePerceptionMessage> for CollectivePerceptionMessage
impl PartialEq<CollectivePerceptionMessage> for CollectivePerceptionMessage
source§fn eq(&self, other: &CollectivePerceptionMessage) -> bool
fn eq(&self, other: &CollectivePerceptionMessage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.