pub struct PaperState {
pub paper_id: String,
pub reader: String,
pub starred: bool,
pub to_read: bool,
pub read_at: Option<String>,
}Fields§
§paper_id: String§reader: String§starred: bool§to_read: bool§read_at: Option<String>ISO-8601 timestamp when the paper was marked read, or None if unread.
Trait Implementations§
Source§impl Clone for PaperState
impl Clone for PaperState
Source§fn clone(&self) -> PaperState
fn clone(&self) -> PaperState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PaperState
impl Debug for PaperState
impl Eq for PaperState
Source§impl PartialEq for PaperState
impl PartialEq for PaperState
Source§fn eq(&self, other: &PaperState) -> bool
fn eq(&self, other: &PaperState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaperState
Auto Trait Implementations§
impl Freeze for PaperState
impl RefUnwindSafe for PaperState
impl Send for PaperState
impl Sync for PaperState
impl Unpin for PaperState
impl UnsafeUnpin for PaperState
impl UnwindSafe for PaperState
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.