pub struct ProjectClosed {
pub action: ProjectClosedAction,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub project: Project,
pub repository: Repository,
pub sender: User,
}
Expand description
ProjectClosed
JSON schema
{
"title": "project closed event",
"type": "object",
"required": [
"action",
"project",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"closed"
]
},
"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: ProjectClosedAction
§installation: Option<InstallationLite>
§organization: Option<Organization>
§project: Project
§repository: Repository
§sender: User
Implementations§
Source§impl ProjectClosed
impl ProjectClosed
pub fn builder() -> ProjectClosed
Trait Implementations§
Source§impl Clone for ProjectClosed
impl Clone for ProjectClosed
Source§fn clone(&self) -> ProjectClosed
fn clone(&self) -> ProjectClosed
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 ProjectClosed
impl Debug for ProjectClosed
Source§impl<'de> Deserialize<'de> for ProjectClosed
impl<'de> Deserialize<'de> for ProjectClosed
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<&ProjectClosed> for ProjectClosed
impl From<&ProjectClosed> for ProjectClosed
Source§fn from(value: &ProjectClosed) -> Self
fn from(value: &ProjectClosed) -> Self
Converts to this type from the input type.
Source§impl From<ProjectClosed> for ProjectClosed
impl From<ProjectClosed> for ProjectClosed
Source§fn from(value: ProjectClosed) -> Self
fn from(value: ProjectClosed) -> Self
Converts to this type from the input type.
Source§impl From<ProjectClosed> for ProjectEvent
impl From<ProjectClosed> for ProjectEvent
Source§fn from(value: ProjectClosed) -> Self
fn from(value: ProjectClosed) -> Self
Converts to this type from the input type.
Source§impl Serialize for ProjectClosed
impl Serialize for ProjectClosed
Source§impl TryFrom<ProjectClosed> for ProjectClosed
impl TryFrom<ProjectClosed> for ProjectClosed
Auto Trait Implementations§
impl Freeze for ProjectClosed
impl RefUnwindSafe for ProjectClosed
impl Send for ProjectClosed
impl Sync for ProjectClosed
impl Unpin for ProjectClosed
impl UnwindSafe for ProjectClosed
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