pub struct InstallationEvent {
pub action: InstallationAction,
pub installation: Installation,
pub sender: User,
}
Fields§
§action: InstallationAction
§installation: Installation
§sender: User
Trait Implementations§
Source§impl AppEvent for InstallationEvent
impl AppEvent for InstallationEvent
Source§fn installation(&self) -> Option<u64>
fn installation(&self) -> Option<u64>
Returns the installation ID for the event.
Source§impl Clone for InstallationEvent
impl Clone for InstallationEvent
Source§fn clone(&self) -> InstallationEvent
fn clone(&self) -> InstallationEvent
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 InstallationEvent
impl Debug for InstallationEvent
Source§impl<'de> Deserialize<'de> for InstallationEvent
impl<'de> Deserialize<'de> for InstallationEvent
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 From<InstallationEvent> for Event
impl From<InstallationEvent> for Event
Source§fn from(original: InstallationEvent) -> Event
fn from(original: InstallationEvent) -> Event
Converts to this type from the input type.
Source§impl Hash for InstallationEvent
impl Hash for InstallationEvent
Source§impl Ord for InstallationEvent
impl Ord for InstallationEvent
Source§fn cmp(&self, other: &InstallationEvent) -> Ordering
fn cmp(&self, other: &InstallationEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InstallationEvent
impl PartialEq for InstallationEvent
Source§impl PartialOrd for InstallationEvent
impl PartialOrd for InstallationEvent
impl Eq for InstallationEvent
impl StructuralPartialEq for InstallationEvent
Auto Trait Implementations§
impl Freeze for InstallationEvent
impl RefUnwindSafe for InstallationEvent
impl Send for InstallationEvent
impl Sync for InstallationEvent
impl Unpin for InstallationEvent
impl UnwindSafe for InstallationEvent
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