pub struct PrCommit {
pub sha: String,
pub commit: PrCommitInner,
pub author: Option<PrUser>,
}Expand description
A commit on a PR (from the pulls/{number}/commits endpoint).
Fields§
§sha: String§commit: PrCommitInnerTrait Implementations§
Source§impl<'de> Deserialize<'de> for PrCommit
impl<'de> Deserialize<'de> for PrCommit
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 PrCommit
impl RefUnwindSafe for PrCommit
impl Send for PrCommit
impl Sync for PrCommit
impl Unpin for PrCommit
impl UnsafeUnpin for PrCommit
impl UnwindSafe for PrCommit
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