Struct octorust::types::CommitComment
source · pub struct CommitComment {Show 14 fields
pub author_association: AuthorAssociation,
pub body: String,
pub commit_id: String,
pub created_at: Option<DateTime<Utc>>,
pub html_url: String,
pub id: i64,
pub line: i64,
pub node_id: String,
pub path: String,
pub position: i64,
pub reactions: Option<ReactionRollup>,
pub updated_at: Option<DateTime<Utc>>,
pub url: String,
pub user: Option<SimpleUser>,
}
Expand description
Commit Comment
Fields§
How the author is associated with the repository.
body: String
§commit_id: String
§created_at: Option<DateTime<Utc>>
§html_url: String
§id: i64
§line: i64
§node_id: String
§path: String
§position: i64
§reactions: Option<ReactionRollup>
Commit Comment
updated_at: Option<DateTime<Utc>>
§url: String
§user: Option<SimpleUser>
Trait Implementations§
source§impl Clone for CommitComment
impl Clone for CommitComment
source§fn clone(&self) -> CommitComment
fn clone(&self) -> CommitComment
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 CommitComment
impl Debug for CommitComment
source§impl<'de> Deserialize<'de> for CommitComment
impl<'de> Deserialize<'de> for CommitComment
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 CommitComment
impl JsonSchema for CommitComment
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<CommitComment> for CommitComment
impl PartialEq<CommitComment> for CommitComment
source§fn eq(&self, other: &CommitComment) -> bool
fn eq(&self, other: &CommitComment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CommitComment
impl Serialize for CommitComment
impl StructuralPartialEq for CommitComment
Auto Trait Implementations§
impl RefUnwindSafe for CommitComment
impl Send for CommitComment
impl Sync for CommitComment
impl Unpin for CommitComment
impl UnwindSafe for CommitComment
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