Struct test_tube_x::runner::result::ExecuteResponse
source · pub struct ExecuteResponse<R>where
R: Message + Default,{
pub data: R,
pub raw_data: Vec<u8>,
pub events: Vec<Event>,
pub gas_info: GasInfo,
}
Fields§
§data: R
§raw_data: Vec<u8>
§events: Vec<Event>
§gas_info: GasInfo
Trait Implementations§
source§impl<R> Clone for ExecuteResponse<R>where
R: Message + Default + Clone,
impl<R> Clone for ExecuteResponse<R>where R: Message + Default + Clone,
source§fn clone(&self) -> ExecuteResponse<R>
fn clone(&self) -> ExecuteResponse<R>
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<R> PartialEq for ExecuteResponse<R>where
R: Message + Default + PartialEq,
impl<R> PartialEq for ExecuteResponse<R>where R: Message + Default + PartialEq,
source§fn eq(&self, other: &ExecuteResponse<R>) -> bool
fn eq(&self, other: &ExecuteResponse<R>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<R> StructuralPartialEq for ExecuteResponse<R>where R: Message + Default,
Auto Trait Implementations§
impl<R> RefUnwindSafe for ExecuteResponse<R>where R: RefUnwindSafe,
impl<R> Send for ExecuteResponse<R>
impl<R> Sync for ExecuteResponse<R>
impl<R> Unpin for ExecuteResponse<R>where R: Unpin,
impl<R> UnwindSafe for ExecuteResponse<R>where R: UnwindSafe,
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§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