pub struct HumanReadable {
pub summary: String,
pub description: Option<String>,
}Expand description
A human-readable representation of a decoded call or event.
Fields§
§summary: Stringe.g. “ERC20.transfer(to=0x…, amount=1000000)”
description: Option<String>e.g. “Transfer 1000000 USDC to 0x…”
Trait Implementations§
Source§impl Clone for HumanReadable
impl Clone for HumanReadable
Source§fn clone(&self) -> HumanReadable
fn clone(&self) -> HumanReadable
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 HumanReadable
impl Debug for HumanReadable
Source§impl<'de> Deserialize<'de> for HumanReadable
impl<'de> Deserialize<'de> for HumanReadable
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
Auto Trait Implementations§
impl Freeze for HumanReadable
impl RefUnwindSafe for HumanReadable
impl Send for HumanReadable
impl Sync for HumanReadable
impl Unpin for HumanReadable
impl UnsafeUnpin for HumanReadable
impl UnwindSafe for HumanReadable
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