pub struct WebhookPackageUpdatedPackage {
pub created_at: String,
pub description: Option<String>,
pub ecosystem: String,
pub html_url: String,
pub id: i32,
pub name: String,
pub namespace: String,
pub owner: Option<Box<User>>,
pub package_type: String,
pub package_version: Box<WebhookPackageUpdatedPackagePackageVersion>,
pub registry: Option<Box<WebhookPackagePublishedPackageRegistry>>,
pub updated_at: String,
}
Expand description
WebhookPackageUpdatedPackage : Information about the package.
Fields§
§created_at: String
§description: Option<String>
§ecosystem: String
§html_url: String
§id: i32
§name: String
§namespace: String
§owner: Option<Box<User>>
§package_type: String
§package_version: Box<WebhookPackageUpdatedPackagePackageVersion>
§registry: Option<Box<WebhookPackagePublishedPackageRegistry>>
§updated_at: String
Implementations§
Source§impl WebhookPackageUpdatedPackage
impl WebhookPackageUpdatedPackage
Sourcepub fn new(
created_at: String,
description: Option<String>,
ecosystem: String,
html_url: String,
id: i32,
name: String,
namespace: String,
owner: Option<User>,
package_type: String,
package_version: WebhookPackageUpdatedPackagePackageVersion,
registry: Option<WebhookPackagePublishedPackageRegistry>,
updated_at: String,
) -> WebhookPackageUpdatedPackage
pub fn new( created_at: String, description: Option<String>, ecosystem: String, html_url: String, id: i32, name: String, namespace: String, owner: Option<User>, package_type: String, package_version: WebhookPackageUpdatedPackagePackageVersion, registry: Option<WebhookPackagePublishedPackageRegistry>, updated_at: String, ) -> WebhookPackageUpdatedPackage
Information about the package.
Trait Implementations§
Source§impl Clone for WebhookPackageUpdatedPackage
impl Clone for WebhookPackageUpdatedPackage
Source§fn clone(&self) -> WebhookPackageUpdatedPackage
fn clone(&self) -> WebhookPackageUpdatedPackage
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 WebhookPackageUpdatedPackage
impl Debug for WebhookPackageUpdatedPackage
Source§impl Default for WebhookPackageUpdatedPackage
impl Default for WebhookPackageUpdatedPackage
Source§fn default() -> WebhookPackageUpdatedPackage
fn default() -> WebhookPackageUpdatedPackage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookPackageUpdatedPackage
impl<'de> Deserialize<'de> for WebhookPackageUpdatedPackage
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 WebhookPackageUpdatedPackage
impl PartialEq for WebhookPackageUpdatedPackage
Source§fn eq(&self, other: &WebhookPackageUpdatedPackage) -> bool
fn eq(&self, other: &WebhookPackageUpdatedPackage) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhookPackageUpdatedPackage
Auto Trait Implementations§
impl Freeze for WebhookPackageUpdatedPackage
impl RefUnwindSafe for WebhookPackageUpdatedPackage
impl Send for WebhookPackageUpdatedPackage
impl Sync for WebhookPackageUpdatedPackage
impl Unpin for WebhookPackageUpdatedPackage
impl UnwindSafe for WebhookPackageUpdatedPackage
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