pub struct NullableMilestone {Show 16 fields
pub url: String,
pub html_url: String,
pub labels_url: String,
pub id: i32,
pub node_id: String,
pub number: i32,
pub state: State,
pub title: String,
pub description: Option<String>,
pub creator: Option<Box<NullableSimpleUser>>,
pub open_issues: i32,
pub closed_issues: i32,
pub created_at: String,
pub updated_at: String,
pub closed_at: Option<String>,
pub due_on: Option<String>,
}
Expand description
NullableMilestone : A collection of related issues and pull requests.
Fields§
§url: String
§html_url: String
§labels_url: String
§id: i32
§node_id: String
§number: i32
The number of the milestone.
state: State
The state of the milestone.
title: String
The title of the milestone.
description: Option<String>
§creator: Option<Box<NullableSimpleUser>>
§open_issues: i32
§closed_issues: i32
§created_at: String
§updated_at: String
§closed_at: Option<String>
§due_on: Option<String>
Implementations§
Source§impl NullableMilestone
impl NullableMilestone
Sourcepub fn new(
url: String,
html_url: String,
labels_url: String,
id: i32,
node_id: String,
number: i32,
state: State,
title: String,
description: Option<String>,
creator: Option<NullableSimpleUser>,
open_issues: i32,
closed_issues: i32,
created_at: String,
updated_at: String,
closed_at: Option<String>,
due_on: Option<String>,
) -> NullableMilestone
pub fn new( url: String, html_url: String, labels_url: String, id: i32, node_id: String, number: i32, state: State, title: String, description: Option<String>, creator: Option<NullableSimpleUser>, open_issues: i32, closed_issues: i32, created_at: String, updated_at: String, closed_at: Option<String>, due_on: Option<String>, ) -> NullableMilestone
A collection of related issues and pull requests.
Trait Implementations§
Source§impl Clone for NullableMilestone
impl Clone for NullableMilestone
Source§fn clone(&self) -> NullableMilestone
fn clone(&self) -> NullableMilestone
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 NullableMilestone
impl Debug for NullableMilestone
Source§impl Default for NullableMilestone
impl Default for NullableMilestone
Source§fn default() -> NullableMilestone
fn default() -> NullableMilestone
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NullableMilestone
impl<'de> Deserialize<'de> for NullableMilestone
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 NullableMilestone
impl PartialEq for NullableMilestone
Source§impl Serialize for NullableMilestone
impl Serialize for NullableMilestone
impl StructuralPartialEq for NullableMilestone
Auto Trait Implementations§
impl Freeze for NullableMilestone
impl RefUnwindSafe for NullableMilestone
impl Send for NullableMilestone
impl Sync for NullableMilestone
impl Unpin for NullableMilestone
impl UnwindSafe for NullableMilestone
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