pub struct ManagerGap {
pub project_id: Uuid,
pub code: String,
pub name: String,
pub active_managers: i64,
pub last_active_at: Option<DateTime<Utc>>,
}Expand description
An active project group without a present manager.
Fields§
§project_id: Uuid§code: String§name: String§active_managers: i64Active managers of the group (0: none left).
last_active_at: Option<DateTime<Utc>>Latest activity of an active manager: sign-in, use of an API or desktop token, or the creation of the account.
Implementations§
Source§impl ManagerGap
impl ManagerGap
Sourcepub fn kind(&self) -> &'static str
pub fn kind(&self) -> &'static str
"none" (no active manager) or "stale" (managers inactive for
STALE_DAYS).
Trait Implementations§
Source§impl Clone for ManagerGap
impl Clone for ManagerGap
Source§impl Debug for ManagerGap
impl Debug for ManagerGap
Source§impl<'a, R: Row> FromRow<'a, R> for ManagerGap
impl<'a, R: Row> FromRow<'a, R> for ManagerGap
Auto Trait Implementations§
impl Freeze for ManagerGap
impl RefUnwindSafe for ManagerGap
impl Send for ManagerGap
impl Sync for ManagerGap
impl Unpin for ManagerGap
impl UnsafeUnpin for ManagerGap
impl UnwindSafe for ManagerGap
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,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 moreimpl<T> Parallelizable for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.