Struct solana::transaction::Contract[][src]

pub struct Contract {
    pub tokens: i64,
    pub plan: Plan,
}

A smart contract.

Fields

The number of tokens allocated to the Plan and any transaction fees.

Trait Implementations

impl Debug for Contract
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Contract
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Contract
[src]

impl Clone for Contract
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Contract

impl Sync for Contract