pub struct Task {Show 13 fields
pub id: String,
pub kind: TaskKind,
pub status: TaskStatus,
pub title: String,
pub notes: String,
pub scope: MemoryScope,
pub due: Option<Timestamp>,
pub remind_at: Option<Timestamp>,
pub repeat: Option<Repeat>,
pub deliver_to: Option<ChannelId>,
pub origin: Option<ConversationKey>,
pub author: String,
pub created: Timestamp,
}Expand description
A stored task.
Fields§
§id: StringId in the knowledge bundle (tasks/people/owner/t-7k2m9q).
kind: TaskKindWhat it does.
status: TaskStatusWhere it is in its life.
title: StringShort title.
notes: StringFree notes; the prompt of a routine.
scope: MemoryScopePersonal (User) or for the room (Room).
due: Option<Timestamp>When it should be done.
remind_at: Option<Timestamp>The next firing.
repeat: Option<Repeat>How it repeats.
deliver_to: Option<ChannelId>Where it fires: None for the conversation it was created in, or a channel (the owner’s
direct chat there).
origin: Option<ConversationKey>The conversation it was created in.
platform:instance/user of the author.
created: TimestampWhen it was created.
Trait Implementations§
impl Eq for Task
impl StructuralPartialEq for Task
Auto Trait Implementations§
impl Freeze for Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnsafeUnpin for Task
impl UnwindSafe for Task
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