pub struct ProjectCardEdited {
pub action: ProjectCardEditedAction,
pub changes: ProjectCardEditedChanges,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub project_card: ProjectCard,
pub repository: Option<Repository>,
pub sender: User,
}
Expand description
ProjectCardEdited
JSON schema
{
"title": "project_card edited event",
"type": "object",
"required": [
"action",
"changes",
"project_card",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"edited"
]
},
"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: ProjectCardEditedAction
§changes: ProjectCardEditedChanges
§installation: Option<InstallationLite>
§organization: Option<Organization>
§project_card: ProjectCard
§repository: Option<Repository>
§sender: User
Implementations§
Source§impl ProjectCardEdited
impl ProjectCardEdited
pub fn builder() -> ProjectCardEdited
Trait Implementations§
Source§impl Clone for ProjectCardEdited
impl Clone for ProjectCardEdited
Source§fn clone(&self) -> ProjectCardEdited
fn clone(&self) -> ProjectCardEdited
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 ProjectCardEdited
impl Debug for ProjectCardEdited
Source§impl<'de> Deserialize<'de> for ProjectCardEdited
impl<'de> Deserialize<'de> for ProjectCardEdited
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<&ProjectCardEdited> for ProjectCardEdited
impl From<&ProjectCardEdited> for ProjectCardEdited
Source§fn from(value: &ProjectCardEdited) -> Self
fn from(value: &ProjectCardEdited) -> Self
Converts to this type from the input type.
Source§impl From<ProjectCardEdited> for ProjectCardEdited
impl From<ProjectCardEdited> for ProjectCardEdited
Source§fn from(value: ProjectCardEdited) -> Self
fn from(value: ProjectCardEdited) -> Self
Converts to this type from the input type.
Source§impl From<ProjectCardEdited> for ProjectCardEvent
impl From<ProjectCardEdited> for ProjectCardEvent
Source§fn from(value: ProjectCardEdited) -> Self
fn from(value: ProjectCardEdited) -> Self
Converts to this type from the input type.
Source§impl Serialize for ProjectCardEdited
impl Serialize for ProjectCardEdited
Source§impl TryFrom<ProjectCardEdited> for ProjectCardEdited
impl TryFrom<ProjectCardEdited> for ProjectCardEdited
Auto Trait Implementations§
impl Freeze for ProjectCardEdited
impl RefUnwindSafe for ProjectCardEdited
impl Send for ProjectCardEdited
impl Sync for ProjectCardEdited
impl Unpin for ProjectCardEdited
impl UnwindSafe for ProjectCardEdited
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