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