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