pub struct GitCreateCommitRequestCommitter {
pub name: Option<String>,
pub email: Option<String>,
pub date: Option<String>,
}
Expand description
GitCreateCommitRequestCommitter : Information about the person who is making the commit. By default, committer
will use the information set in author
. See the author
and committer
object below for details.
Fields§
§name: Option<String>
The name of the author (or committer) of the commit
email: Option<String>
The email of the author (or committer) of the commit
date: Option<String>
Indicates when this commit was authored (or committed). This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
Implementations§
Source§impl GitCreateCommitRequestCommitter
impl GitCreateCommitRequestCommitter
Sourcepub fn new() -> GitCreateCommitRequestCommitter
pub fn new() -> GitCreateCommitRequestCommitter
Information about the person who is making the commit. By default, committer
will use the information set in author
. See the author
and committer
object below for details.
Trait Implementations§
Source§impl Clone for GitCreateCommitRequestCommitter
impl Clone for GitCreateCommitRequestCommitter
Source§fn clone(&self) -> GitCreateCommitRequestCommitter
fn clone(&self) -> GitCreateCommitRequestCommitter
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 Default for GitCreateCommitRequestCommitter
impl Default for GitCreateCommitRequestCommitter
Source§fn default() -> GitCreateCommitRequestCommitter
fn default() -> GitCreateCommitRequestCommitter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitCreateCommitRequestCommitter
impl<'de> Deserialize<'de> for GitCreateCommitRequestCommitter
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 GitCreateCommitRequestCommitter
impl PartialEq for GitCreateCommitRequestCommitter
Source§fn eq(&self, other: &GitCreateCommitRequestCommitter) -> bool
fn eq(&self, other: &GitCreateCommitRequestCommitter) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GitCreateCommitRequestCommitter
Auto Trait Implementations§
impl Freeze for GitCreateCommitRequestCommitter
impl RefUnwindSafe for GitCreateCommitRequestCommitter
impl Send for GitCreateCommitRequestCommitter
impl Sync for GitCreateCommitRequestCommitter
impl Unpin for GitCreateCommitRequestCommitter
impl UnwindSafe for GitCreateCommitRequestCommitter
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