pub struct WebhookInstallationNewPermissionsAccepted {
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<Value>>,
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<Value>>
§sender: Box<SimpleUserWebhooks>
Implementations§
Source§impl WebhookInstallationNewPermissionsAccepted
impl WebhookInstallationNewPermissionsAccepted
pub fn new( action: Action, installation: Installation, sender: SimpleUserWebhooks, ) -> WebhookInstallationNewPermissionsAccepted
Trait Implementations§
Source§impl Clone for WebhookInstallationNewPermissionsAccepted
impl Clone for WebhookInstallationNewPermissionsAccepted
Source§fn clone(&self) -> WebhookInstallationNewPermissionsAccepted
fn clone(&self) -> WebhookInstallationNewPermissionsAccepted
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 Default for WebhookInstallationNewPermissionsAccepted
impl Default for WebhookInstallationNewPermissionsAccepted
Source§fn default() -> WebhookInstallationNewPermissionsAccepted
fn default() -> WebhookInstallationNewPermissionsAccepted
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookInstallationNewPermissionsAccepted
impl<'de> Deserialize<'de> for WebhookInstallationNewPermissionsAccepted
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 WebhookInstallationNewPermissionsAccepted
impl PartialEq for WebhookInstallationNewPermissionsAccepted
Source§fn eq(&self, other: &WebhookInstallationNewPermissionsAccepted) -> bool
fn eq(&self, other: &WebhookInstallationNewPermissionsAccepted) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhookInstallationNewPermissionsAccepted
Auto Trait Implementations§
impl Freeze for WebhookInstallationNewPermissionsAccepted
impl RefUnwindSafe for WebhookInstallationNewPermissionsAccepted
impl Send for WebhookInstallationNewPermissionsAccepted
impl Sync for WebhookInstallationNewPermissionsAccepted
impl Unpin for WebhookInstallationNewPermissionsAccepted
impl UnwindSafe for WebhookInstallationNewPermissionsAccepted
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