pub struct WebhookInstallationCreated {
pub action: Action,
pub enterprise: Option<Box<EnterpriseWebhooks>>,
pub installation: Box<Installation>,
pub organization: Option<Box<OrganizationSimpleWebhooks>>,
pub repositories: Option<Vec<WebhooksRepositoriesInner>>,
pub repository: Option<Box<RepositoryWebhooks>>,
pub requester: Option<Option<Box<WebhooksUser>>>,
pub sender: Box<SimpleUserWebhooks>,
}
Fields§
§action: Action
§enterprise: Option<Box<EnterpriseWebhooks>>
§installation: Box<Installation>
§organization: Option<Box<OrganizationSimpleWebhooks>>
§repositories: Option<Vec<WebhooksRepositoriesInner>>
An array of repository objects that the installation can access.
repository: Option<Box<RepositoryWebhooks>>
§requester: Option<Option<Box<WebhooksUser>>>
§sender: Box<SimpleUserWebhooks>
Implementations§
Source§impl WebhookInstallationCreated
impl WebhookInstallationCreated
pub fn new( action: Action, installation: Installation, sender: SimpleUserWebhooks, ) -> WebhookInstallationCreated
Trait Implementations§
Source§impl Clone for WebhookInstallationCreated
impl Clone for WebhookInstallationCreated
Source§fn clone(&self) -> WebhookInstallationCreated
fn clone(&self) -> WebhookInstallationCreated
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 WebhookInstallationCreated
impl Debug for WebhookInstallationCreated
Source§impl Default for WebhookInstallationCreated
impl Default for WebhookInstallationCreated
Source§fn default() -> WebhookInstallationCreated
fn default() -> WebhookInstallationCreated
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookInstallationCreated
impl<'de> Deserialize<'de> for WebhookInstallationCreated
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
impl StructuralPartialEq for WebhookInstallationCreated
Auto Trait Implementations§
impl Freeze for WebhookInstallationCreated
impl RefUnwindSafe for WebhookInstallationCreated
impl Send for WebhookInstallationCreated
impl Sync for WebhookInstallationCreated
impl Unpin for WebhookInstallationCreated
impl UnwindSafe for WebhookInstallationCreated
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