pub struct ReviewSchedule {
pub interval_days: Option<i32>,
pub last_review_at: Option<DateTime<Utc>>,
pub next_review_at: Option<DateTime<Utc>>,
pub due: bool,
}Expand description
When the access review of a group is due.
Fields§
§interval_days: Option<i32>A review every this many days (None = no schedule).
last_review_at: Option<DateTime<Utc>>§next_review_at: Option<DateTime<Utc>>The next review is due at this time (None without a schedule; with
a schedule but no review yet it is due now).
due: boolNo review within the interval.
Trait Implementations§
Source§impl Clone for ReviewSchedule
impl Clone for ReviewSchedule
Source§impl Debug for ReviewSchedule
impl Debug for ReviewSchedule
Source§impl Default for ReviewSchedule
impl Default for ReviewSchedule
Source§impl<'a, R: Row> FromRow<'a, R> for ReviewSchedule
impl<'a, R: Row> FromRow<'a, R> for ReviewSchedule
Auto Trait Implementations§
impl Freeze for ReviewSchedule
impl RefUnwindSafe for ReviewSchedule
impl Send for ReviewSchedule
impl Sync for ReviewSchedule
impl Unpin for ReviewSchedule
impl UnsafeUnpin for ReviewSchedule
impl UnwindSafe for ReviewSchedule
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.