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