pub struct ProjectsV2ItemEdited {
pub action: ProjectsV2ItemEditedAction,
pub changes: ProjectsV2ItemEditedChanges,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub projects_v2_item: ProjectsV2Item,
pub sender: User,
}
Expand description
ProjectsV2ItemEdited
JSON schema
{
"title": "projects_v2_item edited event",
"type": "object",
"required": [
"action",
"changes",
"projects_v2_item",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"edited"
]
},
"changes": {
"type": "object",
"required": [
"field_value"
],
"properties": {
"field_value": {
"type": "object",
"required": [
"field_node_id",
"field_type"
],
"properties": {
"field_node_id": {
"type": "string"
},
"field_type": {
"type": "string",
"enum": [
"single_select",
"date",
"number",
"text",
"iteration"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"organization": {
"$ref": "#/definitions/organization"
},
"projects_v2_item": {
"$ref": "#/definitions/projects_v2_item"
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: ProjectsV2ItemEditedAction
§changes: ProjectsV2ItemEditedChanges
§installation: Option<InstallationLite>
§organization: Option<Organization>
§projects_v2_item: ProjectsV2Item
§sender: User
Implementations§
Source§impl ProjectsV2ItemEdited
impl ProjectsV2ItemEdited
pub fn builder() -> ProjectsV2ItemEdited
Trait Implementations§
Source§impl Clone for ProjectsV2ItemEdited
impl Clone for ProjectsV2ItemEdited
Source§fn clone(&self) -> ProjectsV2ItemEdited
fn clone(&self) -> ProjectsV2ItemEdited
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 ProjectsV2ItemEdited
impl Debug for ProjectsV2ItemEdited
Source§impl<'de> Deserialize<'de> for ProjectsV2ItemEdited
impl<'de> Deserialize<'de> for ProjectsV2ItemEdited
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<&ProjectsV2ItemEdited> for ProjectsV2ItemEdited
impl From<&ProjectsV2ItemEdited> for ProjectsV2ItemEdited
Source§fn from(value: &ProjectsV2ItemEdited) -> Self
fn from(value: &ProjectsV2ItemEdited) -> Self
Converts to this type from the input type.
Source§impl From<ProjectsV2ItemEdited> for ProjectsV2ItemEdited
impl From<ProjectsV2ItemEdited> for ProjectsV2ItemEdited
Source§fn from(value: ProjectsV2ItemEdited) -> Self
fn from(value: ProjectsV2ItemEdited) -> Self
Converts to this type from the input type.
Source§impl From<ProjectsV2ItemEdited> for ProjectsV2ItemEvent
impl From<ProjectsV2ItemEdited> for ProjectsV2ItemEvent
Source§fn from(value: ProjectsV2ItemEdited) -> Self
fn from(value: ProjectsV2ItemEdited) -> Self
Converts to this type from the input type.
Source§impl Serialize for ProjectsV2ItemEdited
impl Serialize for ProjectsV2ItemEdited
Auto Trait Implementations§
impl Freeze for ProjectsV2ItemEdited
impl RefUnwindSafe for ProjectsV2ItemEdited
impl Send for ProjectsV2ItemEdited
impl Sync for ProjectsV2ItemEdited
impl Unpin for ProjectsV2ItemEdited
impl UnwindSafe for ProjectsV2ItemEdited
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