pub struct Commit {
pub author: Option<Box<User>>,
pub commit: Option<Box<RepoCommit>>,
pub committer: Option<Box<User>>,
pub created: Option<String>,
pub files: Option<Vec<CommitAffectedFiles>>,
pub html_url: Option<String>,
pub parents: Option<Vec<CommitMeta>>,
pub sha: Option<String>,
pub stats: Option<Box<CommitStats>>,
pub url: Option<String>,
}
Fields§
§commit: Option<Box<RepoCommit>>
§committer: Option<Box<User>>
§created: Option<String>
§files: Option<Vec<CommitAffectedFiles>>
§html_url: Option<String>
§parents: Option<Vec<CommitMeta>>
§sha: Option<String>
§stats: Option<Box<CommitStats>>
§url: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Commit
impl<'de> Deserialize<'de> for Commit
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 StructuralPartialEq for Commit
Auto Trait Implementations§
impl Freeze for Commit
impl RefUnwindSafe for Commit
impl Send for Commit
impl Sync for Commit
impl Unpin for Commit
impl UnwindSafe for Commit
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