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