Struct github_webhook::payload_types::PingEvent  
source · pub struct PingEvent<'a> {
    pub zen: &'a str,
    pub hook_id: usize,
    pub hook: PingEventHook<'a>,
    pub repository: Option<Repository<'a>>,
    pub sender: Option<User<'a>>,
    pub organization: Option<Organization<'a>>,
}Fields§
§zen: &'a str§hook_id: usizeThe ID of the webhook that triggered the ping.
hook: PingEventHook<'a>§repository: Option<Repository<'a>>§sender: Option<User<'a>>§organization: Option<Organization<'a>>Trait Implementations§
source§impl<'de: 'a, 'a> Deserialize<'de> for PingEvent<'a>
 
impl<'de: 'a, 'a> Deserialize<'de> for PingEvent<'a>
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
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PingEvent<'a>
impl<'a> Send for PingEvent<'a>
impl<'a> Sync for PingEvent<'a>
impl<'a> Unpin for PingEvent<'a>
impl<'a> UnwindSafe for PingEvent<'a>
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