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