pub struct PrCommit {
pub sha: String,
pub html_url: Option<String>,
pub commit: Option<GitCommitInfo>,
pub author: Option<UserBasic>,
pub committer: Option<UserBasic>,
}Expand description
Commit in a pull request (PullRequestCommits in Gitee v5 swagger). The
swagger may describe commit as a string; live responses use a nested object.
Fields§
§sha: String§html_url: Option<String>§commit: Option<GitCommitInfo>§committer: Option<UserBasic>Implementations§
Trait 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