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