pub enum InstallationEvent {
Created(InstallationCreated),
Deleted(InstallationDeleted),
NewPermissionsAccepted(InstallationNewPermissionsAccepted),
Suspend(InstallationSuspend),
Unsuspend(InstallationUnsuspend),
}
Expand description
InstallationEvent
JSON schema
{
"oneOf": [
{
"$ref": "#/definitions/installation$created"
},
{
"$ref": "#/definitions/installation$deleted"
},
{
"$ref": "#/definitions/installation$new_permissions_accepted"
},
{
"$ref": "#/definitions/installation$suspend"
},
{
"$ref": "#/definitions/installation$unsuspend"
}
]
}
Variants§
Created(InstallationCreated)
Deleted(InstallationDeleted)
NewPermissionsAccepted(InstallationNewPermissionsAccepted)
Suspend(InstallationSuspend)
Unsuspend(InstallationUnsuspend)
Trait Implementations§
Source§impl Clone for InstallationEvent
impl Clone for InstallationEvent
Source§fn clone(&self) -> InstallationEvent
fn clone(&self) -> InstallationEvent
Returns a duplicate 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 InstallationEvent
impl From<&InstallationEvent> for InstallationEvent
Source§fn from(value: &InstallationEvent) -> Self
fn from(value: &InstallationEvent) -> Self
Converts to this type from the input type.
Source§impl From<InstallationCreated> for InstallationEvent
impl From<InstallationCreated> for InstallationEvent
Source§fn from(value: InstallationCreated) -> Self
fn from(value: InstallationCreated) -> Self
Converts to this type from the input type.
Source§impl From<InstallationDeleted> for InstallationEvent
impl From<InstallationDeleted> for InstallationEvent
Source§fn from(value: InstallationDeleted) -> Self
fn from(value: InstallationDeleted) -> Self
Converts to this type from the input type.
Source§impl From<InstallationNewPermissionsAccepted> for InstallationEvent
impl From<InstallationNewPermissionsAccepted> for InstallationEvent
Source§fn from(value: InstallationNewPermissionsAccepted) -> Self
fn from(value: InstallationNewPermissionsAccepted) -> Self
Converts to this type from the input type.
Source§impl From<InstallationSuspend> for InstallationEvent
impl From<InstallationSuspend> for InstallationEvent
Source§fn from(value: InstallationSuspend) -> Self
fn from(value: InstallationSuspend) -> Self
Converts to this type from the input type.
Source§impl From<InstallationUnsuspend> for InstallationEvent
impl From<InstallationUnsuspend> for InstallationEvent
Source§fn from(value: InstallationUnsuspend) -> Self
fn from(value: InstallationUnsuspend) -> Self
Converts to this type from the input type.
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