Struct piecrust::CallReceipt
source · pub struct CallReceipt<T> {
pub points_spent: u64,
pub points_limit: u64,
pub events: Vec<Event>,
pub data: T,
}Fields§
§points_spent: u64The amount of points spent in the execution of the call.
points_limit: u64The limit used in during this execution.
events: Vec<Event>The events emitted during the execution of the call.
data: TThe data returned by the called contract.
Trait Implementations§
source§impl<T: Clone> Clone for CallReceipt<T>
impl<T: Clone> Clone for CallReceipt<T>
source§fn clone(&self) -> CallReceipt<T>
fn clone(&self) -> CallReceipt<T>
Returns a copy 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<T: Debug> Debug for CallReceipt<T>
impl<T: Debug> Debug for CallReceipt<T>
source§impl<T: PartialEq> PartialEq<CallReceipt<T>> for CallReceipt<T>
impl<T: PartialEq> PartialEq<CallReceipt<T>> for CallReceipt<T>
source§fn eq(&self, other: &CallReceipt<T>) -> bool
fn eq(&self, other: &CallReceipt<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<T: Eq> Eq for CallReceipt<T>
impl<T> StructuralEq for CallReceipt<T>
impl<T> StructuralPartialEq for CallReceipt<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for CallReceipt<T>where T: RefUnwindSafe,
impl<T> Send for CallReceipt<T>where T: Send,
impl<T> Sync for CallReceipt<T>where T: Sync,
impl<T> Unpin for CallReceipt<T>where T: Unpin,
impl<T> UnwindSafe for CallReceipt<T>where T: UnwindSafe,
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
source§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Upcastable for Twhere
T: Any + Send + Sync + 'static,
impl<T> Upcastable for Twhere T: Any + Send + Sync + 'static,
§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref