Struct casper_types::ExecutionEffect
source · pub struct ExecutionEffect {
pub operations: Vec<Operation>,
pub transforms: Vec<TransformEntry>,
}
Expand description
The journal of execution transforms from a single deploy.
Fields§
§operations: Vec<Operation>
The resulting operations.
transforms: Vec<TransformEntry>
The journal of execution transforms.
Implementations§
source§impl ExecutionEffect
impl ExecutionEffect
sourcepub fn new(transforms: Vec<TransformEntry>) -> Self
pub fn new(transforms: Vec<TransformEntry>) -> Self
Constructor for ExecutionEffect
.
Trait Implementations§
source§impl Clone for ExecutionEffect
impl Clone for ExecutionEffect
source§fn clone(&self) -> ExecutionEffect
fn clone(&self) -> ExecutionEffect
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 Debug for ExecutionEffect
impl Debug for ExecutionEffect
source§impl Default for ExecutionEffect
impl Default for ExecutionEffect
source§fn default() -> ExecutionEffect
fn default() -> ExecutionEffect
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ExecutionEffect
impl<'de> Deserialize<'de> for ExecutionEffect
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
source§impl FromBytes for ExecutionEffect
impl FromBytes for ExecutionEffect
source§impl PartialEq for ExecutionEffect
impl PartialEq for ExecutionEffect
source§fn eq(&self, other: &ExecutionEffect) -> bool
fn eq(&self, other: &ExecutionEffect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExecutionEffect
impl Serialize for ExecutionEffect
source§impl ToBytes for ExecutionEffect
impl ToBytes for ExecutionEffect
source§fn serialized_length(&self) -> usize
fn serialized_length(&self) -> usize
Returns the length of the
Vec<u8>
which would be returned from a successful call to
to_bytes()
or into_bytes()
. The data is not actually serialized, so this call is
relatively cheap.impl Eq for ExecutionEffect
impl StructuralEq for ExecutionEffect
impl StructuralPartialEq for ExecutionEffect
Auto Trait Implementations§
impl RefUnwindSafe for ExecutionEffect
impl Send for ExecutionEffect
impl Sync for ExecutionEffect
impl Unpin for ExecutionEffect
impl UnwindSafe for ExecutionEffect
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