pub struct WebhookMemberEdited {
pub action: Action,
pub changes: Box<WebhookMemberEditedChanges>,
pub enterprise: Option<Box<EnterpriseWebhooks>>,
pub installation: Option<Box<SimpleInstallation>>,
pub member: Option<Box<WebhooksUser>>,
pub organization: Option<Box<OrganizationSimpleWebhooks>>,
pub repository: Box<RepositoryWebhooks>,
pub sender: Box<SimpleUserWebhooks>,
}
Fields§
§action: Action
§changes: Box<WebhookMemberEditedChanges>
§enterprise: Option<Box<EnterpriseWebhooks>>
§installation: Option<Box<SimpleInstallation>>
§member: Option<Box<WebhooksUser>>
§organization: Option<Box<OrganizationSimpleWebhooks>>
§repository: Box<RepositoryWebhooks>
§sender: Box<SimpleUserWebhooks>
Implementations§
Source§impl WebhookMemberEdited
impl WebhookMemberEdited
pub fn new( action: Action, changes: WebhookMemberEditedChanges, member: Option<WebhooksUser>, repository: RepositoryWebhooks, sender: SimpleUserWebhooks, ) -> WebhookMemberEdited
Trait Implementations§
Source§impl Clone for WebhookMemberEdited
impl Clone for WebhookMemberEdited
Source§fn clone(&self) -> WebhookMemberEdited
fn clone(&self) -> WebhookMemberEdited
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 Debug for WebhookMemberEdited
impl Debug for WebhookMemberEdited
Source§impl Default for WebhookMemberEdited
impl Default for WebhookMemberEdited
Source§fn default() -> WebhookMemberEdited
fn default() -> WebhookMemberEdited
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookMemberEdited
impl<'de> Deserialize<'de> for WebhookMemberEdited
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 WebhookMemberEdited
impl PartialEq for WebhookMemberEdited
Source§impl Serialize for WebhookMemberEdited
impl Serialize for WebhookMemberEdited
impl StructuralPartialEq for WebhookMemberEdited
Auto Trait Implementations§
impl Freeze for WebhookMemberEdited
impl RefUnwindSafe for WebhookMemberEdited
impl Send for WebhookMemberEdited
impl Sync for WebhookMemberEdited
impl Unpin for WebhookMemberEdited
impl UnwindSafe for WebhookMemberEdited
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