pub struct InteractiveMarkerUpdate {
pub server_id: String,
pub seq_num: u64,
pub type: u8,
pub markers: Vec<InteractiveMarker>,
pub poses: Vec<InteractiveMarkerPose>,
pub erases: Vec<String>,
}Fields§
§server_id: String§seq_num: u64§type: u8§markers: Vec<InteractiveMarker>§poses: Vec<InteractiveMarkerPose>§erases: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for InteractiveMarkerUpdate
impl Clone for InteractiveMarkerUpdate
Source§fn clone(&self) -> InteractiveMarkerUpdate
fn clone(&self) -> InteractiveMarkerUpdate
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 InteractiveMarkerUpdate
impl Debug for InteractiveMarkerUpdate
Source§impl Default for InteractiveMarkerUpdate
impl Default for InteractiveMarkerUpdate
Source§impl<'de> Deserialize<'de> for InteractiveMarkerUpdate
impl<'de> Deserialize<'de> for InteractiveMarkerUpdate
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 InteractiveMarkerUpdate
impl PartialEq for InteractiveMarkerUpdate
Source§impl RosMessageType for InteractiveMarkerUpdate
impl RosMessageType for InteractiveMarkerUpdate
Source§const ROS_TYPE_NAME: &'static str = "visualization_msgs/InteractiveMarkerUpdate"
const ROS_TYPE_NAME: &'static str = "visualization_msgs/InteractiveMarkerUpdate"
Expected to be the combination pkg_name/type_name string describing the type to ros
Example: std_msgs/Header
Source§const MD5SUM: &'static str = "8f52c675c849441ae87da82eaa4d6eb5"
const MD5SUM: &'static str = "8f52c675c849441ae87da82eaa4d6eb5"
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 = "# Identifying string. Must be unique in the topic namespace\n# that this server works on.\nstring server_id\n\n# Sequence number.\n# The client will use this to detect if it has missed an update.\nuint64 seq_num\n\n# Type holds the purpose of this message. It must be one of UPDATE or KEEP_ALIVE.\n# UPDATE: Incremental update to previous state.\n# The sequence number must be 1 higher than for\n# the previous update.\n# KEEP_ALIVE: Indicates the that the server is still living.\n# The sequence number does not increase.\n# No payload data should be filled out (markers, poses, or erases).\nuint8 KEEP_ALIVE = 0\nuint8 UPDATE = 1\n\nuint8 type\n\n# Note: No guarantees on the order of processing.\n# Contents must be kept consistent by sender.\n\n# Markers to be added or updated\nInteractiveMarker[] markers\n\n# Poses of markers that should be moved\nInteractiveMarkerPose[] poses\n\n# Names of markers to be erased\nstring[] erases"
const DEFINITION: &'static str = "# Identifying string. Must be unique in the topic namespace\n# that this server works on.\nstring server_id\n\n# Sequence number.\n# The client will use this to detect if it has missed an update.\nuint64 seq_num\n\n# Type holds the purpose of this message. It must be one of UPDATE or KEEP_ALIVE.\n# UPDATE: Incremental update to previous state.\n# The sequence number must be 1 higher than for\n# the previous update.\n# KEEP_ALIVE: Indicates the that the server is still living.\n# The sequence number does not increase.\n# No payload data should be filled out (markers, poses, or erases).\nuint8 KEEP_ALIVE = 0\nuint8 UPDATE = 1\n\nuint8 type\n\n# Note: No guarantees on the order of processing.\n# Contents must be kept consistent by sender.\n\n# Markers to be added or updated\nInteractiveMarker[] markers\n\n# Poses of markers that should be moved\nInteractiveMarkerPose[] poses\n\n# Names of markers to be erased\nstring[] erases"
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 InteractiveMarkerUpdate
impl Serialize for InteractiveMarkerUpdate
impl StructuralPartialEq for InteractiveMarkerUpdate
Auto Trait Implementations§
impl Freeze for InteractiveMarkerUpdate
impl RefUnwindSafe for InteractiveMarkerUpdate
impl Send for InteractiveMarkerUpdate
impl Sync for InteractiveMarkerUpdate
impl Unpin for InteractiveMarkerUpdate
impl UnwindSafe for InteractiveMarkerUpdate
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