Struct fil_types::genesis::Miner[][src]

pub struct Miner {
    pub owner: Address,
    pub worker: Address,
    pub peer_id: String,
    pub market_balance: TokenAmount,
    pub power_balance: TokenAmount,
    pub sector_size: SectorSize,
}

Defines all information needed for a miner in genesis.

Fields

owner: Addressworker: Addresspeer_id: Stringmarket_balance: TokenAmountpower_balance: TokenAmountsector_size: SectorSize

Trait Implementations

impl<'de> Deserialize<'de> for Miner[src]

impl Serialize for Miner[src]

Auto Trait Implementations

impl RefUnwindSafe for Miner

impl Send for Miner

impl Sync for Miner

impl Unpin for Miner

impl UnwindSafe for Miner

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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, 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.