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