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