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