pub struct CommitDetail {
pub sha: Sha,
pub author: String,
pub date: String,
pub message: String,
pub parents: Vec<Sha>,
pub files: Vec<CommitFile>,
pub truncated: bool,
pub web_url: Option<String>,
}Fields§
§sha: Sha§date: String§message: String§parents: Vec<Sha>§files: Vec<CommitFile>§truncated: boolThe provider stopped at its file budget. This is not a complete list.
web_url: Option<String>Provider-built permalink to this commit, not its repository homepage.
Implementations§
Source§impl CommitDetail
impl CommitDetail
Sourcepub fn line_stats(&self) -> CommitStatistics
pub fn line_stats(&self) -> CommitStatistics
Sum known counts without overflow; retain unknownness per side.
Trait Implementations§
Source§impl Clone for CommitDetail
impl Clone for CommitDetail
Source§fn clone(&self) -> CommitDetail
fn clone(&self) -> CommitDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommitDetail
impl Debug for CommitDetail
Source§impl<'de> Deserialize<'de> for CommitDetail
impl<'de> Deserialize<'de> for CommitDetail
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 CommitDetail
Source§impl PartialEq for CommitDetail
impl PartialEq for CommitDetail
impl StructuralPartialEq for CommitDetail
Auto Trait Implementations§
impl Freeze for CommitDetail
impl RefUnwindSafe for CommitDetail
impl Send for CommitDetail
impl Sync for CommitDetail
impl Unpin for CommitDetail
impl UnsafeUnpin for CommitDetail
impl UnwindSafe for CommitDetail
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