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