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