Struct casper_types::NamedArg
source · pub struct NamedArg(/* private fields */);
Expand description
Named arguments to a contract.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for NamedArg
impl<'de> Deserialize<'de> for NamedArg
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 Ord for NamedArg
impl Ord for NamedArg
source§impl PartialEq for NamedArg
impl PartialEq for NamedArg
source§impl PartialOrd for NamedArg
impl PartialOrd for NamedArg
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl ToBytes for NamedArg
impl ToBytes for NamedArg
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 NamedArg
impl StructuralEq for NamedArg
impl StructuralPartialEq for NamedArg
Auto Trait Implementations§
impl RefUnwindSafe for NamedArg
impl Send for NamedArg
impl Sync for NamedArg
impl Unpin for NamedArg
impl UnwindSafe for NamedArg
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