[][src]Struct casper_types::DeployInfo

pub struct DeployInfo {
    pub deploy_hash: DeployHash,
    pub transfers: Vec<TransferAddr>,
    pub from: AccountHash,
    pub source: URef,
    pub gas: U512,
}

Represents a transfer from one purse to another

Fields

deploy_hash: DeployHash

Deploy

transfers: Vec<TransferAddr>

Transfers

from: AccountHash

Account

source: URef

Source purse

gas: U512

Gas

Implementations

impl DeployInfo[src]

pub fn new(
    deploy_hash: DeployHash,
    transfers: &[TransferAddr],
    from: AccountHash,
    source: URef,
    gas: U512
) -> Self
[src]

Creates a DeployInfo.

Trait Implementations

impl Clone for DeployInfo[src]

impl Debug for DeployInfo[src]

impl Eq for DeployInfo[src]

impl FromBytes for DeployInfo[src]

impl Ord for DeployInfo[src]

impl PartialEq<DeployInfo> for DeployInfo[src]

impl PartialOrd<DeployInfo> for DeployInfo[src]

impl StructuralEq for DeployInfo[src]

impl StructuralPartialEq for DeployInfo[src]

impl ToBytes for DeployInfo[src]

Auto Trait Implementations

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> Same<T> for T

type Output = T

Should always be Self

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.