Struct hubcaps::pull_commits::PullCommit
source · 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
sourceimpl Debug for PullCommit
impl Debug for PullCommit
sourceimpl<'de> Deserialize<'de> for PullCommit
impl<'de> Deserialize<'de> for PullCommit
sourcefn 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 RefUnwindSafe for PullCommit
impl Send for PullCommit
impl Sync for PullCommit
impl Unpin for PullCommit
impl UnwindSafe for PullCommit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more