pub struct WebhookMetaDeleted {
pub action: Action,
pub enterprise: Option<Box<EnterpriseWebhooks>>,
pub hook: Box<WebhookMetaDeletedHook>,
pub hook_id: i32,
pub installation: Option<Box<SimpleInstallation>>,
pub organization: Option<Box<OrganizationSimpleWebhooks>>,
pub repository: Option<Option<Box<NullableRepositoryWebhooks>>>,
pub sender: Option<Box<SimpleUserWebhooks>>,
}
Fields§
§action: Action
§enterprise: Option<Box<EnterpriseWebhooks>>
§hook: Box<WebhookMetaDeletedHook>
§hook_id: i32
The id of the modified webhook.
installation: Option<Box<SimpleInstallation>>
§organization: Option<Box<OrganizationSimpleWebhooks>>
§repository: Option<Option<Box<NullableRepositoryWebhooks>>>
§sender: Option<Box<SimpleUserWebhooks>>
Implementations§
Source§impl WebhookMetaDeleted
impl WebhookMetaDeleted
pub fn new( action: Action, hook: WebhookMetaDeletedHook, hook_id: i32, ) -> WebhookMetaDeleted
Trait Implementations§
Source§impl Clone for WebhookMetaDeleted
impl Clone for WebhookMetaDeleted
Source§fn clone(&self) -> WebhookMetaDeleted
fn clone(&self) -> WebhookMetaDeleted
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 WebhookMetaDeleted
impl Debug for WebhookMetaDeleted
Source§impl Default for WebhookMetaDeleted
impl Default for WebhookMetaDeleted
Source§fn default() -> WebhookMetaDeleted
fn default() -> WebhookMetaDeleted
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookMetaDeleted
impl<'de> Deserialize<'de> for WebhookMetaDeleted
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 WebhookMetaDeleted
impl PartialEq for WebhookMetaDeleted
Source§impl Serialize for WebhookMetaDeleted
impl Serialize for WebhookMetaDeleted
impl StructuralPartialEq for WebhookMetaDeleted
Auto Trait Implementations§
impl Freeze for WebhookMetaDeleted
impl RefUnwindSafe for WebhookMetaDeleted
impl Send for WebhookMetaDeleted
impl Sync for WebhookMetaDeleted
impl Unpin for WebhookMetaDeleted
impl UnwindSafe for WebhookMetaDeleted
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