pub struct ConsensusResult<T> {
pub outputs: Vec<T>,
pub consensus: Option<T>,
pub metrics: DriftMetrics,
pub meets_threshold: bool,
}Fields§
§outputs: Vec<T>§consensus: Option<T>§metrics: DriftMetrics§meets_threshold: boolTrait Implementations§
Source§impl<T: Clone> Clone for ConsensusResult<T>
impl<T: Clone> Clone for ConsensusResult<T>
Source§fn clone(&self) -> ConsensusResult<T>
fn clone(&self) -> ConsensusResult<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for ConsensusResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for ConsensusResult<T>where
T: RefUnwindSafe,
impl<T> Send for ConsensusResult<T>where
T: Send,
impl<T> Sync for ConsensusResult<T>where
T: Sync,
impl<T> Unpin for ConsensusResult<T>where
T: Unpin,
impl<T> UnwindSafe for ConsensusResult<T>where
T: UnwindSafe,
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