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