pub struct CommitCommit {
pub url: String,
pub author: Option<Box<NullableGitUser>>,
pub committer: Option<Box<NullableGitUser>>,
pub message: String,
pub comment_count: i32,
pub tree: Box<CommitCommitTree>,
pub verification: Option<Box<Verification>>,
}
Fields§
§url: String
§committer: Option<Box<NullableGitUser>>
§message: String
§comment_count: i32
§tree: Box<CommitCommitTree>
§verification: Option<Box<Verification>>
Implementations§
Source§impl CommitCommit
impl CommitCommit
pub fn new( url: String, author: Option<NullableGitUser>, committer: Option<NullableGitUser>, message: String, comment_count: i32, tree: CommitCommitTree, ) -> CommitCommit
Trait Implementations§
Source§impl Clone for CommitCommit
impl Clone for CommitCommit
Source§fn clone(&self) -> CommitCommit
fn clone(&self) -> CommitCommit
Returns a duplicate of the value. Read more
1.0.0 · 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 CommitCommit
impl Debug for CommitCommit
Source§impl Default for CommitCommit
impl Default for CommitCommit
Source§fn default() -> CommitCommit
fn default() -> CommitCommit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommitCommit
impl<'de> Deserialize<'de> for CommitCommit
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
Source§impl PartialEq for CommitCommit
impl PartialEq for CommitCommit
Source§impl Serialize for CommitCommit
impl Serialize for CommitCommit
impl StructuralPartialEq for CommitCommit
Auto Trait Implementations§
impl Freeze for CommitCommit
impl RefUnwindSafe for CommitCommit
impl Send for CommitCommit
impl Sync for CommitCommit
impl Unpin for CommitCommit
impl UnwindSafe for CommitCommit
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