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