pub struct RevlogEntry {
pub id: i64,
pub cid: i64,
pub usn: i32,
pub button_chosen: u8,
pub interval: i32,
pub last_interval: i32,
pub ease_factor: u32,
pub taken_millis: u32,
pub review_kind: RevlogReviewKind,
}Fields§
§id: i64§cid: i64§usn: i32- In the V1 scheduler, 3 represents easy in the learning case.
- 0 represents manual rescheduling.
interval: i32Positive values are in days, negative values in seconds.
last_interval: i32Positive values are in days, negative values in seconds.
ease_factor: u32Card’s ease after answering, stored as 10x the %, eg 2500 represents 250%.
taken_millis: u32Amount of milliseconds taken to answer the card.
review_kind: RevlogReviewKindTrait Implementations§
Source§impl Clone for RevlogEntry
impl Clone for RevlogEntry
Source§fn clone(&self) -> RevlogEntry
fn clone(&self) -> RevlogEntry
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RevlogEntry
impl Debug for RevlogEntry
Source§impl Default for RevlogEntry
impl Default for RevlogEntry
Source§fn default() -> RevlogEntry
fn default() -> RevlogEntry
Returns the “default value” for a type. Read more
Source§impl PartialEq for RevlogEntry
impl PartialEq for RevlogEntry
impl Copy for RevlogEntry
impl StructuralPartialEq for RevlogEntry
Auto Trait Implementations§
impl Freeze for RevlogEntry
impl RefUnwindSafe for RevlogEntry
impl Send for RevlogEntry
impl Sync for RevlogEntry
impl Unpin for RevlogEntry
impl UnwindSafe for RevlogEntry
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,
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