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