Type Alias String

Source
pub type String = String;

Aliased Type§

struct String { /* private fields */ }

Trait Implementations§

Source§

impl AbiDecode for String

Source§

fn dec(input: &mut AbiDecoder<'_>) -> Result<Self>

Source§

fn abi_decode(input: &[u8]) -> Result<Self>

Source§

fn abi_decode_call(input: &[u8]) -> Result<(Bytes4, Self)>

Source§

impl AbiEncode for String

Source§

fn enc(&self, out: &mut AbiEncoder)

Source§

fn abi_encode(&self) -> Vec<u8>

Source§

fn abi_encode_call(&self, selector: Bytes4) -> Vec<u8>

Source§

impl AbiType for String

Source§

const SIGNATURE: SignatureUnit = <&str>::SIGNATURE

Signature for Ethereum ABI.
Source§

const HEAD_WORDS: u32 = 1u32

How many AbiWords static data this type should occupy
Source§

const IS_DYNAMIC: bool = true

Is this a dynamic type, per spec.
Source§

fn signature() -> &'static str

Signature as str.