[][src]Struct eosio::Action

pub struct Action<T> {
    pub account: AccountName,
    pub name: ActionName,
    pub authorization: Vec<PermissionLevel>,
    pub data: T,
}

This is the packed representation of an action along with meta-data about the authorization levels.

Fields

account: AccountName

Name of the account the action is intended for

name: ActionName

Name of the action

authorization: Vec<PermissionLevel>

List of permissions that authorize this action

data: T

Payload data

Trait Implementations

impl<T: Clone> Clone for Action<T>[src]

impl<T: Debug> Debug for Action<T>[src]

impl<T: Default> Default for Action<T>[src]

impl<T: NumBytes> NumBytes for Action<T>[src]

impl<T: Read> Read for Action<T>[src]

impl<T: Write> Write for Action<T>[src]

Auto Trait Implementations

impl<T> Send for Action<T> where
    T: Send

impl<T> Sync for Action<T> where
    T: Sync

impl<T> Unpin for Action<T> where
    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.