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