Struct octokit_rs::webhook::ProjectEdited
source · 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: UserImplementations§
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 copy 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 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