Struct octokit_rs::webhook::CommitSimple  
source · pub struct CommitSimple {
    pub author: Committer,
    pub committer: Committer,
    pub id: String,
    pub message: String,
    pub timestamp: String,
    pub tree_id: String,
}Expand description
CommitSimple
JSON schema
{
 "title": "SimpleCommit",
 "type": "object",
 "required": [
   "author",
   "committer",
   "id",
   "message",
   "timestamp",
   "tree_id"
 ],
 "properties": {
   "author": {
     "$ref": "#/definitions/committer"
   },
   "committer": {
     "$ref": "#/definitions/committer"
   },
   "id": {
     "type": "string"
   },
   "message": {
     "type": "string"
   },
   "timestamp": {
     "type": "string"
   },
   "tree_id": {
     "type": "string"
   }
 },
 "additionalProperties": false,
 "$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§committer: Committer§id: String§message: String§timestamp: String§tree_id: StringImplementations§
source§impl CommitSimple
 
impl CommitSimple
pub fn builder() -> CommitSimple
Trait Implementations§
source§impl Clone for CommitSimple
 
impl Clone for CommitSimple
source§fn clone(&self) -> CommitSimple
 
fn clone(&self) -> CommitSimple
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 CommitSimple
 
impl Debug for CommitSimple
source§impl<'de> Deserialize<'de> for CommitSimple
 
impl<'de> Deserialize<'de> for CommitSimple
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 From<&CommitSimple> for CommitSimple
 
impl From<&CommitSimple> for CommitSimple
source§fn from(value: &CommitSimple) -> Self
 
fn from(value: &CommitSimple) -> Self
Converts to this type from the input type.
source§impl From<CommitSimple> for CommitSimple
 
impl From<CommitSimple> for CommitSimple
source§fn from(value: CommitSimple) -> Self
 
fn from(value: CommitSimple) -> Self
Converts to this type from the input type.
source§impl Serialize for CommitSimple
 
impl Serialize for CommitSimple
source§impl TryFrom<CommitSimple> for CommitSimple
 
impl TryFrom<CommitSimple> for CommitSimple
Auto Trait Implementations§
impl RefUnwindSafe for CommitSimple
impl Send for CommitSimple
impl Sync for CommitSimple
impl Unpin for CommitSimple
impl UnwindSafe for CommitSimple
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