pub struct Committer {
pub date: Option<DateTime<Utc>>,
pub email: Option<String>,
pub name: String,
pub username: Option<String>,
}
Expand description
Metaproperties for Git author/committer information.
JSON schema
{
"title": "Committer",
"description": "Metaproperties for Git author/committer information.",
"type": "object",
"required": [
"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,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§date: Option<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<'de> Deserialize<'de> for Committer
impl<'de> Deserialize<'de> for Committer
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
Auto Trait Implementations§
impl Freeze for Committer
impl RefUnwindSafe for Committer
impl Send for Committer
impl Sync for Committer
impl Unpin for Committer
impl UnwindSafe for Committer
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