pub struct CommitSearchResultItemCommit {
pub author: Box<CommitSearchResultItemCommitAuthor>,
pub committer: Option<Box<NullableGitUser>>,
pub comment_count: i32,
pub message: String,
pub tree: Box<ShortBranchCommit>,
pub url: String,
pub verification: Option<Box<Verification>>,
}
Fields§
§committer: Option<Box<NullableGitUser>>
§comment_count: i32
§message: String
§tree: Box<ShortBranchCommit>
§url: String
§verification: Option<Box<Verification>>
Implementations§
Source§impl CommitSearchResultItemCommit
impl CommitSearchResultItemCommit
pub fn new( author: CommitSearchResultItemCommitAuthor, committer: Option<NullableGitUser>, comment_count: i32, message: String, tree: ShortBranchCommit, url: String, ) -> CommitSearchResultItemCommit
Trait Implementations§
Source§impl Clone for CommitSearchResultItemCommit
impl Clone for CommitSearchResultItemCommit
Source§fn clone(&self) -> CommitSearchResultItemCommit
fn clone(&self) -> CommitSearchResultItemCommit
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 CommitSearchResultItemCommit
impl Debug for CommitSearchResultItemCommit
Source§impl Default for CommitSearchResultItemCommit
impl Default for CommitSearchResultItemCommit
Source§fn default() -> CommitSearchResultItemCommit
fn default() -> CommitSearchResultItemCommit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommitSearchResultItemCommit
impl<'de> Deserialize<'de> for CommitSearchResultItemCommit
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 CommitSearchResultItemCommit
impl PartialEq for CommitSearchResultItemCommit
Source§fn eq(&self, other: &CommitSearchResultItemCommit) -> bool
fn eq(&self, other: &CommitSearchResultItemCommit) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CommitSearchResultItemCommit
Auto Trait Implementations§
impl Freeze for CommitSearchResultItemCommit
impl RefUnwindSafe for CommitSearchResultItemCommit
impl Send for CommitSearchResultItemCommit
impl Sync for CommitSearchResultItemCommit
impl Unpin for CommitSearchResultItemCommit
impl UnwindSafe for CommitSearchResultItemCommit
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