pub struct PullRequestDemilestonedPullRequestMilestone {Show 16 fields
pub closed_at: Option<DateTime<Utc>>,
pub closed_issues: i64,
pub created_at: DateTime<Utc>,
pub creator: User,
pub description: Option<String>,
pub due_on: Option<DateTime<Utc>>,
pub html_url: String,
pub id: i64,
pub labels_url: String,
pub node_id: String,
pub number: i64,
pub open_issues: i64,
pub state: PullRequestDemilestonedPullRequestMilestoneState,
pub title: String,
pub updated_at: DateTime<Utc>,
pub url: String,
}
Expand description
PullRequestDemilestonedPullRequestMilestone
JSON schema
{
"type": "object",
"required": [
"closed_at",
"closed_issues",
"created_at",
"creator",
"description",
"due_on",
"html_url",
"id",
"labels_url",
"node_id",
"number",
"open_issues",
"state",
"title",
"updated_at",
"url"
],
"properties": {
"closed_at": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"closed_issues": {
"type": "integer"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"creator": {
"$ref": "#/definitions/user"
},
"description": {
"type": [
"null",
"string"
]
},
"due_on": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"html_url": {
"type": "string",
"format": "uri"
},
"id": {
"type": "integer"
},
"labels_url": {
"type": "string",
"format": "uri"
},
"node_id": {
"type": "string"
},
"number": {
"type": "integer"
},
"open_issues": {
"type": "integer"
},
"state": {
"type": "string",
"enum": [
"open",
"closed"
]
},
"title": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"url": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
}
Fields§
§closed_at: Option<DateTime<Utc>>
§closed_issues: i64
§created_at: DateTime<Utc>
§creator: User
§description: Option<String>
§due_on: Option<DateTime<Utc>>
§html_url: String
§id: i64
§labels_url: String
§node_id: String
§number: i64
§open_issues: i64
§state: PullRequestDemilestonedPullRequestMilestoneState
§title: String
§updated_at: DateTime<Utc>
§url: String
Implementations§
Trait Implementations§
Source§impl Clone for PullRequestDemilestonedPullRequestMilestone
impl Clone for PullRequestDemilestonedPullRequestMilestone
Source§fn clone(&self) -> PullRequestDemilestonedPullRequestMilestone
fn clone(&self) -> PullRequestDemilestonedPullRequestMilestone
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<'de> Deserialize<'de> for PullRequestDemilestonedPullRequestMilestone
impl<'de> Deserialize<'de> for PullRequestDemilestonedPullRequestMilestone
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 From<&PullRequestDemilestonedPullRequestMilestone> for PullRequestDemilestonedPullRequestMilestone
impl From<&PullRequestDemilestonedPullRequestMilestone> for PullRequestDemilestonedPullRequestMilestone
Source§fn from(value: &PullRequestDemilestonedPullRequestMilestone) -> Self
fn from(value: &PullRequestDemilestonedPullRequestMilestone) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestDemilestonedPullRequestMilestone> for PullRequestDemilestonedPullRequestMilestone
impl From<PullRequestDemilestonedPullRequestMilestone> for PullRequestDemilestonedPullRequestMilestone
Source§fn from(value: PullRequestDemilestonedPullRequestMilestone) -> Self
fn from(value: PullRequestDemilestonedPullRequestMilestone) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PullRequestDemilestonedPullRequestMilestone
impl RefUnwindSafe for PullRequestDemilestonedPullRequestMilestone
impl Send for PullRequestDemilestonedPullRequestMilestone
impl Sync for PullRequestDemilestonedPullRequestMilestone
impl Unpin for PullRequestDemilestonedPullRequestMilestone
impl UnwindSafe for PullRequestDemilestonedPullRequestMilestone
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