pub struct SnapshotTopicDataRequest {
pub topic: String,
pub duration: f64,
pub target_path: String,
pub max_record_count: u16,
}Fields§
§topic: String§duration: f64§target_path: String§max_record_count: u16Trait Implementations§
Source§impl Clone for SnapshotTopicDataRequest
impl Clone for SnapshotTopicDataRequest
Source§fn clone(&self) -> SnapshotTopicDataRequest
fn clone(&self) -> SnapshotTopicDataRequest
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 SnapshotTopicDataRequest
impl Debug for SnapshotTopicDataRequest
Source§impl Default for SnapshotTopicDataRequest
impl Default for SnapshotTopicDataRequest
Source§impl<'de> Deserialize<'de> for SnapshotTopicDataRequest
impl<'de> Deserialize<'de> for SnapshotTopicDataRequest
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 SnapshotTopicDataRequest
impl PartialEq for SnapshotTopicDataRequest
Source§impl RosMessageType for SnapshotTopicDataRequest
impl RosMessageType for SnapshotTopicDataRequest
Source§const ROS_TYPE_NAME: &'static str = "common/SnapshotTopicDataRequest"
const ROS_TYPE_NAME: &'static str = "common/SnapshotTopicDataRequest"
Expected to be the combination pkg_name/type_name string describing the type to ros
Example: std_msgs/Header
Source§const MD5SUM: &'static str = "f2602be7b44da1b87303cb986e033a23"
const MD5SUM: &'static str = "f2602be7b44da1b87303cb986e033a23"
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 = "# SnapshotTopicData.srv\n\n# topic name to record e.g. \"/camera/rgb/image_raw\"\nstring topic\n\n# Duration for which it should be recorded (in seconds)\nfloat64 duration\n\n# Target path to save the recorded topic data\n# An empty string will default to a predefined path\nstring target_path\n\n# Number of times the service should record\n# 0 if it should go on forever\n# default: 0 (forever)\nuint16 max_record_count"
const DEFINITION: &'static str = "# SnapshotTopicData.srv\n\n# topic name to record e.g. \"/camera/rgb/image_raw\"\nstring topic\n\n# Duration for which it should be recorded (in seconds)\nfloat64 duration\n\n# Target path to save the recorded topic data\n# An empty string will default to a predefined path\nstring target_path\n\n# Number of times the service should record\n# 0 if it should go on forever\n# default: 0 (forever)\nuint16 max_record_count"
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 SnapshotTopicDataRequest
impl Serialize for SnapshotTopicDataRequest
impl StructuralPartialEq for SnapshotTopicDataRequest
Auto Trait Implementations§
impl Freeze for SnapshotTopicDataRequest
impl RefUnwindSafe for SnapshotTopicDataRequest
impl Send for SnapshotTopicDataRequest
impl Sync for SnapshotTopicDataRequest
impl Unpin for SnapshotTopicDataRequest
impl UnwindSafe for SnapshotTopicDataRequest
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