pub struct PullRequestSourceReferenceUpdatedEventMetadata {
pub after_commit_id: Option<String>,
pub before_commit_id: Option<String>,
pub merge_base: Option<String>,
pub repository_name: Option<String>,
}Expand description
Information about an update to the source branch of a pull request.
Fields§
§after_commit_id: Option<String>The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.
before_commit_id: Option<String>The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.
merge_base: Option<String>The commit ID of the most recent commit that the source branch and the destination branch have in common.
repository_name: Option<String>The name of the repository where the pull request was updated.
Trait Implementations§
Source§impl Clone for PullRequestSourceReferenceUpdatedEventMetadata
impl Clone for PullRequestSourceReferenceUpdatedEventMetadata
Source§fn clone(&self) -> PullRequestSourceReferenceUpdatedEventMetadata
fn clone(&self) -> PullRequestSourceReferenceUpdatedEventMetadata
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 Default for PullRequestSourceReferenceUpdatedEventMetadata
impl Default for PullRequestSourceReferenceUpdatedEventMetadata
Source§fn default() -> PullRequestSourceReferenceUpdatedEventMetadata
fn default() -> PullRequestSourceReferenceUpdatedEventMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PullRequestSourceReferenceUpdatedEventMetadata
impl<'de> Deserialize<'de> for PullRequestSourceReferenceUpdatedEventMetadata
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 PartialEq for PullRequestSourceReferenceUpdatedEventMetadata
impl PartialEq for PullRequestSourceReferenceUpdatedEventMetadata
Source§fn eq(&self, other: &PullRequestSourceReferenceUpdatedEventMetadata) -> bool
fn eq(&self, other: &PullRequestSourceReferenceUpdatedEventMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PullRequestSourceReferenceUpdatedEventMetadata
Auto Trait Implementations§
impl Freeze for PullRequestSourceReferenceUpdatedEventMetadata
impl RefUnwindSafe for PullRequestSourceReferenceUpdatedEventMetadata
impl Send for PullRequestSourceReferenceUpdatedEventMetadata
impl Sync for PullRequestSourceReferenceUpdatedEventMetadata
impl Unpin for PullRequestSourceReferenceUpdatedEventMetadata
impl UnwindSafe for PullRequestSourceReferenceUpdatedEventMetadata
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