pub struct NewTicket {
pub title: String,
pub body: Option<String>,
pub priority: Option<String>,
pub list: Option<String>,
pub labels: Vec<String>,
pub assignees: Vec<String>,
}Expand description
Specification for a new ticket. Only title is required.
Fields§
§title: StringShort title.
body: Option<String>Optional long-form body.
priority: Option<String>Optional priority.
list: Option<String>Target list ID; defaults to the board’s first list.
labels: Vec<String>Labels to apply.
assignees: Vec<String>Assignees.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewTicket
impl RefUnwindSafe for NewTicket
impl Send for NewTicket
impl Sync for NewTicket
impl Unpin for NewTicket
impl UnsafeUnpin for NewTicket
impl UnwindSafe for NewTicket
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