pub struct GitHubAppAuthorizationEvent {
pub action: GitHubAppAuthorizationAction,
pub sender: User,
pub installation: InstallationId,
}
Expand description
Triggered when someone revokes their authorization of a GitHub App. A GitHub App receives this webhook by default and cannot unsubscribe from this event.
Fields§
§action: GitHubAppAuthorizationAction
§sender: User
The user who triggered the event.
installation: InstallationId
The App installation ID.
Trait Implementations§
Source§impl AppEvent for GitHubAppAuthorizationEvent
impl AppEvent for GitHubAppAuthorizationEvent
Source§fn installation(&self) -> Option<u64>
fn installation(&self) -> Option<u64>
Returns the installation ID for the event.
Source§impl Clone for GitHubAppAuthorizationEvent
impl Clone for GitHubAppAuthorizationEvent
Source§fn clone(&self) -> GitHubAppAuthorizationEvent
fn clone(&self) -> GitHubAppAuthorizationEvent
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 GitHubAppAuthorizationEvent
impl Debug for GitHubAppAuthorizationEvent
Source§impl<'de> Deserialize<'de> for GitHubAppAuthorizationEvent
impl<'de> Deserialize<'de> for GitHubAppAuthorizationEvent
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<GitHubAppAuthorizationEvent> for Event
impl From<GitHubAppAuthorizationEvent> for Event
Source§fn from(original: GitHubAppAuthorizationEvent) -> Event
fn from(original: GitHubAppAuthorizationEvent) -> Event
Converts to this type from the input type.
Source§impl Hash for GitHubAppAuthorizationEvent
impl Hash for GitHubAppAuthorizationEvent
Source§impl Ord for GitHubAppAuthorizationEvent
impl Ord for GitHubAppAuthorizationEvent
Source§fn cmp(&self, other: &GitHubAppAuthorizationEvent) -> Ordering
fn cmp(&self, other: &GitHubAppAuthorizationEvent) -> 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 PartialOrd for GitHubAppAuthorizationEvent
impl PartialOrd for GitHubAppAuthorizationEvent
impl Eq for GitHubAppAuthorizationEvent
impl StructuralPartialEq for GitHubAppAuthorizationEvent
Auto Trait Implementations§
impl Freeze for GitHubAppAuthorizationEvent
impl RefUnwindSafe for GitHubAppAuthorizationEvent
impl Send for GitHubAppAuthorizationEvent
impl Sync for GitHubAppAuthorizationEvent
impl Unpin for GitHubAppAuthorizationEvent
impl UnwindSafe for GitHubAppAuthorizationEvent
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