pub struct HelloWorldResponse {
pub success: bool,
pub message: String,
}Fields§
§success: bool§message: StringTrait Implementations§
Source§impl Clone for HelloWorldResponse
impl Clone for HelloWorldResponse
Source§fn clone(&self) -> HelloWorldResponse
fn clone(&self) -> HelloWorldResponse
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 HelloWorldResponse
impl Debug for HelloWorldResponse
Source§impl Default for HelloWorldResponse
impl Default for HelloWorldResponse
Source§impl<'de> Deserialize<'de> for HelloWorldResponse
impl<'de> Deserialize<'de> for HelloWorldResponse
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 HelloWorldResponse
impl PartialEq for HelloWorldResponse
Source§impl RosMessageType for HelloWorldResponse
impl RosMessageType for HelloWorldResponse
Source§const ROS_TYPE_NAME: &'static str = "common/HelloWorldResponse"
const ROS_TYPE_NAME: &'static str = "common/HelloWorldResponse"
Expected to be the combination pkg_name/type_name string describing the type to ros
Example: std_msgs/Header
Source§const MD5SUM: &'static str = "937c9679a518e3a18d831e57125ea522"
const MD5SUM: &'static str = "937c9679a518e3a18d831e57125ea522"
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 = "# Response\nbool success\nstring message"
const DEFINITION: &'static str = "# Response\nbool success\nstring message"
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 HelloWorldResponse
impl Serialize for HelloWorldResponse
impl StructuralPartialEq for HelloWorldResponse
Auto Trait Implementations§
impl Freeze for HelloWorldResponse
impl RefUnwindSafe for HelloWorldResponse
impl Send for HelloWorldResponse
impl Sync for HelloWorldResponse
impl Unpin for HelloWorldResponse
impl UnwindSafe for HelloWorldResponse
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