pub struct Milestone {
    pub index: usize,
    pub title: String,
    pub description: String,
    pub deadline: Option<String>,
    pub created: String,
    pub updated: String,
    pub closed: String,
    pub state: OpenCloseState,
}Expand description
Milestone associated to a repository within a forge
Fields§
§index: usizeUnique identifier
title: StringShort description
description: StringLong, multiline, description
deadline: Option<String>Deadline after which the milestone is overdue
created: StringCreating time
updated: StringLast update time
closed: StringThe last time ‘state’ changed to ‘closed’
state: OpenCloseStateA ‘closed’ milestone will not see any activity in the future, otherwise it is ‘open’.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Milestone
 
impl<'de> Deserialize<'de> for Milestone
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 PartialEq<Milestone> for Milestone
 
impl PartialEq<Milestone> for Milestone
impl Eq for Milestone
impl StructuralEq for Milestone
impl StructuralPartialEq for Milestone
Auto Trait Implementations§
impl RefUnwindSafe for Milestone
impl Send for Milestone
impl Sync for Milestone
impl Unpin for Milestone
impl UnwindSafe for Milestone
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