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