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 PartialOrd for NamedArg
impl PartialOrd for NamedArg
Source§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 StructuralPartialEq for NamedArg
Auto Trait Implementations§
impl Freeze for NamedArg
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