Struct casper_types::TransformEntry
source · pub struct TransformEntry {
pub key: String,
pub transform: Transform,
}
Expand description
A transformation performed while executing a deploy.
Fields§
§key: String
The formatted string of the Key
.
transform: Transform
The transformation.
Trait Implementations§
source§impl Clone for TransformEntry
impl Clone for TransformEntry
source§fn clone(&self) -> TransformEntry
fn clone(&self) -> TransformEntry
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 TransformEntry
impl Debug for TransformEntry
source§impl<'de> Deserialize<'de> for TransformEntry
impl<'de> Deserialize<'de> for TransformEntry
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 TransformEntry
impl FromBytes for TransformEntry
source§impl PartialEq for TransformEntry
impl PartialEq for TransformEntry
source§fn eq(&self, other: &TransformEntry) -> bool
fn eq(&self, other: &TransformEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TransformEntry
impl Serialize for TransformEntry
source§impl ToBytes for TransformEntry
impl ToBytes for TransformEntry
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 TransformEntry
impl StructuralEq for TransformEntry
impl StructuralPartialEq for TransformEntry
Auto Trait Implementations§
impl RefUnwindSafe for TransformEntry
impl Send for TransformEntry
impl Sync for TransformEntry
impl Unpin for TransformEntry
impl UnwindSafe for TransformEntry
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