pub struct Milestone {Show 16 fields
pub closed_at: Option<String>,
pub closed_issues: i32,
pub created_at: String,
pub creator: Option<Box<User1>>,
pub description: Option<String>,
pub due_on: Option<String>,
pub html_url: String,
pub id: i32,
pub labels_url: String,
pub node_id: String,
pub number: i32,
pub open_issues: i32,
pub state: State,
pub title: String,
pub updated_at: String,
pub url: String,
}
Expand description
Milestone : A collection of related issues and pull requests.
Fields§
§closed_at: Option<String>
§closed_issues: i32
§created_at: String
§creator: Option<Box<User1>>
§description: Option<String>
§due_on: Option<String>
§html_url: String
§id: i32
§labels_url: String
§node_id: String
§number: i32
The number of the milestone.
open_issues: i32
§state: State
The state of the milestone.
title: String
The title of the milestone.
updated_at: String
§url: String
Implementations§
Source§impl Milestone
impl Milestone
Sourcepub fn new(
closed_at: Option<String>,
closed_issues: i32,
created_at: String,
creator: Option<User1>,
description: Option<String>,
due_on: Option<String>,
html_url: String,
id: i32,
labels_url: String,
node_id: String,
number: i32,
open_issues: i32,
state: State,
title: String,
updated_at: String,
url: String,
) -> Milestone
pub fn new( closed_at: Option<String>, closed_issues: i32, created_at: String, creator: Option<User1>, description: Option<String>, due_on: Option<String>, html_url: String, id: i32, labels_url: String, node_id: String, number: i32, open_issues: i32, state: State, title: String, updated_at: String, url: String, ) -> Milestone
A collection of related issues and pull requests.
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
impl StructuralPartialEq for Milestone
Auto Trait Implementations§
impl Freeze for Milestone
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