pub struct WebhookInstallationRepositoriesRemoved {
pub action: Action,
pub enterprise: Option<Box<EnterpriseWebhooks>>,
pub installation: Box<Installation>,
pub organization: Option<Box<OrganizationSimpleWebhooks>>,
pub repositories_added: Vec<WebhooksRepositoriesInner>,
pub repositories_removed: Vec<WebhooksRepositoriesInner>,
pub repository: Option<Box<RepositoryWebhooks>>,
pub repository_selection: WebhooksRepositorySelection,
pub requester: Option<Box<WebhooksUser>>,
pub sender: Box<SimpleUserWebhooks>,
}
Fields§
§action: Action
§enterprise: Option<Box<EnterpriseWebhooks>>
§installation: Box<Installation>
§organization: Option<Box<OrganizationSimpleWebhooks>>
§repositories_added: Vec<WebhooksRepositoriesInner>
An array of repository objects, which were added to the installation.
repositories_removed: Vec<WebhooksRepositoriesInner>
An array of repository objects, which were removed from the installation.
repository: Option<Box<RepositoryWebhooks>>
§repository_selection: WebhooksRepositorySelection
§requester: Option<Box<WebhooksUser>>
§sender: Box<SimpleUserWebhooks>
Implementations§
Source§impl WebhookInstallationRepositoriesRemoved
impl WebhookInstallationRepositoriesRemoved
pub fn new( action: Action, installation: Installation, repositories_added: Vec<WebhooksRepositoriesInner>, repositories_removed: Vec<WebhooksRepositoriesInner>, repository_selection: WebhooksRepositorySelection, requester: Option<WebhooksUser>, sender: SimpleUserWebhooks, ) -> WebhookInstallationRepositoriesRemoved
Trait Implementations§
Source§impl Clone for WebhookInstallationRepositoriesRemoved
impl Clone for WebhookInstallationRepositoriesRemoved
Source§fn clone(&self) -> WebhookInstallationRepositoriesRemoved
fn clone(&self) -> WebhookInstallationRepositoriesRemoved
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 WebhookInstallationRepositoriesRemoved
impl Default for WebhookInstallationRepositoriesRemoved
Source§fn default() -> WebhookInstallationRepositoriesRemoved
fn default() -> WebhookInstallationRepositoriesRemoved
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookInstallationRepositoriesRemoved
impl<'de> Deserialize<'de> for WebhookInstallationRepositoriesRemoved
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 WebhookInstallationRepositoriesRemoved
impl PartialEq for WebhookInstallationRepositoriesRemoved
Source§fn eq(&self, other: &WebhookInstallationRepositoriesRemoved) -> bool
fn eq(&self, other: &WebhookInstallationRepositoriesRemoved) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhookInstallationRepositoriesRemoved
Auto Trait Implementations§
impl Freeze for WebhookInstallationRepositoriesRemoved
impl RefUnwindSafe for WebhookInstallationRepositoriesRemoved
impl Send for WebhookInstallationRepositoriesRemoved
impl Sync for WebhookInstallationRepositoriesRemoved
impl Unpin for WebhookInstallationRepositoriesRemoved
impl UnwindSafe for WebhookInstallationRepositoriesRemoved
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