pub struct CommentEventData {
pub id: u64,
pub parent_number: u64,
pub author: String,
pub body_preview: String,
}Expand description
Comment event data.
Fields§
§id: u64Comment ID.
parent_number: u64Parent number (PR or Issue number).
Author username.
body_preview: StringComment body (truncated for notification).
Trait Implementations§
Source§impl Clone for CommentEventData
impl Clone for CommentEventData
Source§fn clone(&self) -> CommentEventData
fn clone(&self) -> CommentEventData
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 CommentEventData
impl Debug for CommentEventData
Source§impl<'de> Deserialize<'de> for CommentEventData
impl<'de> Deserialize<'de> for CommentEventData
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
Auto Trait Implementations§
impl Freeze for CommentEventData
impl RefUnwindSafe for CommentEventData
impl Send for CommentEventData
impl Sync for CommentEventData
impl Unpin for CommentEventData
impl UnwindSafe for CommentEventData
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