[][src]Struct eosio::SecondaryTableIndex

pub struct SecondaryTableIndex<K, T> where
    T: Table
{ pub code: AccountName, pub scope: ScopeName, pub table: SecondaryTableName, // some fields omitted }

TODO docs

Fields

code: AccountName

TODO docs

scope: ScopeName

TODO docs

table: SecondaryTableName

TODO docs

Methods

impl<K, T> SecondaryTableIndex<K, T> where
    T: Table
[src]

pub fn new<C, S, N>(code: C, scope: S, name: N, index: usize) -> Self where
    C: Into<AccountName>,
    S: Into<ScopeName>,
    N: Into<TableName>, 
[src]

TODO docs

#[must_use] pub fn primary_index(&self) -> PrimaryTableIndex<T>[src]

TODO docs

Trait Implementations

impl<K: Clone, T: Clone> Clone for SecondaryTableIndex<K, T> where
    T: Table
[src]

impl<K: Copy, T: Copy> Copy for SecondaryTableIndex<K, T> where
    T: Table
[src]

impl<K: Debug, T: Debug> Debug for SecondaryTableIndex<K, T> where
    T: Table
[src]

Auto Trait Implementations

impl<K, T> Send for SecondaryTableIndex<K, T> where
    K: Send,
    T: Send

impl<K, T> Sync for SecondaryTableIndex<K, T> where
    K: Sync,
    T: Sync

impl<K, T> Unpin for SecondaryTableIndex<K, T> where
    K: Unpin,
    T: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.