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