pub struct NullableSimpleCommit {
pub id: String,
pub tree_id: String,
pub message: String,
pub timestamp: String,
pub author: Option<Box<NullableSimpleCommitAuthor>>,
pub committer: Option<Box<NullableSimpleCommitCommitter>>,
}
Expand description
NullableSimpleCommit : A commit.
Fields§
§id: String
SHA for the commit
tree_id: String
SHA for the commit’s tree
message: String
Message describing the purpose of the commit
timestamp: String
Timestamp of the commit
committer: Option<Box<NullableSimpleCommitCommitter>>
Implementations§
Source§impl NullableSimpleCommit
impl NullableSimpleCommit
Sourcepub fn new(
id: String,
tree_id: String,
message: String,
timestamp: String,
author: Option<NullableSimpleCommitAuthor>,
committer: Option<NullableSimpleCommitCommitter>,
) -> NullableSimpleCommit
pub fn new( id: String, tree_id: String, message: String, timestamp: String, author: Option<NullableSimpleCommitAuthor>, committer: Option<NullableSimpleCommitCommitter>, ) -> NullableSimpleCommit
A commit.
Trait Implementations§
Source§impl Clone for NullableSimpleCommit
impl Clone for NullableSimpleCommit
Source§fn clone(&self) -> NullableSimpleCommit
fn clone(&self) -> NullableSimpleCommit
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 NullableSimpleCommit
impl Debug for NullableSimpleCommit
Source§impl Default for NullableSimpleCommit
impl Default for NullableSimpleCommit
Source§fn default() -> NullableSimpleCommit
fn default() -> NullableSimpleCommit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NullableSimpleCommit
impl<'de> Deserialize<'de> for NullableSimpleCommit
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 NullableSimpleCommit
impl PartialEq for NullableSimpleCommit
Source§impl Serialize for NullableSimpleCommit
impl Serialize for NullableSimpleCommit
impl StructuralPartialEq for NullableSimpleCommit
Auto Trait Implementations§
impl Freeze for NullableSimpleCommit
impl RefUnwindSafe for NullableSimpleCommit
impl Send for NullableSimpleCommit
impl Sync for NullableSimpleCommit
impl Unpin for NullableSimpleCommit
impl UnwindSafe for NullableSimpleCommit
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