pub struct Milestone1 {Show 16 fields
pub closed_at: Option<String>,
pub closed_issues: i32,
pub created_at: String,
pub creator: Option<Box<User>>,
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
Milestone1 : A collection of related issues and pull requests.
Fields§
§closed_at: Option<String>
§closed_issues: i32
§created_at: String
§creator: Option<Box<User>>
§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 Milestone1
impl Milestone1
Sourcepub fn new(
closed_at: Option<String>,
closed_issues: i32,
created_at: String,
creator: Option<User>,
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,
) -> Milestone1
pub fn new( closed_at: Option<String>, closed_issues: i32, created_at: String, creator: Option<User>, 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, ) -> Milestone1
A collection of related issues and pull requests.
Trait Implementations§
Source§impl Clone for Milestone1
impl Clone for Milestone1
Source§fn clone(&self) -> Milestone1
fn clone(&self) -> Milestone1
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 Milestone1
impl Debug for Milestone1
Source§impl Default for Milestone1
impl Default for Milestone1
Source§fn default() -> Milestone1
fn default() -> Milestone1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Milestone1
impl<'de> Deserialize<'de> for Milestone1
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 for Milestone1
impl PartialEq for Milestone1
Source§impl Serialize for Milestone1
impl Serialize for Milestone1
impl StructuralPartialEq for Milestone1
Auto Trait Implementations§
impl Freeze for Milestone1
impl RefUnwindSafe for Milestone1
impl Send for Milestone1
impl Sync for Milestone1
impl Unpin for Milestone1
impl UnwindSafe for Milestone1
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