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