[][src]Struct smart_contract::transaction::Contract

pub struct Contract {
    pub payload: Vec<u8>,
    pub code: Vec<u8>,
}

Fields

payload: Vec<u8>code: Vec<u8>

Trait Implementations

impl Writeable for Contract[src]

impl Readable for Contract[src]

impl Default for Contract[src]

Auto Trait Implementations

impl Unpin for Contract

impl Send for Contract

impl Sync for Contract

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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