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