pub struct ProjectsV2ItemConverted {
pub action: ProjectsV2ItemConvertedAction,
pub changes: ProjectsV2ItemConvertedChanges,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub projects_v2_item: ProjectsV2ItemConvertedProjectsV2Item,
pub sender: User,
}
Expand description
ProjectsV2ItemConverted
JSON schema
{
"title": "projects_v2_item converted event",
"type": "object",
"required": [
"action",
"changes",
"projects_v2_item",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"converted"
]
},
"changes": {
"type": "object",
"required": [
"content_type"
],
"properties": {
"content_type": {
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"from": {
"type": "string",
"enum": [
"DraftIssue"
]
},
"to": {
"type": "string",
"enum": [
"Issue"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"organization": {
"$ref": "#/definitions/organization"
},
"projects_v2_item": {
"allOf": [
{
"$ref": "#/definitions/projects_v2_item"
},
{
"type": "object",
"required": [
"content_type"
],
"properties": {
"content_type": {
"type": "string",
"enum": [
"Issue"
]
}
},
"tsAdditionalProperties": false
}
]
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: ProjectsV2ItemConvertedAction
§changes: ProjectsV2ItemConvertedChanges
§installation: Option<InstallationLite>
§organization: Option<Organization>
§projects_v2_item: ProjectsV2ItemConvertedProjectsV2Item
§sender: User
Implementations§
Source§impl ProjectsV2ItemConverted
impl ProjectsV2ItemConverted
pub fn builder() -> ProjectsV2ItemConverted
Trait Implementations§
Source§impl Clone for ProjectsV2ItemConverted
impl Clone for ProjectsV2ItemConverted
Source§fn clone(&self) -> ProjectsV2ItemConverted
fn clone(&self) -> ProjectsV2ItemConverted
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 ProjectsV2ItemConverted
impl Debug for ProjectsV2ItemConverted
Source§impl<'de> Deserialize<'de> for ProjectsV2ItemConverted
impl<'de> Deserialize<'de> for ProjectsV2ItemConverted
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<&ProjectsV2ItemConverted> for ProjectsV2ItemConverted
impl From<&ProjectsV2ItemConverted> for ProjectsV2ItemConverted
Source§fn from(value: &ProjectsV2ItemConverted) -> Self
fn from(value: &ProjectsV2ItemConverted) -> Self
Converts to this type from the input type.
Source§impl From<ProjectsV2ItemConverted> for ProjectsV2ItemConverted
impl From<ProjectsV2ItemConverted> for ProjectsV2ItemConverted
Source§fn from(value: ProjectsV2ItemConverted) -> Self
fn from(value: ProjectsV2ItemConverted) -> Self
Converts to this type from the input type.
Source§impl From<ProjectsV2ItemConverted> for ProjectsV2ItemEvent
impl From<ProjectsV2ItemConverted> for ProjectsV2ItemEvent
Source§fn from(value: ProjectsV2ItemConverted) -> Self
fn from(value: ProjectsV2ItemConverted) -> Self
Converts to this type from the input type.
Source§impl Serialize for ProjectsV2ItemConverted
impl Serialize for ProjectsV2ItemConverted
Auto Trait Implementations§
impl Freeze for ProjectsV2ItemConverted
impl RefUnwindSafe for ProjectsV2ItemConverted
impl Send for ProjectsV2ItemConverted
impl Sync for ProjectsV2ItemConverted
impl Unpin for ProjectsV2ItemConverted
impl UnwindSafe for ProjectsV2ItemConverted
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