pub struct ProduceBlockResponse {
pub data_hash: CryptoHash,
pub data: Data,
pub app_state_updates: Option<AppStateUpdates>,
pub validator_set_updates: Option<ValidatorSetUpdates>,
}Expand description
Response from an App to a ProduceBlockRequest.
Fields§
§data_hash: CryptoHashThe data_hash field of the produced block.
data: DataThe data field of the produced block.
app_state_updates: Option<AppStateUpdates>The AppStateUpdates that the produced block will cause when it is committed.
validator_set_updates: Option<ValidatorSetUpdates>The ValidatorSetUpdates that the produced block will cause when it is committed.
Auto Trait Implementations§
impl Freeze for ProduceBlockResponse
impl RefUnwindSafe for ProduceBlockResponse
impl Send for ProduceBlockResponse
impl Sync for ProduceBlockResponse
impl Unpin for ProduceBlockResponse
impl UnwindSafe for ProduceBlockResponse
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