pub struct WebhooksIssueComment {
pub author_association: AuthorAssociation,
pub body: String,
pub created_at: String,
pub html_url: String,
pub id: i64,
pub issue_url: String,
pub node_id: String,
pub performed_via_github_app: Option<Box<Integration>>,
pub reactions: Box<Reactions>,
pub updated_at: String,
pub url: String,
pub user: Option<Box<User1>>,
}
Expand description
WebhooksIssueComment : The comment itself.
Fields§
How the author is associated with the repository.
body: String
Contents of the issue comment
created_at: String
§html_url: String
§id: i64
Unique identifier of the issue comment
issue_url: String
§node_id: String
§performed_via_github_app: Option<Box<Integration>>
§reactions: Box<Reactions>
§updated_at: String
§url: String
URL for the issue comment
user: Option<Box<User1>>
Implementations§
Source§impl WebhooksIssueComment
impl WebhooksIssueComment
Sourcepub fn new(
author_association: AuthorAssociation,
body: String,
created_at: String,
html_url: String,
id: i64,
issue_url: String,
node_id: String,
performed_via_github_app: Option<Integration>,
reactions: Reactions,
updated_at: String,
url: String,
user: Option<User1>,
) -> WebhooksIssueComment
pub fn new( author_association: AuthorAssociation, body: String, created_at: String, html_url: String, id: i64, issue_url: String, node_id: String, performed_via_github_app: Option<Integration>, reactions: Reactions, updated_at: String, url: String, user: Option<User1>, ) -> WebhooksIssueComment
The comment itself.
Trait Implementations§
Source§impl Clone for WebhooksIssueComment
impl Clone for WebhooksIssueComment
Source§fn clone(&self) -> WebhooksIssueComment
fn clone(&self) -> WebhooksIssueComment
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 WebhooksIssueComment
impl Debug for WebhooksIssueComment
Source§impl Default for WebhooksIssueComment
impl Default for WebhooksIssueComment
Source§fn default() -> WebhooksIssueComment
fn default() -> WebhooksIssueComment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhooksIssueComment
impl<'de> Deserialize<'de> for WebhooksIssueComment
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 WebhooksIssueComment
impl PartialEq for WebhooksIssueComment
Source§impl Serialize for WebhooksIssueComment
impl Serialize for WebhooksIssueComment
impl StructuralPartialEq for WebhooksIssueComment
Auto Trait Implementations§
impl Freeze for WebhooksIssueComment
impl RefUnwindSafe for WebhooksIssueComment
impl Send for WebhooksIssueComment
impl Sync for WebhooksIssueComment
impl Unpin for WebhooksIssueComment
impl UnwindSafe for WebhooksIssueComment
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