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