pub struct DeadlineAccount {
pub held: Duration,
pub missed_present: u32,
pub missed_not_present: u32,
pub ended: bool,
}Expand description
The tracker’s account of one member over the window (§2.7).
Fields§
§held: DurationHow long the member was held in the window: its longest unbroken
stretch, never the sum of its stretches (§2.7, text 0.5;
Holding).
missed_present: u32Misses reported while the owner was present.
missed_not_present: u32Misses reported while it was unconfirmed, absent or unseen.
ended: boolWhether the member ended in the window.
Implementations§
Trait Implementations§
Source§impl Clone for DeadlineAccount
impl Clone for DeadlineAccount
impl Copy for DeadlineAccount
Source§impl Debug for DeadlineAccount
impl Debug for DeadlineAccount
Source§impl Default for DeadlineAccount
impl Default for DeadlineAccount
impl Eq for DeadlineAccount
Source§impl PartialEq for DeadlineAccount
impl PartialEq for DeadlineAccount
impl StructuralPartialEq for DeadlineAccount
Auto Trait Implementations§
impl Forget for DeadlineAccount
impl Freeze for DeadlineAccount
impl Move for DeadlineAccount
impl RefUnwindSafe for DeadlineAccount
impl Send for DeadlineAccount
impl Sync for DeadlineAccount
impl Unpin for DeadlineAccount
impl UnsafeUnpin for DeadlineAccount
impl UnwindSafe for DeadlineAccount
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more