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