pub struct ItemEdit {
pub title: Option<String>,
pub points: Option<u32>,
pub labels: Option<Vec<String>>,
pub assignee: Option<String>,
pub sprint: Option<String>,
pub body: Option<String>,
pub parent: Option<Option<ItemId>>,
}Expand description
Fields to update with edit_item. A None field remains unchanged.
labels replaces the entire existing set of labels if you pass Some.
Fields§
§title: Option<String>New title; a blank value returns Error::EmptyTitle.
points: Option<u32>Story points.
labels: Option<Vec<String>>Replacement label set when Some.
assignee: Option<String>Assignee.
sprint: Option<String>Sprint ID assignment.
body: Option<String>Markdown body, including Acceptance Criteria.
parent: Option<Option<ItemId>>Parent change: None leaves it unchanged, Some(None) clears it, and Some(Some(id))
assigns the parent.
Parent-child links remain acyclic; a cycle returns Error::ParentCycle.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ItemEdit
impl RefUnwindSafe for ItemEdit
impl Send for ItemEdit
impl Sync for ItemEdit
impl Unpin for ItemEdit
impl UnsafeUnpin for ItemEdit
impl UnwindSafe for ItemEdit
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