Struct forest_actor::miner::MinerConstructorParams [−][src]
pub struct MinerConstructorParams { pub owner: Address, pub worker: Address, pub control_addresses: Vec<Address>, pub window_post_proof_type: RegisteredPoStProof, pub peer_id: Vec<u8>, pub multi_addresses: Vec<BytesDe>, }
Expand description
Storage miner actor constructor params are defined here so the power actor can send them to the init actor to instantiate miners.
Fields
owner: Address
worker: Address
control_addresses: Vec<Address>
window_post_proof_type: RegisteredPoStProof
peer_id: Vec<u8>
multi_addresses: Vec<BytesDe>
Trait Implementations
impl<'de> Deserialize<'de> for MinerConstructorParams
[src]
impl<'de> Deserialize<'de> for MinerConstructorParams
[src]fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Serialize for MinerConstructorParams
[src]
impl Serialize for MinerConstructorParams
[src]Auto Trait Implementations
impl RefUnwindSafe for MinerConstructorParams
impl Send for MinerConstructorParams
impl Sync for MinerConstructorParams
impl Unpin for MinerConstructorParams
impl UnwindSafe for MinerConstructorParams
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,