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