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