pub struct GitCommitInfo {
pub message: Option<String>,
pub author: Option<GitPerson>,
pub committer: Option<GitPerson>,
}Expand description
Nested git commit payload on PR commits (GitCommit in Gitee v5 swagger).
Fields§
§message: Option<String>§committer: Option<GitPerson>Trait Implementations§
Source§impl Clone for GitCommitInfo
impl Clone for GitCommitInfo
Source§fn clone(&self) -> GitCommitInfo
fn clone(&self) -> GitCommitInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GitCommitInfo
impl Debug for GitCommitInfo
Source§impl Default for GitCommitInfo
impl Default for GitCommitInfo
Source§fn default() -> GitCommitInfo
fn default() -> GitCommitInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitCommitInfo
impl<'de> Deserialize<'de> for GitCommitInfo
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 GitCommitInfo
impl RefUnwindSafe for GitCommitInfo
impl Send for GitCommitInfo
impl Sync for GitCommitInfo
impl Unpin for GitCommitInfo
impl UnsafeUnpin for GitCommitInfo
impl UnwindSafe for GitCommitInfo
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