Enum ethbind_rust::SimpleType
source · pub enum SimpleType {
Address,
Uint,
Int,
Bool,
Fixed,
Ufixed,
Function,
Bytes,
String,
Tuple,
}
Expand description
Contract abi simple types enum
Variants§
Address
Uint
Int
Bool
Fixed
Ufixed
Function
an address (20 bytes) followed by a function selector (4 bytes). Encoded identical to bytes24.
Bytes
String
Tuple
Implementations§
Trait Implementations§
source§impl Clone for SimpleType
impl Clone for SimpleType
source§fn clone(&self) -> SimpleType
fn clone(&self) -> SimpleType
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 SimpleType
impl Debug for SimpleType
source§impl<'de> Deserialize<'de> for SimpleType
impl<'de> Deserialize<'de> for SimpleType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SimpleType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<SimpleType, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<SimpleType> for SimpleType
impl PartialEq<SimpleType> for SimpleType
source§fn eq(&self, other: &SimpleType) -> bool
fn eq(&self, other: &SimpleType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimpleType
impl Serialize for SimpleType
source§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