Struct github_rest::model::commits::nested::CommitObject
source · pub struct CommitObject {
pub url: String,
pub author: Option<GitUser>,
pub committer: Option<GitUser>,
pub message: String,
pub comment_count: i64,
pub tree: Tree,
pub verification: Verification,
}
Fields§
§url: String
§committer: Option<GitUser>
§message: String
§comment_count: i64
§tree: Tree
§verification: Verification
Trait Implementations§
source§impl Clone for CommitObject
impl Clone for CommitObject
source§fn clone(&self) -> CommitObject
fn clone(&self) -> CommitObject
Returns a copy 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 CommitObject
impl Debug for CommitObject
source§impl Default for CommitObject
impl Default for CommitObject
source§fn default() -> CommitObject
fn default() -> CommitObject
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CommitObject
impl<'de> Deserialize<'de> for CommitObject
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<CommitObject> for CommitObject
impl PartialEq<CommitObject> for CommitObject
source§fn eq(&self, other: &CommitObject) -> bool
fn eq(&self, other: &CommitObject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CommitObject
impl Serialize for CommitObject
impl StructuralPartialEq for CommitObject
Auto Trait Implementations§
impl RefUnwindSafe for CommitObject
impl Send for CommitObject
impl Sync for CommitObject
impl Unpin for CommitObject
impl UnwindSafe for CommitObject
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