pub struct WebhookStarDeleted {
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>,
pub starred_at: Option<Value>,
}
Fields§
§action: Action
§enterprise: Option<Box<EnterpriseWebhooks>>
§installation: Option<Box<SimpleInstallation>>
§organization: Option<Box<OrganizationSimpleWebhooks>>
§repository: Box<RepositoryWebhooks>
§sender: Box<SimpleUserWebhooks>
§starred_at: Option<Value>
The time the star was created. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
. Will be null
for the deleted
action.
Implementations§
Source§impl WebhookStarDeleted
impl WebhookStarDeleted
pub fn new( action: Action, repository: RepositoryWebhooks, sender: SimpleUserWebhooks, starred_at: Option<Value>, ) -> WebhookStarDeleted
Trait Implementations§
Source§impl Clone for WebhookStarDeleted
impl Clone for WebhookStarDeleted
Source§fn clone(&self) -> WebhookStarDeleted
fn clone(&self) -> WebhookStarDeleted
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 WebhookStarDeleted
impl Debug for WebhookStarDeleted
Source§impl Default for WebhookStarDeleted
impl Default for WebhookStarDeleted
Source§fn default() -> WebhookStarDeleted
fn default() -> WebhookStarDeleted
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookStarDeleted
impl<'de> Deserialize<'de> for WebhookStarDeleted
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 WebhookStarDeleted
impl PartialEq for WebhookStarDeleted
Source§impl Serialize for WebhookStarDeleted
impl Serialize for WebhookStarDeleted
impl StructuralPartialEq for WebhookStarDeleted
Auto Trait Implementations§
impl Freeze for WebhookStarDeleted
impl RefUnwindSafe for WebhookStarDeleted
impl Send for WebhookStarDeleted
impl Sync for WebhookStarDeleted
impl Unpin for WebhookStarDeleted
impl UnwindSafe for WebhookStarDeleted
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