ic_web3_rs::contract::tokens

Trait Detokenize

Source
pub trait Detokenize {
    // Required method
    fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>
       where Self: Sized;
}
Expand description

Output type possible to deserialize from Contract ABI

Required Methods§

Source

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>
where Self: Sized,

Creates a new instance from parsed ABI tokens.

Implementations on Foreign Types§

Source§

impl<A> Detokenize for (A,)
where A: Tokenizable,

Source§

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>

Source§

impl<A, B> Detokenize for (A, B)
where A: Tokenizable, B: Tokenizable,

Source§

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>

Source§

impl<A, B, C> Detokenize for (A, B, C)

Source§

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>

Source§

impl<A, B, C, D> Detokenize for (A, B, C, D)

Source§

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>

Source§

impl<A, B, C, D, E> Detokenize for (A, B, C, D, E)

Source§

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>

Source§

impl<A, B, C, D, E, F> Detokenize for (A, B, C, D, E, F)

Source§

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>

Source§

impl<A, B, C, D, E, F, G> Detokenize for (A, B, C, D, E, F, G)

Source§

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>

Source§

impl<A, B, C, D, E, F, G, H> Detokenize for (A, B, C, D, E, F, G, H)

Source§

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>

Source§

impl<A, B, C, D, E, F, G, H, I> Detokenize for (A, B, C, D, E, F, G, H, I)

Source§

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>

Source§

impl<A, B, C, D, E, F, G, H, I, J> Detokenize for (A, B, C, D, E, F, G, H, I, J)

Source§

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>

Source§

impl<A, B, C, D, E, F, G, H, I, J, K> Detokenize for (A, B, C, D, E, F, G, H, I, J, K)

Source§

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L> Detokenize for (A, B, C, D, E, F, G, H, I, J, K, L)

Source§

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M> Detokenize for (A, B, C, D, E, F, G, H, I, J, K, L, M)

Source§

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> Detokenize for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)

Source§

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> Detokenize for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)

Source§

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> Detokenize for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

Source§

fn from_tokens(tokens: Vec<Token>) -> Result<Self, Error>

Implementors§