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