pub struct SetBoolResponse {
pub success: bool,
pub message: String,
}Fields§
§success: bool§message: StringTrait Implementations§
Source§impl Clone for SetBoolResponse
impl Clone for SetBoolResponse
Source§fn clone(&self) -> SetBoolResponse
fn clone(&self) -> SetBoolResponse
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 SetBoolResponse
impl Debug for SetBoolResponse
Source§impl Default for SetBoolResponse
impl Default for SetBoolResponse
Source§impl<'de> Deserialize<'de> for SetBoolResponse
impl<'de> Deserialize<'de> for SetBoolResponse
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 SetBoolResponse
impl PartialEq for SetBoolResponse
Source§impl RosMessageType for SetBoolResponse
impl RosMessageType for SetBoolResponse
Source§const ROS_TYPE_NAME: &'static str = "std_srvs/SetBoolResponse"
const ROS_TYPE_NAME: &'static str = "std_srvs/SetBoolResponse"
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 = "bool success # indicate successful run of triggered service\nstring message # informational, e.g. for error messages"
const DEFINITION: &'static str = "bool success # indicate successful run of triggered service\nstring message # informational, e.g. for error messages"
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 SetBoolResponse
impl Serialize for SetBoolResponse
impl StructuralPartialEq for SetBoolResponse
Auto Trait Implementations§
impl Freeze for SetBoolResponse
impl RefUnwindSafe for SetBoolResponse
impl Send for SetBoolResponse
impl Sync for SetBoolResponse
impl Unpin for SetBoolResponse
impl UnwindSafe for SetBoolResponse
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