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