pub struct PullCommit {
pub url: String,
pub sha: String,
pub html_url: String,
pub comments_url: String,
pub commit: CommitDetails,
pub author: User,
pub committer: User,
pub parents: Vec<CommitRef>,
}Expand description
Representation of a pull request commit
Fields§
§url: String§sha: String§html_url: String§comments_url: String§commit: CommitDetails§committer: User§parents: Vec<CommitRef>Trait Implementations§
Source§impl Debug for PullCommit
impl Debug for PullCommit
Source§impl<'de> Deserialize<'de> for PullCommit
impl<'de> Deserialize<'de> for PullCommit
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
Auto Trait Implementations§
impl Freeze for PullCommit
impl RefUnwindSafe for PullCommit
impl Send for PullCommit
impl Sync for PullCommit
impl Unpin for PullCommit
impl UnwindSafe for PullCommit
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