pub struct WorkItem {
pub id: String,
pub repository: Option<String>,
pub identifier: Option<String>,
pub title: String,
pub description: Option<String>,
pub state: String,
pub state_category: WorkItemStateCategory,
pub work_item_type: Option<String>,
pub assignee: Option<User>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub url: Option<String>,
}Fields§
§id: String§repository: Option<String>Where this item lives, connection-relative — a repository (acme/pay) for the
repo-addressed forges, or a bare project name for Azure DevOps, whose work items are
project-addressed rather than repo-addressed. None for Jira and Linear.
identifier: Option<String>§title: String§description: Option<String>§state: String§state_category: WorkItemStateCategory§work_item_type: Option<String>§assignee: Option<User>§created_at: Option<DateTime<Utc>>§updated_at: Option<DateTime<Utc>>§url: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WorkItem
impl<'de> Deserialize<'de> for WorkItem
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 WorkItem
impl RefUnwindSafe for WorkItem
impl Send for WorkItem
impl Sync for WorkItem
impl Unpin for WorkItem
impl UnsafeUnpin for WorkItem
impl UnwindSafe for WorkItem
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