pub struct TrustedFreshCompetitorBenchmark { /* private fields */ }Implementations§
Source§impl TrustedFreshCompetitorBenchmark
impl TrustedFreshCompetitorBenchmark
pub fn try_new( benchmark: CompetitorPriceBenchmark, now: Timestamp, max_age: Duration, trust: TrustLevel, ) -> DomainResult<Self>
Trait Implementations§
Source§impl Clone for TrustedFreshCompetitorBenchmark
impl Clone for TrustedFreshCompetitorBenchmark
Source§fn clone(&self) -> TrustedFreshCompetitorBenchmark
fn clone(&self) -> TrustedFreshCompetitorBenchmark
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 PartialEq for TrustedFreshCompetitorBenchmark
impl PartialEq for TrustedFreshCompetitorBenchmark
Source§fn eq(&self, other: &TrustedFreshCompetitorBenchmark) -> bool
fn eq(&self, other: &TrustedFreshCompetitorBenchmark) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TrustedFreshCompetitorBenchmark
impl StructuralPartialEq for TrustedFreshCompetitorBenchmark
Auto Trait Implementations§
impl Freeze for TrustedFreshCompetitorBenchmark
impl RefUnwindSafe for TrustedFreshCompetitorBenchmark
impl Send for TrustedFreshCompetitorBenchmark
impl Sync for TrustedFreshCompetitorBenchmark
impl Unpin for TrustedFreshCompetitorBenchmark
impl UnsafeUnpin for TrustedFreshCompetitorBenchmark
impl UnwindSafe for TrustedFreshCompetitorBenchmark
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