pub struct InvokeResponse {
pub output: Vec<u8>,
pub pixie: u64,
}Expand description
What the embedder hands back: the sub-action’s output and what it cost.
pixie is a measurement, not an estimate — the sub-cast produced its
own receipt, and its total is the honest number. It must be at or under
the reserved pixie_max; above it is a typed error, never a bill.
Fields§
§output: Vec<u8>The sub-action’s output bytes.
pixie: u64What the sub-cast actually spent, in pixie.
Trait Implementations§
Source§impl Clone for InvokeResponse
impl Clone for InvokeResponse
Source§impl Debug for InvokeResponse
impl Debug for InvokeResponse
Source§impl Default for InvokeResponse
impl Default for InvokeResponse
Source§impl<'de> Deserialize<'de> for InvokeResponse
impl<'de> Deserialize<'de> for InvokeResponse
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
impl Eq for InvokeResponse
Source§impl From<InvokeResponse> for InvokeOutcome
impl From<InvokeResponse> for InvokeOutcome
Source§fn from(resp: InvokeResponse) -> Self
fn from(resp: InvokeResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InvokeResponse
impl PartialEq for InvokeResponse
Source§impl Serialize for InvokeResponse
impl Serialize for InvokeResponse
impl StructuralPartialEq for InvokeResponse
Auto Trait Implementations§
impl Forget for InvokeResponse
impl Freeze for InvokeResponse
impl Move for InvokeResponse
impl RefUnwindSafe for InvokeResponse
impl Send for InvokeResponsewhere
RawVecInner: Send,
impl Sync for InvokeResponsewhere
RawVecInner: Sync,
impl Unpin for InvokeResponse
impl UnsafeUnpin for InvokeResponse
impl UnwindSafe for InvokeResponsewhere
RawVecInner: UnwindSafe,
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