pub struct CommitComment {Show 14 fields
pub html_url: String,
pub url: String,
pub id: i32,
pub node_id: String,
pub body: String,
pub path: Option<String>,
pub position: Option<i32>,
pub line: Option<i32>,
pub commit_id: String,
pub user: Option<Box<NullableSimpleUser>>,
pub created_at: String,
pub updated_at: String,
pub author_association: AuthorAssociation,
pub reactions: Option<Box<ReactionRollup>>,
}
Expand description
CommitComment : Commit Comment
Fields§
§html_url: String
§url: String
§id: i32
§node_id: String
§body: String
§path: Option<String>
§position: Option<i32>
§line: Option<i32>
§commit_id: String
§user: Option<Box<NullableSimpleUser>>
§created_at: String
§updated_at: String
§reactions: Option<Box<ReactionRollup>>
Implementations§
Source§impl CommitComment
impl CommitComment
Sourcepub fn new(
html_url: String,
url: String,
id: i32,
node_id: String,
body: String,
path: Option<String>,
position: Option<i32>,
line: Option<i32>,
commit_id: String,
user: Option<NullableSimpleUser>,
created_at: String,
updated_at: String,
author_association: AuthorAssociation,
) -> CommitComment
pub fn new( html_url: String, url: String, id: i32, node_id: String, body: String, path: Option<String>, position: Option<i32>, line: Option<i32>, commit_id: String, user: Option<NullableSimpleUser>, created_at: String, updated_at: String, author_association: AuthorAssociation, ) -> CommitComment
Commit Comment
Trait Implementations§
Source§impl Clone for CommitComment
impl Clone for CommitComment
Source§fn clone(&self) -> CommitComment
fn clone(&self) -> CommitComment
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 CommitComment
impl Debug for CommitComment
Source§impl Default for CommitComment
impl Default for CommitComment
Source§fn default() -> CommitComment
fn default() -> CommitComment
Returns the “default value” for a type. Read more
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 PartialEq for CommitComment
impl PartialEq for CommitComment
Source§impl Serialize for CommitComment
impl Serialize for CommitComment
impl StructuralPartialEq for CommitComment
Auto Trait Implementations§
impl Freeze for CommitComment
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