pub struct Card {
pub id: String,
pub title: String,
pub created: DateTime<Utc>,
pub updated: DateTime<Utc>,
pub priority: Priority,
pub tags: Vec<String>,
pub assignees: Vec<String>,
pub blocked: Option<String>,
pub due: Option<NaiveDate>,
pub started: Option<DateTime<Utc>>,
pub completed: Option<DateTime<Utc>>,
pub body: String,
}Expand description
A single kanban card (not “task” or “item”).
Fields§
§id: String§title: String§created: DateTime<Utc>§updated: DateTime<Utc>§priority: Priority§assignees: Vec<String>§blocked: Option<String>§due: Option<NaiveDate>§started: Option<DateTime<Utc>>When the card first moved past backlog (commitment point). None for cards still in backlog.
completed: Option<DateTime<Utc>>When the card was moved to the “done” column. None if not yet completed.
body: StringThe markdown body (not serialized into frontmatter).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Card
impl<'de> Deserialize<'de> for Card
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Card
impl RefUnwindSafe for Card
impl Send for Card
impl Sync for Card
impl Unpin for Card
impl UnsafeUnpin for Card
impl UnwindSafe for Card
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