pub struct SectorOnChainInfo {
Show 13 fields pub sector_number: SectorNumber, pub seal_proof: RegisteredSealProof, pub sealed_cid: Cid, pub deal_ids: Vec<DealID>, pub activation: ChainEpoch, pub expiration: ChainEpoch, pub deal_weight: DealWeight, pub verified_deal_weight: DealWeight, pub initial_pledge: TokenAmount, pub expected_day_reward: TokenAmount, pub expected_storage_pledge: TokenAmount, pub replaced_sector_age: ChainEpoch, pub replaced_day_reward: TokenAmount,
}
Expand description

Information stored on-chain for a proven sector.

Fields

sector_number: SectorNumberseal_proof: RegisteredSealProof

The seal proof type implies the PoSt proofs

sealed_cid: Cid

CommR

deal_ids: Vec<DealID>activation: ChainEpoch

Epoch during which the sector proof was accepted

expiration: ChainEpoch

Epoch during which the sector expires

deal_weight: DealWeight

Integral of active deals over sector lifetime

verified_deal_weight: DealWeight

Integral of active verified deals over sector lifetime

initial_pledge: TokenAmount

Pledge collected to commit this sector

expected_day_reward: TokenAmount

Expected one day projection of reward for sector computed at activation time

expected_storage_pledge: TokenAmount

Expected twenty day projection of reward for sector computed at activation time

replaced_sector_age: ChainEpoch

Age of sector this sector replaced or zero

replaced_day_reward: TokenAmount

Day reward of sector this sector replace or zero

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

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

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.