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