pub struct CommitInfo {
pub author: CommitAuthor,
pub committer: CommitAuthor,
pub message: String,
}Expand description
Detailed commit information.
JSON schema
{
"title": "CommitInfo",
"description": "Detailed commit information.",
"type": "object",
"required": [
"author",
"committer",
"message"
],
"properties": {
"author": {
"$ref": "#/components/schemas/CommitAuthor"
},
"committer": {
"$ref": "#/components/schemas/CommitAuthor"
},
"message": {
"title": "Message",
"description": "Commit message",
"type": "string"
}
}
}Fields§
§committer: CommitAuthor§message: StringCommit message
Implementations§
Source§impl CommitInfo
impl CommitInfo
pub fn builder() -> CommitInfo
Trait Implementations§
Source§impl Clone for CommitInfo
impl Clone for CommitInfo
Source§fn clone(&self) -> CommitInfo
fn clone(&self) -> CommitInfo
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 CommitInfo
impl Debug for CommitInfo
Source§impl<'de> Deserialize<'de> for CommitInfo
impl<'de> Deserialize<'de> for CommitInfo
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<&CommitInfo> for CommitInfo
impl From<&CommitInfo> for CommitInfo
Source§fn from(value: &CommitInfo) -> Self
fn from(value: &CommitInfo) -> Self
Converts to this type from the input type.
Source§impl From<CommitInfo> for CommitInfo
impl From<CommitInfo> for CommitInfo
Source§fn from(value: CommitInfo) -> Self
fn from(value: CommitInfo) -> Self
Converts to this type from the input type.
Source§impl Serialize for CommitInfo
impl Serialize for CommitInfo
Source§impl TryFrom<CommitInfo> for CommitInfo
impl TryFrom<CommitInfo> for CommitInfo
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CommitInfo) -> Result<Self, ConversionError>
fn try_from(value: CommitInfo) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CommitInfo
impl RefUnwindSafe for CommitInfo
impl Send for CommitInfo
impl Sync for CommitInfo
impl Unpin for CommitInfo
impl UnwindSafe for CommitInfo
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