pub struct ETHTransferResponse {
pub success: bool,
pub tx_hash: String,
pub error: String,
}Fields§
§success: bool§tx_hash: String§error: StringTrait Implementations§
Source§impl Clone for ETHTransferResponse
impl Clone for ETHTransferResponse
Source§fn clone(&self) -> ETHTransferResponse
fn clone(&self) -> ETHTransferResponse
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 ETHTransferResponse
impl Debug for ETHTransferResponse
Source§impl Default for ETHTransferResponse
impl Default for ETHTransferResponse
Source§impl<'de> Deserialize<'de> for ETHTransferResponse
impl<'de> Deserialize<'de> for ETHTransferResponse
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 ETHTransferResponse
impl PartialEq for ETHTransferResponse
Source§impl RosMessageType for ETHTransferResponse
impl RosMessageType for ETHTransferResponse
Source§const ROS_TYPE_NAME: &'static str = "common/ETHTransferResponse"
const ROS_TYPE_NAME: &'static str = "common/ETHTransferResponse"
Expected to be the combination pkg_name/type_name string describing the type to ros
Example: std_msgs/Header
Source§const MD5SUM: &'static str = "f592de0a75d7b2f941be2acfa8427aa3"
const MD5SUM: &'static str = "f592de0a75d7b2f941be2acfa8427aa3"
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 = "# whether the tx was received or not (not if it was successful)\nbool success\n\n# the hash of the transaction\nstring tx_hash\n\n# the error of the transaction\nstring error"
const DEFINITION: &'static str = "# whether the tx was received or not (not if it was successful)\nbool success\n\n# the hash of the transaction\nstring tx_hash\n\n# the error of the transaction\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 ETHTransferResponse
impl Serialize for ETHTransferResponse
impl StructuralPartialEq for ETHTransferResponse
Auto Trait Implementations§
impl Freeze for ETHTransferResponse
impl RefUnwindSafe for ETHTransferResponse
impl Send for ETHTransferResponse
impl Sync for ETHTransferResponse
impl Unpin for ETHTransferResponse
impl UnwindSafe for ETHTransferResponse
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