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