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