Struct LedgerEvaluation
#[non_exhaustive]pub struct LedgerEvaluation {
pub stage: EvaluationStage,
pub replicates: usize,
}Expand description
One stored evaluation stage of a LedgerEntry.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.stage: EvaluationStageWhich stage.
replicates: usizeHow many replicates it stored.
Trait Implementations§
§impl Clone for LedgerEvaluation
impl Clone for LedgerEvaluation
§fn clone(&self) -> LedgerEvaluation
fn clone(&self) -> LedgerEvaluation
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 moreimpl Copy for LedgerEvaluation
§impl Debug for LedgerEvaluation
impl Debug for LedgerEvaluation
impl Eq for LedgerEvaluation
§impl PartialEq for LedgerEvaluation
impl PartialEq for LedgerEvaluation
impl StructuralPartialEq for LedgerEvaluation
Auto Trait Implementations§
impl Freeze for LedgerEvaluation
impl RefUnwindSafe for LedgerEvaluation
impl Send for LedgerEvaluation
impl Sync for LedgerEvaluation
impl Unpin for LedgerEvaluation
impl UnsafeUnpin for LedgerEvaluation
impl UnwindSafe for LedgerEvaluation
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