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