pub struct Bead {
pub id: BeadId,
pub title: String,
pub description: Option<String>,
pub status: BeadStatus,
pub priority: u8,
pub created_at: String,
pub updated_at: String,
pub closed_at: Option<String>,
pub closed_reason: Option<String>,
}Expand description
A single bead (task/issue)
Represents a task or issue in the beads system with the following properties:
id: Unique identifier for the beadtitle: Short description of the taskdescription: Optional detailed descriptionstatus: Current status (Open, InProgress, Closed)priority: Priority level (0 = critical, 4 = backlog)created_at: RFC3339 timestamp when the bead was createdupdated_at: RFC3339 timestamp when the bead was last updatedclosed_at: Optional RFC3339 timestamp when the bead was closedclosed_reason: Optional reason for closing the bead
Fields§
§id: BeadId§title: String§description: Option<String>§status: BeadStatus§priority: u80 = critical, 4 = backlog
created_at: String§updated_at: String§closed_at: Option<String>§closed_reason: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bead
impl<'de> Deserialize<'de> for Bead
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 Bead
impl RefUnwindSafe for Bead
impl Send for Bead
impl Sync for Bead
impl Unpin for Bead
impl UnsafeUnpin for Bead
impl UnwindSafe for Bead
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more