pub struct PrCommit {
pub sha: CommitSha,
pub subject: String,
pub author_date: OffsetDateTime,
pub kind: PrCommitKind,
}Expand description
One commit on the PR-branch side of a 2-parent merge.
Fields§
§sha: CommitSha§subject: String§kind: PrCommitKindTrait 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
impl Eq for PrCommit
impl StructuralPartialEq for PrCommit
Auto Trait Implementations§
impl Forget for PrCommit
impl Freeze for PrCommit
impl Move 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