pub struct GoalInfo {
pub goal_id: GoalId,
pub stamp_sec: i32,
pub stamp_nanosec: u32,
}Expand description
Information about a goal
This matches action_msgs/msg/GoalInfo from ROS 2.
Contains the goal ID and timestamp when the goal was accepted.
Fields§
§goal_id: GoalIdUnique identifier for the goal
stamp_sec: i32Timestamp when the goal was accepted (nanoseconds since epoch)
stamp_nanosec: u32Nanosecond part of timestamp
Implementations§
Trait Implementations§
Source§impl Deserialize for GoalInfo
impl Deserialize for GoalInfo
Source§fn deserialize(reader: &mut CdrReader<'_>) -> Result<Self, DeserError>
fn deserialize(reader: &mut CdrReader<'_>) -> Result<Self, DeserError>
Deserialize a value from the CDR reader
impl Copy for GoalInfo
impl Eq for GoalInfo
impl StructuralPartialEq for GoalInfo
Auto Trait Implementations§
impl Freeze for GoalInfo
impl RefUnwindSafe for GoalInfo
impl Send for GoalInfo
impl Sync for GoalInfo
impl Unpin for GoalInfo
impl UnsafeUnpin for GoalInfo
impl UnwindSafe for GoalInfo
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