Struct github_rest::model::repositories::events::nested::HeadCommit
source · pub struct HeadCommit {
pub id: String,
pub tree_id: String,
pub distinct: bool,
pub message: String,
pub timestamp: String,
pub url: String,
pub author: GitUser,
pub committer: GitUser,
pub added: Vec<String>,
pub removed: Vec<Value>,
pub modified: Vec<Value>,
}
Fields§
§id: String
§tree_id: String
§distinct: bool
§message: String
§timestamp: String
§url: String
§committer: GitUser
§added: Vec<String>
§removed: Vec<Value>
§modified: Vec<Value>
Trait Implementations§
source§impl Clone for HeadCommit
impl Clone for HeadCommit
source§fn clone(&self) -> HeadCommit
fn clone(&self) -> HeadCommit
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 HeadCommit
impl Debug for HeadCommit
source§impl Default for HeadCommit
impl Default for HeadCommit
source§fn default() -> HeadCommit
fn default() -> HeadCommit
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HeadCommit
impl<'de> Deserialize<'de> for HeadCommit
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<HeadCommit> for HeadCommit
impl PartialEq<HeadCommit> for HeadCommit
source§fn eq(&self, other: &HeadCommit) -> bool
fn eq(&self, other: &HeadCommit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for HeadCommit
impl Serialize for HeadCommit
impl StructuralPartialEq for HeadCommit
Auto Trait Implementations§
impl RefUnwindSafe for HeadCommit
impl Send for HeadCommit
impl Sync for HeadCommit
impl Unpin for HeadCommit
impl UnwindSafe for HeadCommit
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