Struct octocrab::models::Milestone [−][src]
#[non_exhaustive]pub struct Milestone {}Show fields
pub url: Url, pub html_url: Url, pub labels_url: Option<Url>, pub id: MilestoneId, pub node_id: String, pub number: i64, pub state: Option<String>, pub title: String, pub description: Option<String>, pub creator: Option<User>, pub open_issues: Option<i64>, pub closed_issues: Option<i64>, pub created_at: DateTime<Utc>, pub updated_at: Option<DateTime<Utc>>, pub closed_at: Option<DateTime<Utc>>, pub due_on: Option<DateTime<Utc>>,
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.url: Url
html_url: Url
labels_url: Option<Url>
id: MilestoneId
node_id: String
number: i64
state: Option<String>
title: String
description: Option<String>
creator: Option<User>
open_issues: Option<i64>
closed_issues: Option<i64>
created_at: DateTime<Utc>
updated_at: Option<DateTime<Utc>>
closed_at: Option<DateTime<Utc>>
due_on: Option<DateTime<Utc>>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Milestone
impl UnwindSafe for Milestone
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more