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