pub struct GitCommit {
pub author: Committer,
pub committer: Committer,
pub html_url: String,
pub message: String,
pub node_id: String,
pub parents: Vec<Parents>,
pub sha: String,
pub tree: Tree,
pub url: String,
pub verification: Verification,
}Expand description
Low-level Git commit operations within a repository
Fields§
Identifying information for the git-user
committer: CommitterIdentifying information for the git-user
html_url: String§message: String§node_id: String§parents: Vec<Parents>§sha: String§tree: Tree§url: String§verification: VerificationTrait Implementations§
Source§impl<'de> Deserialize<'de> for GitCommit
impl<'de> Deserialize<'de> for GitCommit
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 JsonSchema for GitCommit
impl JsonSchema for GitCommit
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for GitCommit
Auto Trait Implementations§
impl Freeze for GitCommit
impl RefUnwindSafe for GitCommit
impl Send for GitCommit
impl Sync for GitCommit
impl Unpin for GitCommit
impl UnwindSafe for GitCommit
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