pub struct SectorInfo {
pub proof: RegisteredSealProof,
pub sector_number: SectorNumber,
pub sealed_cid: Cid,
}Expand description
Information about a sector necessary for PoSt verification
Fields§
§proof: RegisteredSealProofUsed when sealing - needs to be mapped to PoSt registered proof when used to verify a PoSt
sector_number: SectorNumber§sealed_cid: CidTrait Implementations§
Source§impl Clone for SectorInfo
impl Clone for SectorInfo
Source§fn clone(&self) -> SectorInfo
fn clone(&self) -> SectorInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SectorInfo
impl Debug for SectorInfo
Source§impl<'de> Deserialize<'de> for SectorInfo
impl<'de> Deserialize<'de> for SectorInfo
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SectorInfo
impl PartialEq for SectorInfo
Source§impl Serialize for SectorInfo
impl Serialize for SectorInfo
impl Eq for SectorInfo
impl StructuralPartialEq for SectorInfo
Auto Trait Implementations§
impl Freeze for SectorInfo
impl RefUnwindSafe for SectorInfo
impl Send for SectorInfo
impl Sync for SectorInfo
impl Unpin for SectorInfo
impl UnwindSafe for SectorInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more