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>,
}Fields
protocol_version: u8station_id: u32generation_delta_time: u16management_container: ManagementContainerstation_data_container: Option<StationDataContainer>sensor_information_container: Vec<SensorInformation>perceived_object_container: Vec<PerceivedObject>Implementations
sourceimpl CollectivePerceptionMessage
impl CollectivePerceptionMessage
pub fn mobile_perceived_object_list(&self) -> Vec<MobilePerceivedObject>
Trait Implementations
sourceimpl Clone for CollectivePerceptionMessage
impl Clone for CollectivePerceptionMessage
sourcefn clone(&self) -> CollectivePerceptionMessage
fn clone(&self) -> CollectivePerceptionMessage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for CollectivePerceptionMessage
impl Debug for CollectivePerceptionMessage
sourceimpl Default for CollectivePerceptionMessage
impl Default for CollectivePerceptionMessage
sourcefn default() -> CollectivePerceptionMessage
fn default() -> CollectivePerceptionMessage
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CollectivePerceptionMessage
impl<'de> Deserialize<'de> for CollectivePerceptionMessage
sourcefn 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
sourceimpl Hash for CollectivePerceptionMessage
impl Hash for CollectivePerceptionMessage
sourceimpl 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>
sourceimpl PartialEq<CollectivePerceptionMessage> for CollectivePerceptionMessage
impl PartialEq<CollectivePerceptionMessage> for CollectivePerceptionMessage
sourcefn eq(&self, other: &CollectivePerceptionMessage) -> bool
fn eq(&self, other: &CollectivePerceptionMessage) -> bool
impl StructuralPartialEq for CollectivePerceptionMessage
Auto Trait Implementations
impl RefUnwindSafe for CollectivePerceptionMessage
impl Send for CollectivePerceptionMessage
impl Sync for CollectivePerceptionMessage
impl Unpin for CollectivePerceptionMessage
impl UnwindSafe for CollectivePerceptionMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more