pub struct Signal {
pub user_id: Uuid,
pub display_name: String,
pub department: Option<String>,
pub kind: SignalKind,
pub weeks: Option<i64>,
pub from_seconds: Option<i64>,
pub to_seconds: Option<i64>,
pub median_seconds: Option<i64>,
pub days_quiet: Option<i64>,
}Expand description
One thing worth looking at, about one person.
The figures travel with the signal so the screen states what happened rather than what it means: the server saw hours fall from 8.5 to 5.0, and what that is about is between the manager and the person.
Fields§
§user_id: Uuid§display_name: String§department: Option<String>§kind: SignalKind§weeks: Option<i64>Weeks on each side of the comparison, for declining.
from_seconds: Option<i64>The earlier level, in seconds of a typical week - the median of the
weeks before the recent ones. declining only.
to_seconds: Option<i64>The recent level, on the same terms. declining and unusual_week.
median_seconds: Option<i64>This person’s own median week, in seconds. unusual_week only - it is
the thing being compared against, and a screen that showed the deviation
without it would be quoting a percentage of nothing.
days_quiet: Option<i64>Days since the last recorded day. no_data only.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Signal
impl RefUnwindSafe for Signal
impl Send for Signal
impl Sync for Signal
impl Unpin for Signal
impl UnsafeUnpin for Signal
impl UnwindSafe for Signal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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