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