pub struct DeleteEvent {
pub ref_type: DeleteRefType,
pub git_ref: String,
pub repository: Repository,
pub sender: User,
pub installation: Option<InstallationId>,
}
Fields§
§ref_type: DeleteRefType
The Git ref type.
git_ref: String
The Git ref string.
repository: Repository
The repository associated with this event.
sender: User
The user who triggered the event.
installation: Option<InstallationId>
The App installation ID. This is only present for GitHub App events.
Trait Implementations§
Source§impl AppEvent for DeleteEvent
impl AppEvent for DeleteEvent
Source§fn installation(&self) -> Option<u64>
fn installation(&self) -> Option<u64>
Returns the installation ID for the event.
Source§impl Clone for DeleteEvent
impl Clone for DeleteEvent
Source§fn clone(&self) -> DeleteEvent
fn clone(&self) -> DeleteEvent
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 DeleteEvent
impl Debug for DeleteEvent
Source§impl<'de> Deserialize<'de> for DeleteEvent
impl<'de> Deserialize<'de> for DeleteEvent
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<DeleteEvent> for Event
impl From<DeleteEvent> for Event
Source§fn from(original: DeleteEvent) -> Event
fn from(original: DeleteEvent) -> Event
Converts to this type from the input type.
Source§impl Hash for DeleteEvent
impl Hash for DeleteEvent
Source§impl Ord for DeleteEvent
impl Ord for DeleteEvent
Source§fn cmp(&self, other: &DeleteEvent) -> Ordering
fn cmp(&self, other: &DeleteEvent) -> 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 DeleteEvent
impl PartialEq for DeleteEvent
Source§impl PartialOrd for DeleteEvent
impl PartialOrd for DeleteEvent
impl Eq for DeleteEvent
impl StructuralPartialEq for DeleteEvent
Auto Trait Implementations§
impl Freeze for DeleteEvent
impl RefUnwindSafe for DeleteEvent
impl Send for DeleteEvent
impl Sync for DeleteEvent
impl Unpin for DeleteEvent
impl UnwindSafe for DeleteEvent
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