pub struct Milestone {
pub id: u64,
pub node_id: String,
pub number: u64,
pub title: String,
pub description: Option<String>,
pub state: String,
pub open_issues: u64,
pub closed_issues: u64,
pub due_on: Option<DateTime<Utc>>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub closed_at: Option<DateTime<Utc>>,
}Expand description
Milestone associated with an issue or pull request.
Fields§
§id: u64Unique milestone identifier
node_id: StringNode ID for GraphQL API
number: u64Milestone number (repository-specific)
title: StringMilestone title
description: Option<String>Milestone description
state: StringMilestone state
open_issues: u64Number of open issues
closed_issues: u64Number of closed issues
due_on: Option<DateTime<Utc>>Due date
created_at: DateTime<Utc>Creation timestamp
updated_at: DateTime<Utc>Last update timestamp
closed_at: Option<DateTime<Utc>>Close timestamp
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
Auto Trait Implementations§
impl Freeze for Milestone
impl RefUnwindSafe for Milestone
impl Send for Milestone
impl Sync for Milestone
impl Unpin for Milestone
impl UnsafeUnpin 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