pub struct PingEvent {
pub zen: String,
pub hook_id: u64,
pub hook: Hook,
pub repository: Option<Repository>,
pub sender: Option<User>,
}
Fields§
§zen: String
§hook_id: u64
§hook: Hook
§repository: Option<Repository>
§sender: Option<User>
Trait Implementations§
Source§impl AppEvent for PingEvent
impl AppEvent for PingEvent
Source§fn installation(&self) -> Option<u64>
fn installation(&self) -> Option<u64>
Returns the installation ID for the event.
Source§impl<'de> Deserialize<'de> for PingEvent
impl<'de> Deserialize<'de> for PingEvent
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 Ord for PingEvent
impl Ord for PingEvent
Source§impl PartialOrd for PingEvent
impl PartialOrd for PingEvent
impl Eq for PingEvent
impl StructuralPartialEq for PingEvent
Auto Trait Implementations§
impl Freeze for PingEvent
impl RefUnwindSafe for PingEvent
impl Send for PingEvent
impl Sync for PingEvent
impl Unpin for PingEvent
impl UnwindSafe for PingEvent
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