pub enum PrimitiveType {
Show 100 variants
Uint8,
Uint16,
Uint24,
Uint32,
Uint40,
Uint48,
Uint56,
Uint64,
Uint72,
Uint80,
Uint88,
Uint96,
Uint104,
Uint112,
Uint120,
Uint128,
Uint136,
Uint144,
Uint152,
Uint160,
Uint168,
Uint176,
Uint184,
Uint192,
Uint200,
Uint208,
Uint216,
Uint224,
Uint232,
Uint240,
Uint248,
Uint256,
Int8,
Int16,
Int24,
Int32,
Int40,
Int48,
Int56,
Int64,
Int72,
Int80,
Int88,
Int96,
Int104,
Int112,
Int120,
Int128,
Int136,
Int144,
Int152,
Int160,
Int168,
Int176,
Int184,
Int192,
Int200,
Int208,
Int216,
Int224,
Int232,
Int240,
Int248,
Int256,
Bool,
Address,
String,
Bytes,
Bytes1,
Bytes2,
Bytes3,
Bytes4,
Bytes5,
Bytes6,
Bytes7,
Bytes8,
Bytes9,
Bytes10,
Bytes11,
Bytes12,
Bytes13,
Bytes14,
Bytes15,
Bytes16,
Bytes17,
Bytes18,
Bytes19,
Bytes20,
Bytes21,
Bytes22,
Bytes23,
Bytes24,
Bytes25,
Bytes26,
Bytes27,
Bytes28,
Bytes29,
Bytes30,
Bytes31,
Bytes32,
}Expand description
Built-in primitive types (Solidity-style naming)
Variants§
Uint8
Uint16
Uint24
Uint32
Uint40
Uint48
Uint56
Uint64
Uint72
Uint80
Uint88
Uint96
Uint104
Uint112
Uint120
Uint128
Uint136
Uint144
Uint152
Uint160
Uint168
Uint176
Uint184
Uint192
Uint200
Uint208
Uint216
Uint224
Uint232
Uint240
Uint248
Uint256
Int8
Int16
Int24
Int32
Int40
Int48
Int56
Int64
Int72
Int80
Int88
Int96
Int104
Int112
Int120
Int128
Int136
Int144
Int152
Int160
Int168
Int176
Int184
Int192
Int200
Int208
Int216
Int224
Int232
Int240
Int248
Int256
Bool
Address
String
Bytes
Bytes1
Bytes2
Bytes3
Bytes4
Bytes5
Bytes6
Bytes7
Bytes8
Bytes9
Bytes10
Bytes11
Bytes12
Bytes13
Bytes14
Bytes15
Bytes16
Bytes17
Bytes18
Bytes19
Bytes20
Bytes21
Bytes22
Bytes23
Bytes24
Bytes25
Bytes26
Bytes27
Bytes28
Bytes29
Bytes30
Bytes31
Bytes32
Implementations§
Trait Implementations§
Source§impl Clone for PrimitiveType
impl Clone for PrimitiveType
Source§fn clone(&self) -> PrimitiveType
fn clone(&self) -> PrimitiveType
Returns a duplicate 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 PrimitiveType
impl Debug for PrimitiveType
Source§impl Hash for PrimitiveType
impl Hash for PrimitiveType
Source§impl PartialEq for PrimitiveType
impl PartialEq for PrimitiveType
impl Copy for PrimitiveType
impl Eq for PrimitiveType
impl StructuralPartialEq for PrimitiveType
Auto Trait Implementations§
impl Freeze for PrimitiveType
impl RefUnwindSafe for PrimitiveType
impl Send for PrimitiveType
impl Sync for PrimitiveType
impl Unpin for PrimitiveType
impl UnwindSafe for PrimitiveType
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