pub struct CreateProofResponse {
pub success: bool,
pub proof: String,
pub error: String,
}Fields§
§success: bool§proof: String§error: StringTrait Implementations§
Source§impl Clone for CreateProofResponse
impl Clone for CreateProofResponse
Source§fn clone(&self) -> CreateProofResponse
fn clone(&self) -> CreateProofResponse
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 CreateProofResponse
impl Debug for CreateProofResponse
Source§impl Default for CreateProofResponse
impl Default for CreateProofResponse
Source§impl<'de> Deserialize<'de> for CreateProofResponse
impl<'de> Deserialize<'de> for CreateProofResponse
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 CreateProofResponse
impl PartialEq for CreateProofResponse
Source§impl RosMessageType for CreateProofResponse
impl RosMessageType for CreateProofResponse
Source§const ROS_TYPE_NAME: &'static str = "common/CreateProofResponse"
const ROS_TYPE_NAME: &'static str = "common/CreateProofResponse"
Expected to be the combination pkg_name/type_name string describing the type to ros
Example: std_msgs/Header
Source§const MD5SUM: &'static str = "785e1c962648f130f873749ea2efe97b"
const MD5SUM: &'static str = "785e1c962648f130f873749ea2efe97b"
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 part\n\n# Success flag to indicate if the operation was successful\nbool success\n\n# proof of the data\nstring proof\n\n# message to indicate the reason for failure, empty if sucess is true\nstring error"
const DEFINITION: &'static str = "# Response part\n\n# Success flag to indicate if the operation was successful\nbool success\n\n# proof of the data\nstring proof\n\n# message to indicate the reason for failure, empty if sucess is true\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 CreateProofResponse
impl Serialize for CreateProofResponse
impl StructuralPartialEq for CreateProofResponse
Auto Trait Implementations§
impl Freeze for CreateProofResponse
impl RefUnwindSafe for CreateProofResponse
impl Send for CreateProofResponse
impl Sync for CreateProofResponse
impl Unpin for CreateProofResponse
impl UnwindSafe for CreateProofResponse
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