pub struct Commit {
pub added: Option<Vec<String>>,
pub author: Box<Committer>,
pub committer: Box<Committer>,
pub distinct: bool,
pub id: String,
pub message: String,
pub modified: Option<Vec<String>>,
pub removed: Option<Vec<String>>,
pub timestamp: String,
pub tree_id: String,
pub url: String,
}Fields§
§added: Option<Vec<String>>An array of files added in the commit. A maximum of 3000 changed files will be reported per commit.
committer: Box<Committer>§distinct: boolWhether this commit is distinct from any that have been pushed before.
id: String§message: StringThe commit message.
modified: Option<Vec<String>>An array of files modified by the commit. A maximum of 3000 changed files will be reported per commit.
removed: Option<Vec<String>>An array of files removed in the commit. A maximum of 3000 changed files will be reported per commit.
timestamp: StringThe ISO 8601 timestamp of the commit.
tree_id: String§url: StringURL that points to the commit API resource.
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