pub struct PullRequestReviewThreadUnresolved {
pub action: PullRequestReviewThreadUnresolvedAction,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub pull_request: SimplePullRequest,
pub repository: Repository,
pub sender: User,
pub thread: PullRequestReviewThreadUnresolvedThread,
}
Expand description
PullRequestReviewThreadUnresolved
JSON schema
{
"title": "pull_request_review_thread unresolved event",
"type": "object",
"required": [
"action",
"pull_request",
"repository",
"sender",
"thread"
],
"properties": {
"action": {
"type": "string",
"enum": [
"unresolved"
]
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"organization": {
"$ref": "#/definitions/organization"
},
"pull_request": {
"$ref": "#/definitions/simple-pull-request"
},
"repository": {
"$ref": "#/definitions/repository"
},
"sender": {
"$ref": "#/definitions/user"
},
"thread": {
"type": "object",
"required": [
"comments",
"node_id"
],
"properties": {
"comments": {
"type": "array",
"items": {
"$ref": "#/definitions/pull-request-review-comment"
}
},
"node_id": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: PullRequestReviewThreadUnresolvedAction
§installation: Option<InstallationLite>
§organization: Option<Organization>
§pull_request: SimplePullRequest
§repository: Repository
§sender: User
§thread: PullRequestReviewThreadUnresolvedThread
Implementations§
Trait Implementations§
Source§impl Clone for PullRequestReviewThreadUnresolved
impl Clone for PullRequestReviewThreadUnresolved
Source§fn clone(&self) -> PullRequestReviewThreadUnresolved
fn clone(&self) -> PullRequestReviewThreadUnresolved
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 PullRequestReviewThreadUnresolved
impl<'de> Deserialize<'de> for PullRequestReviewThreadUnresolved
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<&PullRequestReviewThreadUnresolved> for PullRequestReviewThreadUnresolved
impl From<&PullRequestReviewThreadUnresolved> for PullRequestReviewThreadUnresolved
Source§fn from(value: &PullRequestReviewThreadUnresolved) -> Self
fn from(value: &PullRequestReviewThreadUnresolved) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestReviewThreadUnresolved> for PullRequestReviewThreadEvent
impl From<PullRequestReviewThreadUnresolved> for PullRequestReviewThreadEvent
Source§fn from(value: PullRequestReviewThreadUnresolved) -> Self
fn from(value: PullRequestReviewThreadUnresolved) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestReviewThreadUnresolved> for PullRequestReviewThreadUnresolved
impl From<PullRequestReviewThreadUnresolved> for PullRequestReviewThreadUnresolved
Source§fn from(value: PullRequestReviewThreadUnresolved) -> Self
fn from(value: PullRequestReviewThreadUnresolved) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PullRequestReviewThreadUnresolved
impl RefUnwindSafe for PullRequestReviewThreadUnresolved
impl Send for PullRequestReviewThreadUnresolved
impl Sync for PullRequestReviewThreadUnresolved
impl Unpin for PullRequestReviewThreadUnresolved
impl UnwindSafe for PullRequestReviewThreadUnresolved
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