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