pub struct WebhooksMilestone {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
WebhooksMilestone : 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 WebhooksMilestone
impl WebhooksMilestone
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,
) -> WebhooksMilestone
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, ) -> WebhooksMilestone
A collection of related issues and pull requests.
Trait Implementations§
Source§impl Clone for WebhooksMilestone
impl Clone for WebhooksMilestone
Source§fn clone(&self) -> WebhooksMilestone
fn clone(&self) -> WebhooksMilestone
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 WebhooksMilestone
impl Debug for WebhooksMilestone
Source§impl Default for WebhooksMilestone
impl Default for WebhooksMilestone
Source§fn default() -> WebhooksMilestone
fn default() -> WebhooksMilestone
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhooksMilestone
impl<'de> Deserialize<'de> for WebhooksMilestone
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 WebhooksMilestone
impl PartialEq for WebhooksMilestone
Source§impl Serialize for WebhooksMilestone
impl Serialize for WebhooksMilestone
impl StructuralPartialEq for WebhooksMilestone
Auto Trait Implementations§
impl Freeze for WebhooksMilestone
impl RefUnwindSafe for WebhooksMilestone
impl Send for WebhooksMilestone
impl Sync for WebhooksMilestone
impl Unpin for WebhooksMilestone
impl UnwindSafe for WebhooksMilestone
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