[][src]Trait eosio::Table

pub trait Table: Sized {
    type Row: Read + Write + NumBytes;

    const NAME: TableName;

    fn primary_key(row: &Self::Row) -> u64;

    fn secondary_keys(_row: &Self::Row) -> SecondaryKeys { ... }
fn table<C, S>(code: C, scope: S) -> PrimaryTableIndex<Self>
    where
        C: Into<AccountName>,
        S: Into<ScopeName>
, { ... } }

TODO docs

Associated Types

type Row: Read + Write + NumBytes

TODO docs

Loading content...

Associated Constants

const NAME: TableName

TODO docs

Loading content...

Required methods

fn primary_key(row: &Self::Row) -> u64

TODO docs

Loading content...

Provided methods

fn secondary_keys(_row: &Self::Row) -> SecondaryKeys

TODO docs

fn table<C, S>(code: C, scope: S) -> PrimaryTableIndex<Self> where
    C: Into<AccountName>,
    S: Into<ScopeName>, 

TODO docs

Loading content...

Implementors

Loading content...