Struct github_rest::model::discussions::events::DiscussionCommentEvent    
source · pub struct DiscussionCommentEvent {
    pub action: DiscussionCommentAction,
    pub comment: DiscussionComment,
    pub discussion: Discussion,
    pub event_info: RepoEventInfo,
}Expand description
Fields§
§action: DiscussionCommentAction§comment: DiscussionComment§discussion: Discussion§event_info: RepoEventInfoTrait Implementations§
source§impl AsRef<RepoEventInfo> for DiscussionCommentEvent
 
impl AsRef<RepoEventInfo> for DiscussionCommentEvent
source§fn as_ref(&self) -> &RepoEventInfo
 
fn as_ref(&self) -> &RepoEventInfo
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for DiscussionCommentEvent
 
impl Clone for DiscussionCommentEvent
source§fn clone(&self) -> DiscussionCommentEvent
 
fn clone(&self) -> DiscussionCommentEvent
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 DiscussionCommentEvent
 
impl Debug for DiscussionCommentEvent
source§impl Deref for DiscussionCommentEvent
 
impl Deref for DiscussionCommentEvent
source§impl<'de> Deserialize<'de> for DiscussionCommentEvent
 
impl<'de> Deserialize<'de> for DiscussionCommentEvent
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 Event<'_> for DiscussionCommentEvent
 
impl Event<'_> for DiscussionCommentEvent
source§impl PartialEq<DiscussionCommentEvent> for DiscussionCommentEvent
 
impl PartialEq<DiscussionCommentEvent> for DiscussionCommentEvent
source§fn eq(&self, other: &DiscussionCommentEvent) -> bool
 
fn eq(&self, other: &DiscussionCommentEvent) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for DiscussionCommentEvent
 
impl Serialize for DiscussionCommentEvent
impl StructuralPartialEq for DiscussionCommentEvent
Auto Trait Implementations§
impl RefUnwindSafe for DiscussionCommentEvent
impl Send for DiscussionCommentEvent
impl Sync for DiscussionCommentEvent
impl Unpin for DiscussionCommentEvent
impl UnwindSafe for DiscussionCommentEvent
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