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: String
Implementations§
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 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 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 Freeze for CommitSimple
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