pub struct GoalStatusStamped {
pub goal_info: GoalInfo,
pub status: GoalStatus,
}Expand description
Goal status with associated goal info
This matches action_msgs/msg/GoalStatus from ROS 2.
Fields§
§goal_info: GoalInfoGoal information (ID and timestamp)
status: GoalStatusCurrent status of the goal
Implementations§
Source§impl GoalStatusStamped
impl GoalStatusStamped
Sourcepub const fn new(goal_info: GoalInfo, status: GoalStatus) -> GoalStatusStamped
pub const fn new(goal_info: GoalInfo, status: GoalStatus) -> GoalStatusStamped
Create a new GoalStatusStamped
Trait Implementations§
Source§impl Clone for GoalStatusStamped
impl Clone for GoalStatusStamped
Source§fn clone(&self) -> GoalStatusStamped
fn clone(&self) -> GoalStatusStamped
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 GoalStatusStamped
impl Debug for GoalStatusStamped
Source§impl Default for GoalStatusStamped
impl Default for GoalStatusStamped
Source§fn default() -> GoalStatusStamped
fn default() -> GoalStatusStamped
Returns the “default value” for a type. Read more
Source§impl Deserialize for GoalStatusStamped
impl Deserialize for GoalStatusStamped
Source§fn deserialize(
reader: &mut CdrReader<'_>,
) -> Result<GoalStatusStamped, DeserError>
fn deserialize( reader: &mut CdrReader<'_>, ) -> Result<GoalStatusStamped, DeserError>
Deserialize a value from the CDR reader
Source§impl PartialEq for GoalStatusStamped
impl PartialEq for GoalStatusStamped
Source§impl Serialize for GoalStatusStamped
impl Serialize for GoalStatusStamped
impl Copy for GoalStatusStamped
impl Eq for GoalStatusStamped
impl StructuralPartialEq for GoalStatusStamped
Auto Trait Implementations§
impl Freeze for GoalStatusStamped
impl RefUnwindSafe for GoalStatusStamped
impl Send for GoalStatusStamped
impl Sync for GoalStatusStamped
impl Unpin for GoalStatusStamped
impl UnsafeUnpin for GoalStatusStamped
impl UnwindSafe for GoalStatusStamped
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