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