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