pub struct WebhookPing {
pub hook: Option<Box<Webhook>>,
pub hook_id: Option<i32>,
pub organization: Option<Box<OrganizationSimpleWebhooks>>,
pub repository: Option<Box<RepositoryWebhooks>>,
pub sender: Option<Box<SimpleUserWebhooks>>,
pub zen: Option<String>,
}
Fields§
§hook: Option<Box<Webhook>>
§hook_id: Option<i32>
The ID of the webhook that triggered the ping.
organization: Option<Box<OrganizationSimpleWebhooks>>
§repository: Option<Box<RepositoryWebhooks>>
§sender: Option<Box<SimpleUserWebhooks>>
§zen: Option<String>
Random string of GitHub zen.
Implementations§
Source§impl WebhookPing
impl WebhookPing
pub fn new() -> WebhookPing
Trait Implementations§
Source§impl Clone for WebhookPing
impl Clone for WebhookPing
Source§fn clone(&self) -> WebhookPing
fn clone(&self) -> WebhookPing
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 WebhookPing
impl Debug for WebhookPing
Source§impl Default for WebhookPing
impl Default for WebhookPing
Source§fn default() -> WebhookPing
fn default() -> WebhookPing
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookPing
impl<'de> Deserialize<'de> for WebhookPing
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 PartialEq for WebhookPing
impl PartialEq for WebhookPing
Source§impl Serialize for WebhookPing
impl Serialize for WebhookPing
impl StructuralPartialEq for WebhookPing
Auto Trait Implementations§
impl Freeze for WebhookPing
impl RefUnwindSafe for WebhookPing
impl Send for WebhookPing
impl Sync for WebhookPing
impl Unpin for WebhookPing
impl UnwindSafe for WebhookPing
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