pub struct WorkflowRunPullRequestsItem {
pub base: WorkflowRunPullRequestsItemBase,
pub head: WorkflowRunPullRequestsItemHead,
pub id: f64,
pub number: f64,
pub url: String,
}
Expand description
WorkflowRunPullRequestsItem
JSON schema
{
"type": "object",
"required": [
"base",
"head",
"id",
"number",
"url"
],
"properties": {
"base": {
"type": "object",
"required": [
"ref",
"repo",
"sha"
],
"properties": {
"ref": {
"type": "string"
},
"repo": {
"$ref": "#/definitions/repo-ref"
},
"sha": {
"type": "string"
}
},
"additionalProperties": false
},
"head": {
"type": "object",
"required": [
"ref",
"repo",
"sha"
],
"properties": {
"ref": {
"type": "string"
},
"repo": {
"$ref": "#/definitions/repo-ref"
},
"sha": {
"type": "string"
}
},
"additionalProperties": false
},
"id": {
"type": "number"
},
"number": {
"type": "number"
},
"url": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
}
Fields§
§base: WorkflowRunPullRequestsItemBase
§head: WorkflowRunPullRequestsItemHead
§id: f64
§number: f64
§url: String
Implementations§
Trait Implementations§
Source§impl Clone for WorkflowRunPullRequestsItem
impl Clone for WorkflowRunPullRequestsItem
Source§fn clone(&self) -> WorkflowRunPullRequestsItem
fn clone(&self) -> WorkflowRunPullRequestsItem
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 WorkflowRunPullRequestsItem
impl Debug for WorkflowRunPullRequestsItem
Source§impl<'de> Deserialize<'de> for WorkflowRunPullRequestsItem
impl<'de> Deserialize<'de> for WorkflowRunPullRequestsItem
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<&WorkflowRunPullRequestsItem> for WorkflowRunPullRequestsItem
impl From<&WorkflowRunPullRequestsItem> for WorkflowRunPullRequestsItem
Source§fn from(value: &WorkflowRunPullRequestsItem) -> Self
fn from(value: &WorkflowRunPullRequestsItem) -> Self
Converts to this type from the input type.
Source§impl From<WorkflowRunPullRequestsItem> for WorkflowRunPullRequestsItem
impl From<WorkflowRunPullRequestsItem> for WorkflowRunPullRequestsItem
Source§fn from(value: WorkflowRunPullRequestsItem) -> Self
fn from(value: WorkflowRunPullRequestsItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WorkflowRunPullRequestsItem
impl RefUnwindSafe for WorkflowRunPullRequestsItem
impl Send for WorkflowRunPullRequestsItem
impl Sync for WorkflowRunPullRequestsItem
impl Unpin for WorkflowRunPullRequestsItem
impl UnwindSafe for WorkflowRunPullRequestsItem
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