pub struct HostedMilestone {
pub id: u64,
pub title: String,
pub due_on: Option<String>,
pub state: String,
}Expand description
A milestone of a project (open ones are offered).
Fields§
§id: u64What an edit sends: the milestone number on GitHub, GitLab’s
project-wide milestone id.
title: String§due_on: Option<String>The due date as the host sent it (2026-11-01), when it has one.
state: Stringopen / closed / active, as the host spells it.
Trait Implementations§
Source§impl Clone for HostedMilestone
impl Clone for HostedMilestone
Source§impl Debug for HostedMilestone
impl Debug for HostedMilestone
Source§impl Default for HostedMilestone
impl Default for HostedMilestone
Source§impl<'de> Deserialize<'de> for HostedMilestone
impl<'de> Deserialize<'de> for HostedMilestone
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
impl Eq for HostedMilestone
Source§impl PartialEq for HostedMilestone
impl PartialEq for HostedMilestone
Source§impl Serialize for HostedMilestone
impl Serialize for HostedMilestone
impl StructuralPartialEq for HostedMilestone
Auto Trait Implementations§
impl Forget for HostedMilestone
impl Freeze for HostedMilestone
impl Move for HostedMilestone
impl RefUnwindSafe for HostedMilestone
impl Send for HostedMilestonewhere
RawVecInner: Send,
impl Sync for HostedMilestonewhere
RawVecInner: Sync,
impl Unpin for HostedMilestone
impl UnsafeUnpin for HostedMilestone
impl UnwindSafe for HostedMilestonewhere
RawVecInner: UnwindSafe,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§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.