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