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