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