pub struct StatusEventCommitCommitAuthor {
pub date: DateTime<Utc>,
pub email: Option<String>,
pub name: String,
pub username: Option<String>,
}
Expand description
StatusEventCommitCommitAuthor
JSON schema
{
"type": "object",
"required": [
"date",
"email",
"name"
],
"properties": {
"date": {
"type": "string",
"format": "date-time"
},
"email": {
"description": "The git author's email address.",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"description": "The git author's name.",
"type": "string"
},
"username": {
"type": "string"
}
},
"additionalProperties": false
}
Fields§
§date: DateTime<Utc>
§email: Option<String>
The git author’s email address.
name: String
The git author’s name.
username: Option<String>
Implementations§
Trait Implementations§
Source§impl Clone for StatusEventCommitCommitAuthor
impl Clone for StatusEventCommitCommitAuthor
Source§fn clone(&self) -> StatusEventCommitCommitAuthor
fn clone(&self) -> StatusEventCommitCommitAuthor
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<'de> Deserialize<'de> for StatusEventCommitCommitAuthor
impl<'de> Deserialize<'de> for StatusEventCommitCommitAuthor
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<&StatusEventCommitCommitAuthor> for StatusEventCommitCommitAuthor
impl From<&StatusEventCommitCommitAuthor> for StatusEventCommitCommitAuthor
Source§fn from(value: &StatusEventCommitCommitAuthor) -> Self
fn from(value: &StatusEventCommitCommitAuthor) -> Self
Converts to this type from the input type.
Source§impl From<StatusEventCommitCommitAuthor> for StatusEventCommitCommitAuthor
impl From<StatusEventCommitCommitAuthor> for StatusEventCommitCommitAuthor
Source§fn from(value: StatusEventCommitCommitAuthor) -> Self
fn from(value: StatusEventCommitCommitAuthor) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StatusEventCommitCommitAuthor
impl RefUnwindSafe for StatusEventCommitCommitAuthor
impl Send for StatusEventCommitCommitAuthor
impl Sync for StatusEventCommitCommitAuthor
impl Unpin for StatusEventCommitCommitAuthor
impl UnwindSafe for StatusEventCommitCommitAuthor
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