pub enum EventInstallation {
Full(Box<Installation>),
Minimal(Box<EventInstallationId>),
}
Variants§
Full(Box<Installation>)
A full installation object which is present for Installation*
related webhook events.
Minimal(Box<EventInstallationId>)
The minimal installation object is present for all other event types.
Trait Implementations§
source§impl Clone for EventInstallation
impl Clone for EventInstallation
source§fn clone(&self) -> EventInstallation
fn clone(&self) -> EventInstallation
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 EventInstallation
impl Debug for EventInstallation
source§impl<'de> Deserialize<'de> for EventInstallation
impl<'de> Deserialize<'de> for EventInstallation
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 PartialEq for EventInstallation
impl PartialEq for EventInstallation
source§fn eq(&self, other: &EventInstallation) -> bool
fn eq(&self, other: &EventInstallation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EventInstallation
impl Serialize for EventInstallation
impl StructuralPartialEq for EventInstallation
Auto Trait Implementations§
impl Freeze for EventInstallation
impl RefUnwindSafe for EventInstallation
impl Send for EventInstallation
impl Sync for EventInstallation
impl Unpin for EventInstallation
impl UnwindSafe for EventInstallation
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