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