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