pub struct ExportedCard {
pub card_id: i64,
pub note_id: i64,
pub deck_name: String,
pub reps: i64,
pub lapses: i64,
pub interval: i64,
pub due: i64,
pub ease_factor: i64,
pub card_type: i32,
pub queue: i32,
pub mod_time: i64,
}Expand description
Exported card with scheduling information.
Fields§
§card_id: i64The card ID.
note_id: i64The note ID this card belongs to.
deck_name: StringThe deck name.
reps: i64Number of reviews.
lapses: i64Number of lapses.
interval: i64Current interval in days.
due: i64Due date (days since collection creation, or negative for learning).
ease_factor: i64Ease factor (as integer, e.g., 2500 = 250%).
card_type: i32Card type (0 = new, 1 = learning, 2 = review, 3 = relearning).
queue: i32Queue (-1 = suspended, -2 = sibling buried, -3 = manually buried, 0 = new, 1 = learning, 2 = review, 3 = day learn, 4 = preview).
mod_time: i64Last modification timestamp (seconds since epoch).
Trait Implementations§
Source§impl Clone for ExportedCard
impl Clone for ExportedCard
Source§fn clone(&self) -> ExportedCard
fn clone(&self) -> ExportedCard
Returns a duplicate 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 ExportedCard
impl Debug for ExportedCard
Auto Trait Implementations§
impl Freeze for ExportedCard
impl RefUnwindSafe for ExportedCard
impl Send for ExportedCard
impl Sync for ExportedCard
impl Unpin for ExportedCard
impl UnwindSafe for ExportedCard
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