pub struct StarDeleted {
pub action: StarDeletedAction,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: User,
pub starred_at: (),
}
Expand description
StarDeleted
JSON schema
{
"title": "star deleted event",
"type": "object",
"required": [
"action",
"repository",
"sender",
"starred_at"
],
"properties": {
"action": {
"type": "string",
"enum": [
"deleted"
]
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"organization": {
"$ref": "#/definitions/organization"
},
"repository": {
"$ref": "#/definitions/repository"
},
"sender": {
"$ref": "#/definitions/user"
},
"starred_at": {
"description": "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.",
"type": "null"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: StarDeletedAction
§installation: Option<InstallationLite>
§organization: Option<Organization>
§repository: Repository
§sender: User
§starred_at: ()
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 StarDeleted
impl StarDeleted
pub fn builder() -> StarDeleted
Trait Implementations§
Source§impl Clone for StarDeleted
impl Clone for StarDeleted
Source§fn clone(&self) -> StarDeleted
fn clone(&self) -> StarDeleted
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 StarDeleted
impl Debug for StarDeleted
Source§impl<'de> Deserialize<'de> for StarDeleted
impl<'de> Deserialize<'de> for StarDeleted
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 From<&StarDeleted> for StarDeleted
impl From<&StarDeleted> for StarDeleted
Source§fn from(value: &StarDeleted) -> Self
fn from(value: &StarDeleted) -> Self
Converts to this type from the input type.
Source§impl From<StarDeleted> for StarDeleted
impl From<StarDeleted> for StarDeleted
Source§fn from(value: StarDeleted) -> Self
fn from(value: StarDeleted) -> Self
Converts to this type from the input type.
Source§impl From<StarDeleted> for StarEvent
impl From<StarDeleted> for StarEvent
Source§fn from(value: StarDeleted) -> Self
fn from(value: StarDeleted) -> Self
Converts to this type from the input type.
Source§impl Serialize for StarDeleted
impl Serialize for StarDeleted
Source§impl TryFrom<StarDeleted> for StarDeleted
impl TryFrom<StarDeleted> for StarDeleted
Auto Trait Implementations§
impl Freeze for StarDeleted
impl RefUnwindSafe for StarDeleted
impl Send for StarDeleted
impl Sync for StarDeleted
impl Unpin for StarDeleted
impl UnwindSafe for StarDeleted
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