pub struct TimeReference {
pub header: Header,
pub time_ref: Time,
pub source: String,
}Fields§
§header: Header§time_ref: Time§source: StringTrait Implementations§
Source§impl Clone for TimeReference
impl Clone for TimeReference
Source§fn clone(&self) -> TimeReference
fn clone(&self) -> TimeReference
Returns a duplicate 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 TimeReference
impl Debug for TimeReference
Source§impl Default for TimeReference
impl Default for TimeReference
Source§impl<'de> Deserialize<'de> for TimeReference
impl<'de> Deserialize<'de> for TimeReference
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 PartialEq for TimeReference
impl PartialEq for TimeReference
Source§impl RosMessageType for TimeReference
impl RosMessageType for TimeReference
Source§const ROS_TYPE_NAME: &'static str = "sensor_msgs/TimeReference"
const ROS_TYPE_NAME: &'static str = "sensor_msgs/TimeReference"
Expected to be the combination pkg_name/type_name string describing the type to ros
Example: std_msgs/Header
Source§const MD5SUM: &'static str = "7cb7ae5aa838323e9028637e304e0ad7"
const MD5SUM: &'static str = "7cb7ae5aa838323e9028637e304e0ad7"
The computed md5sum of the message file and its dependencies
This field is optional, and only needed when using ros1 native communication
Source§const DEFINITION: &'static str = "# Measurement from an external time source not actively synchronized with the system clock.\n\nstd_msgs/Header header # stamp is system time for which measurement was valid\n # frame_id is not used\n\nbuiltin_interfaces/Time time_ref # corresponding time from this external source\nstring source # (optional) name of time source"
const DEFINITION: &'static str = "# Measurement from an external time source not actively synchronized with the system clock.\n\nstd_msgs/Header header # stamp is system time for which measurement was valid\n # frame_id is not used\n\nbuiltin_interfaces/Time time_ref # corresponding time from this external source\nstring source # (optional) name of time source"
The definition from the msg, srv, or action file
This field is optional, and only needed when using ros1 native communication
Source§impl Serialize for TimeReference
impl Serialize for TimeReference
impl StructuralPartialEq for TimeReference
Auto Trait Implementations§
impl Freeze for TimeReference
impl RefUnwindSafe for TimeReference
impl Send for TimeReference
impl Sync for TimeReference
impl Unpin for TimeReference
impl UnwindSafe for TimeReference
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