pub struct TrackableItemFields {
pub id: u32,
pub title: String,
pub time_estimate: Duration,
pub total_time_spent: Duration,
pub assignees: UserNodes,
pub milestone: Option<Milestone>,
pub labels: Labels,
}Expand description
Contains the fields that are common to all trackable items.
Fields§
§id: u32The issue or merge request ID.
title: StringThe title of the issue or merge request.
time_estimate: DurationThe estimated time set for this item.
total_time_spent: DurationThe total time spent on this item.
assignees: UserNodesThe users assigned to this item. On the GitLab Free version, only one user can be assigned.
milestone: Option<Milestone>The milestone assigned to this item.
labels: LabelsThe labels assigned to this item
Trait Implementations§
Source§impl Clone for TrackableItemFields
impl Clone for TrackableItemFields
Source§fn clone(&self) -> TrackableItemFields
fn clone(&self) -> TrackableItemFields
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrackableItemFields
impl Debug for TrackableItemFields
Source§impl Default for TrackableItemFields
impl Default for TrackableItemFields
Source§fn default() -> TrackableItemFields
fn default() -> TrackableItemFields
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrackableItemFields
impl<'de> Deserialize<'de> for TrackableItemFields
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
Source§impl Hash for TrackableItemFields
impl Hash for TrackableItemFields
Source§impl Ord for TrackableItemFields
impl Ord for TrackableItemFields
Source§fn cmp(&self, other: &TrackableItemFields) -> Ordering
fn cmp(&self, other: &TrackableItemFields) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TrackableItemFields
impl PartialEq for TrackableItemFields
Source§impl PartialOrd for TrackableItemFields
impl PartialOrd for TrackableItemFields
impl Eq for TrackableItemFields
impl StructuralPartialEq for TrackableItemFields
Auto Trait Implementations§
impl Freeze for TrackableItemFields
impl RefUnwindSafe for TrackableItemFields
impl Send for TrackableItemFields
impl Sync for TrackableItemFields
impl Unpin for TrackableItemFields
impl UnwindSafe for TrackableItemFields
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.