Struct octocrab::models::commits::GitCommitObject
source · pub struct GitCommitObject {
pub sha: String,
pub node_id: String,
pub url: String,
pub author: CommitAuthor,
pub committer: CommitAuthor,
pub message: String,
pub tree: CommitObject,
pub parents: Vec<Commit>,
pub verification: Verification,
pub html_url: String,
}
Fields§
§sha: String
§node_id: String
§url: String
§committer: CommitAuthor
§message: String
§tree: CommitObject
§parents: Vec<Commit>
§verification: Verification
§html_url: String
Trait Implementations§
source§impl Clone for GitCommitObject
impl Clone for GitCommitObject
source§fn clone(&self) -> GitCommitObject
fn clone(&self) -> GitCommitObject
Returns a copy 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 GitCommitObject
impl Debug for GitCommitObject
source§impl<'de> Deserialize<'de> for GitCommitObject
impl<'de> Deserialize<'de> for GitCommitObject
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 GitCommitObject
impl RefUnwindSafe for GitCommitObject
impl Send for GitCommitObject
impl Sync for GitCommitObject
impl Unpin for GitCommitObject
impl UnwindSafe for GitCommitObject
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