pub struct Commit1 {
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.
committer: Box<Committer>
§distinct: bool
Whether this commit is distinct from any that have been pushed before.
id: String
§message: String
The commit message.
modified: Option<Vec<String>>
An array of files modified by the commit.
removed: Option<Vec<String>>
An array of files removed in the commit.
timestamp: String
The ISO 8601 timestamp of the commit.
tree_id: String
§url: String
URL that points to the commit API resource.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Commit1
impl<'de> Deserialize<'de> for Commit1
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 Commit1
Auto Trait Implementations§
impl Freeze for Commit1
impl RefUnwindSafe for Commit1
impl Send for Commit1
impl Sync for Commit1
impl Unpin for Commit1
impl UnwindSafe for Commit1
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