#[non_exhaustive]pub struct Stale {
pub id: Ulid,
pub what: String,
pub since: i64,
pub text: String,
pub whose: Option<String>,
pub visibility: String,
}Expand description
13a (13.6): one stale record (Mnemo::stale).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: UlidThe record’s id.
what: StringWhat it is: essence state, essence next, essence open, task active, task blocked, message unread, or fact (past its
review_by).
since: i64When it went stale, in unix seconds.
text: StringIts first line (a task’s title, a message’s subject).
whose: Option<String>Whose it is: a task’s owner, a message’s recipient, else its author.
visibility: StringIts visibility level (public, team or private).
Trait Implementations§
impl Eq for Stale
impl StructuralPartialEq for Stale
Auto Trait Implementations§
impl Forget for Stale
impl Freeze for Stale
impl Move for Stale
impl RefUnwindSafe for Stale
impl Send for Stale
impl Sync for Stale
impl Unpin for Stale
impl UnsafeUnpin for Stale
impl UnwindSafe for Stale
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