pub struct NewItem {
pub points: Option<u32>,
pub labels: Vec<String>,
pub sprint: Option<String>,
pub body: String,
pub parent: Option<ItemId>,
pub depends_on: Vec<ItemId>,
}Expand description
Optional fields for add_item. Unspecified fields use their domain defaults.
Fields§
§points: Option<u32>Story points.
labels: Vec<String>Labels assigned to the item.
sprint: Option<String>Sprint ID assigned to the item.
body: StringMarkdown body, including item-specific Acceptance Criteria.
parent: Option<ItemId>Parent PBI in the hierarchy.
depends_on: Vec<ItemId>PBIs that must be completed before this item.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewItem
impl RefUnwindSafe for NewItem
impl Send for NewItem
impl Sync for NewItem
impl Unpin for NewItem
impl UnsafeUnpin for NewItem
impl UnwindSafe for NewItem
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> 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