pub struct LeanWorkerProofAttemptEnvelope {
pub candidates: Vec<LeanWorkerProofAttemptRow>,
pub candidate_limit: u32,
pub candidates_truncated: bool,
}Expand description
Envelope for a bounded proof attempt.
Fields§
§candidates: Vec<LeanWorkerProofAttemptRow>§candidate_limit: u32§candidates_truncated: boolTrait Implementations§
Source§impl Clone for LeanWorkerProofAttemptEnvelope
impl Clone for LeanWorkerProofAttemptEnvelope
Source§fn clone(&self) -> LeanWorkerProofAttemptEnvelope
fn clone(&self) -> LeanWorkerProofAttemptEnvelope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for LeanWorkerProofAttemptEnvelope
impl<'de> Deserialize<'de> for LeanWorkerProofAttemptEnvelope
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerProofAttemptEnvelope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerProofAttemptEnvelope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LeanWorkerProofAttemptEnvelope
Source§impl PartialEq for LeanWorkerProofAttemptEnvelope
impl PartialEq for LeanWorkerProofAttemptEnvelope
Source§fn eq(&self, other: &LeanWorkerProofAttemptEnvelope) -> bool
fn eq(&self, other: &LeanWorkerProofAttemptEnvelope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LeanWorkerProofAttemptEnvelope
impl Serialize for LeanWorkerProofAttemptEnvelope
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LeanWorkerProofAttemptEnvelope
Auto Trait Implementations§
impl Freeze for LeanWorkerProofAttemptEnvelope
impl RefUnwindSafe for LeanWorkerProofAttemptEnvelope
impl Send for LeanWorkerProofAttemptEnvelope
impl Sync for LeanWorkerProofAttemptEnvelope
impl Unpin for LeanWorkerProofAttemptEnvelope
impl UnsafeUnpin for LeanWorkerProofAttemptEnvelope
impl UnwindSafe for LeanWorkerProofAttemptEnvelope
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