pub struct MagicResponseV1 {
pub ok: bool,
pub data: Vec<u8>,
pub error: String,
pub receipt: Option<ActionReceipt>,
}Fields§
§ok: bool§data: Vec<u8>Data user specified as payload for callback Present even in case of an error
error: StringReason for callback execution with ok = false TimeoutError/ActionError
receipt: Option<ActionReceipt>Action execution receipt entries Present if signature of action tx is available
Trait Implementations§
Source§impl Clone for MagicResponseV1
impl Clone for MagicResponseV1
Source§fn clone(&self) -> MagicResponseV1
fn clone(&self) -> MagicResponseV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MagicResponseV1
impl Debug for MagicResponseV1
Source§impl<'de> Deserialize<'de> for MagicResponseV1
impl<'de> Deserialize<'de> for MagicResponseV1
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 MagicResponseV1
impl RefUnwindSafe for MagicResponseV1
impl Send for MagicResponseV1
impl Sync for MagicResponseV1
impl Unpin for MagicResponseV1
impl UnsafeUnpin for MagicResponseV1
impl UnwindSafe for MagicResponseV1
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