Struct octorust::types::CommitComparison
source · pub struct CommitComparison {Show 13 fields
pub ahead_by: i64,
pub base_commit: CommitDataType,
pub behind_by: i64,
pub commits: Vec<CommitDataType>,
pub diff_url: String,
pub files: Vec<DiffEntry>,
pub html_url: String,
pub merge_base_commit: CommitDataType,
pub patch_url: String,
pub permalink_url: String,
pub status: CommitComparisonStatus,
pub total_commits: i64,
pub url: String,
}
Expand description
Commit Comparison
Fields§
§ahead_by: i64
§base_commit: CommitDataType
Commit
behind_by: i64
§commits: Vec<CommitDataType>
§diff_url: String
§files: Vec<DiffEntry>
Commit Comparison
html_url: String
§merge_base_commit: CommitDataType
Commit
patch_url: String
§permalink_url: String
§status: CommitComparisonStatus
§total_commits: i64
§url: String
Trait Implementations§
source§impl Clone for CommitComparison
impl Clone for CommitComparison
source§fn clone(&self) -> CommitComparison
fn clone(&self) -> CommitComparison
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 CommitComparison
impl Debug for CommitComparison
source§impl<'de> Deserialize<'de> for CommitComparison
impl<'de> Deserialize<'de> for CommitComparison
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 CommitComparison
impl JsonSchema for CommitComparison
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &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 moresource§impl PartialEq<CommitComparison> for CommitComparison
impl PartialEq<CommitComparison> for CommitComparison
source§fn eq(&self, other: &CommitComparison) -> bool
fn eq(&self, other: &CommitComparison) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CommitComparison
impl Serialize for CommitComparison
impl StructuralPartialEq for CommitComparison
Auto Trait Implementations§
impl RefUnwindSafe for CommitComparison
impl Send for CommitComparison
impl Sync for CommitComparison
impl Unpin for CommitComparison
impl UnwindSafe for CommitComparison
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