pub struct WebhookMetaDeletedHook {
pub active: bool,
pub config: Box<WebhookMetaDeletedHookConfig>,
pub created_at: String,
pub events: Vec<Events>,
pub id: i32,
pub name: String,
pub type: String,
pub updated_at: String,
}
Expand description
WebhookMetaDeletedHook : The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.
Fields§
§active: bool
§config: Box<WebhookMetaDeletedHookConfig>
§created_at: String
§events: Vec<Events>
§id: i32
§name: String
§type: String
§updated_at: String
Implementations§
Source§impl WebhookMetaDeletedHook
impl WebhookMetaDeletedHook
Sourcepub fn new(
active: bool,
config: WebhookMetaDeletedHookConfig,
created_at: String,
events: Vec<Events>,
id: i32,
name: String,
type: String,
updated_at: String,
) -> WebhookMetaDeletedHook
pub fn new( active: bool, config: WebhookMetaDeletedHookConfig, created_at: String, events: Vec<Events>, id: i32, name: String, type: String, updated_at: String, ) -> WebhookMetaDeletedHook
The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.
Trait Implementations§
Source§impl Clone for WebhookMetaDeletedHook
impl Clone for WebhookMetaDeletedHook
Source§fn clone(&self) -> WebhookMetaDeletedHook
fn clone(&self) -> WebhookMetaDeletedHook
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 WebhookMetaDeletedHook
impl Debug for WebhookMetaDeletedHook
Source§impl Default for WebhookMetaDeletedHook
impl Default for WebhookMetaDeletedHook
Source§fn default() -> WebhookMetaDeletedHook
fn default() -> WebhookMetaDeletedHook
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookMetaDeletedHook
impl<'de> Deserialize<'de> for WebhookMetaDeletedHook
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 WebhookMetaDeletedHook
impl PartialEq for WebhookMetaDeletedHook
Source§impl Serialize for WebhookMetaDeletedHook
impl Serialize for WebhookMetaDeletedHook
impl StructuralPartialEq for WebhookMetaDeletedHook
Auto Trait Implementations§
impl Freeze for WebhookMetaDeletedHook
impl RefUnwindSafe for WebhookMetaDeletedHook
impl Send for WebhookMetaDeletedHook
impl Sync for WebhookMetaDeletedHook
impl Unpin for WebhookMetaDeletedHook
impl UnwindSafe for WebhookMetaDeletedHook
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