Struct diem_types::transaction::TypeArgumentABI
pub struct TypeArgumentABI { /* private fields */ }
Expand description
The description of a type argument in a script.
Implementations§
§impl TypeArgumentABI
impl TypeArgumentABI
pub fn new(name: String) -> TypeArgumentABI
pub fn name(&self) -> &str
Trait Implementations§
§impl Clone for TypeArgumentABI
impl Clone for TypeArgumentABI
§fn clone(&self) -> TypeArgumentABI
fn clone(&self) -> TypeArgumentABI
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 more§impl Debug for TypeArgumentABI
impl Debug for TypeArgumentABI
§impl<'de> Deserialize<'de> for TypeArgumentABI
impl<'de> Deserialize<'de> for TypeArgumentABI
§fn deserialize<__D>(
__deserializer: __D
) -> Result<TypeArgumentABI, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<TypeArgumentABI, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Hash for TypeArgumentABI
impl Hash for TypeArgumentABI
§impl PartialEq<TypeArgumentABI> for TypeArgumentABI
impl PartialEq<TypeArgumentABI> for TypeArgumentABI
§fn eq(&self, other: &TypeArgumentABI) -> bool
fn eq(&self, other: &TypeArgumentABI) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for TypeArgumentABI
impl Serialize for TypeArgumentABI
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for TypeArgumentABI
impl StructuralEq for TypeArgumentABI
impl StructuralPartialEq for TypeArgumentABI
Auto Trait Implementations§
impl RefUnwindSafe for TypeArgumentABI
impl Send for TypeArgumentABI
impl Sync for TypeArgumentABI
impl Unpin for TypeArgumentABI
impl UnwindSafe for TypeArgumentABI
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
source§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.