Struct github_rest::model::pull_requests::events::PullRequestEvent
source · pub struct PullRequestEvent {
pub action: PullRequestAction,
pub number: i64,
pub pull_request: PullRequest,
pub changes: Option<IssueChanges>,
pub event_info: RepoEventInfo,
}
Expand description
Fields§
§action: PullRequestAction
§number: i64
§pull_request: PullRequest
§changes: Option<IssueChanges>
§event_info: RepoEventInfo
Trait Implementations§
source§impl AsRef<RepoEventInfo> for PullRequestEvent
impl AsRef<RepoEventInfo> for PullRequestEvent
source§fn as_ref(&self) -> &RepoEventInfo
fn as_ref(&self) -> &RepoEventInfo
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for PullRequestEvent
impl Clone for PullRequestEvent
source§fn clone(&self) -> PullRequestEvent
fn clone(&self) -> PullRequestEvent
Returns a copy 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 PullRequestEvent
impl Debug for PullRequestEvent
source§impl Deref for PullRequestEvent
impl Deref for PullRequestEvent
source§impl<'de> Deserialize<'de> for PullRequestEvent
impl<'de> Deserialize<'de> for PullRequestEvent
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 Event<'_> for PullRequestEvent
impl Event<'_> for PullRequestEvent
source§impl PartialEq<PullRequestEvent> for PullRequestEvent
impl PartialEq<PullRequestEvent> for PullRequestEvent
source§fn eq(&self, other: &PullRequestEvent) -> bool
fn eq(&self, other: &PullRequestEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PullRequestEvent
impl Serialize for PullRequestEvent
impl StructuralPartialEq for PullRequestEvent
Auto Trait Implementations§
impl RefUnwindSafe for PullRequestEvent
impl Send for PullRequestEvent
impl Sync for PullRequestEvent
impl Unpin for PullRequestEvent
impl UnwindSafe for PullRequestEvent
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