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