pub struct BeadsRow {Show 14 fields
pub record_type: String,
pub id: String,
pub title: String,
pub description: Option<String>,
pub status: Option<String>,
pub priority: Option<u8>,
pub issue_type: Option<String>,
pub assignee: Option<String>,
pub owner: Option<String>,
pub labels: Vec<String>,
pub dependencies: Vec<BeadsDependency>,
pub close_reason: Option<String>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
}Expand description
One bd import row. Unknown keys present in a bd export line are ignored on
read (deny_unknown_fields is deliberately off, so beads may add fields), and
absent optional fields are omitted on write.
Fields§
§record_type: Stringbd export writes "_type": "issue"; bd import does not require it.
id: String§title: String§description: Option<String>§status: Option<String>§priority: Option<u8>§issue_type: Option<String>§assignee: Option<String>§owner: Option<String>bd export emits the assignee as owner; read either, write assignee.
labels: Vec<String>§dependencies: Vec<BeadsDependency>§close_reason: Option<String>§created_at: Option<String>§updated_at: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BeadsRow
impl<'de> Deserialize<'de> for BeadsRow
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
impl Eq for BeadsRow
impl StructuralPartialEq for BeadsRow
Auto Trait Implementations§
impl Freeze for BeadsRow
impl RefUnwindSafe for BeadsRow
impl Send for BeadsRow
impl Sync for BeadsRow
impl Unpin for BeadsRow
impl UnsafeUnpin for BeadsRow
impl UnwindSafe for BeadsRow
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.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