pub struct TimelineCommentEvent {Show 16 fields
pub event: String,
pub actor: Box<SimpleUser>,
pub id: i32,
pub node_id: String,
pub url: String,
pub body: Option<String>,
pub body_text: Option<String>,
pub body_html: Option<String>,
pub html_url: String,
pub user: Box<SimpleUser>,
pub created_at: String,
pub updated_at: String,
pub issue_url: String,
pub author_association: AuthorAssociation,
pub performed_via_github_app: Option<Option<Box<NullableIntegration>>>,
pub reactions: Option<Box<ReactionRollup>>,
}
Expand description
TimelineCommentEvent : Timeline Comment Event
Fields§
§event: String
§actor: Box<SimpleUser>
§id: i32
Unique identifier of the issue comment
node_id: String
§url: String
URL for the issue comment
body: Option<String>
Contents of the issue comment
body_text: Option<String>
§body_html: Option<String>
§html_url: String
§user: Box<SimpleUser>
§created_at: String
§updated_at: String
§issue_url: String
§performed_via_github_app: Option<Option<Box<NullableIntegration>>>
§reactions: Option<Box<ReactionRollup>>
Implementations§
Source§impl TimelineCommentEvent
impl TimelineCommentEvent
Sourcepub fn new(
event: String,
actor: SimpleUser,
id: i32,
node_id: String,
url: String,
html_url: String,
user: SimpleUser,
created_at: String,
updated_at: String,
issue_url: String,
author_association: AuthorAssociation,
) -> TimelineCommentEvent
pub fn new( event: String, actor: SimpleUser, id: i32, node_id: String, url: String, html_url: String, user: SimpleUser, created_at: String, updated_at: String, issue_url: String, author_association: AuthorAssociation, ) -> TimelineCommentEvent
Timeline Comment Event
Trait Implementations§
Source§impl Clone for TimelineCommentEvent
impl Clone for TimelineCommentEvent
Source§fn clone(&self) -> TimelineCommentEvent
fn clone(&self) -> TimelineCommentEvent
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 TimelineCommentEvent
impl Debug for TimelineCommentEvent
Source§impl Default for TimelineCommentEvent
impl Default for TimelineCommentEvent
Source§fn default() -> TimelineCommentEvent
fn default() -> TimelineCommentEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimelineCommentEvent
impl<'de> Deserialize<'de> for TimelineCommentEvent
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 TimelineCommentEvent
impl PartialEq for TimelineCommentEvent
Source§impl Serialize for TimelineCommentEvent
impl Serialize for TimelineCommentEvent
impl StructuralPartialEq for TimelineCommentEvent
Auto Trait Implementations§
impl Freeze for TimelineCommentEvent
impl RefUnwindSafe for TimelineCommentEvent
impl Send for TimelineCommentEvent
impl Sync for TimelineCommentEvent
impl Unpin for TimelineCommentEvent
impl UnwindSafe for TimelineCommentEvent
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