pub enum PullRequestReviewThreadEvent {
Resolved(PullRequestReviewThreadResolved),
Unresolved(PullRequestReviewThreadUnresolved),
}
Expand description
PullRequestReviewThreadEvent
JSON schema
{
"oneOf": [
{
"$ref": "#/definitions/pull_request_review_thread$resolved"
},
{
"$ref": "#/definitions/pull_request_review_thread$unresolved"
}
]
}
Variants§
Resolved(PullRequestReviewThreadResolved)
Unresolved(PullRequestReviewThreadUnresolved)
Trait Implementations§
Source§impl Clone for PullRequestReviewThreadEvent
impl Clone for PullRequestReviewThreadEvent
Source§fn clone(&self) -> PullRequestReviewThreadEvent
fn clone(&self) -> PullRequestReviewThreadEvent
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 PullRequestReviewThreadEvent
impl Debug for PullRequestReviewThreadEvent
Source§impl<'de> Deserialize<'de> for PullRequestReviewThreadEvent
impl<'de> Deserialize<'de> for PullRequestReviewThreadEvent
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<&PullRequestReviewThreadEvent> for PullRequestReviewThreadEvent
impl From<&PullRequestReviewThreadEvent> for PullRequestReviewThreadEvent
Source§fn from(value: &PullRequestReviewThreadEvent) -> Self
fn from(value: &PullRequestReviewThreadEvent) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestReviewThreadResolved> for PullRequestReviewThreadEvent
impl From<PullRequestReviewThreadResolved> for PullRequestReviewThreadEvent
Source§fn from(value: PullRequestReviewThreadResolved) -> Self
fn from(value: PullRequestReviewThreadResolved) -> 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.
Auto Trait Implementations§
impl Freeze for PullRequestReviewThreadEvent
impl RefUnwindSafe for PullRequestReviewThreadEvent
impl Send for PullRequestReviewThreadEvent
impl Sync for PullRequestReviewThreadEvent
impl Unpin for PullRequestReviewThreadEvent
impl UnwindSafe for PullRequestReviewThreadEvent
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