pub struct LeanWorkerProofCandidate {
pub id: String,
pub text: String,
}Expand description
One proof candidate to apply to an in-memory source overlay.
Fields§
§id: String§text: StringTrait Implementations§
Source§impl Clone for LeanWorkerProofCandidate
impl Clone for LeanWorkerProofCandidate
Source§fn clone(&self) -> LeanWorkerProofCandidate
fn clone(&self) -> LeanWorkerProofCandidate
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 Debug for LeanWorkerProofCandidate
impl Debug for LeanWorkerProofCandidate
Source§impl<'de> Deserialize<'de> for LeanWorkerProofCandidate
impl<'de> Deserialize<'de> for LeanWorkerProofCandidate
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerProofCandidate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerProofCandidate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LeanWorkerProofCandidate
Source§impl PartialEq for LeanWorkerProofCandidate
impl PartialEq for LeanWorkerProofCandidate
Source§fn eq(&self, other: &LeanWorkerProofCandidate) -> bool
fn eq(&self, other: &LeanWorkerProofCandidate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LeanWorkerProofCandidate
impl Serialize for LeanWorkerProofCandidate
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 LeanWorkerProofCandidate
Auto Trait Implementations§
impl Freeze for LeanWorkerProofCandidate
impl RefUnwindSafe for LeanWorkerProofCandidate
impl Send for LeanWorkerProofCandidate
impl Sync for LeanWorkerProofCandidate
impl Unpin for LeanWorkerProofCandidate
impl UnsafeUnpin for LeanWorkerProofCandidate
impl UnwindSafe for LeanWorkerProofCandidate
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