Struct github_rest::model::discussions::events::DiscussionEvent
source · pub struct DiscussionEvent {
pub action: DiscussionAction,
pub discussion: Discussion,
pub event_info: RepoEventInfo,
}
Expand description
Fields§
§action: DiscussionAction
§discussion: Discussion
§event_info: RepoEventInfo
Trait Implementations§
source§impl AsRef<RepoEventInfo> for DiscussionEvent
impl AsRef<RepoEventInfo> for DiscussionEvent
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 DiscussionEvent
impl Clone for DiscussionEvent
source§fn clone(&self) -> DiscussionEvent
fn clone(&self) -> DiscussionEvent
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 DiscussionEvent
impl Debug for DiscussionEvent
source§impl Deref for DiscussionEvent
impl Deref for DiscussionEvent
source§impl<'de> Deserialize<'de> for DiscussionEvent
impl<'de> Deserialize<'de> for DiscussionEvent
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 DiscussionEvent
impl Event<'_> for DiscussionEvent
source§impl PartialEq<DiscussionEvent> for DiscussionEvent
impl PartialEq<DiscussionEvent> for DiscussionEvent
source§fn eq(&self, other: &DiscussionEvent) -> bool
fn eq(&self, other: &DiscussionEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DiscussionEvent
impl Serialize for DiscussionEvent
impl StructuralPartialEq for DiscussionEvent
Auto Trait Implementations§
impl RefUnwindSafe for DiscussionEvent
impl Send for DiscussionEvent
impl Sync for DiscussionEvent
impl Unpin for DiscussionEvent
impl UnwindSafe for DiscussionEvent
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