pub struct ProjectsV2Item {
pub archived_at: Option<DateTime<Utc>>,
pub content_node_id: String,
pub content_type: ProjectsV2ItemContentType,
pub created_at: DateTime<Utc>,
pub creator: User,
pub id: f64,
pub node_id: String,
pub project_node_id: String,
pub updated_at: DateTime<Utc>,
}
Expand description
The project item itself. To find more information about the project item, you can use node_id
(the node ID of the project item) and project_node_id
(the node ID of the project) to query information in the GraphQL API. For more information, see “Using the API to manage projects.”
JSON schema
{
"title": "Projects v2 Item",
"description": "The project item itself. To find more information about the project item, you can use `node_id` (the node ID of the project item) and `project_node_id` (the node ID of the project) to query information in the GraphQL API. For more information, see \"[Using the API to manage projects](https://docs.github.com/en/issues/trying-out-the-new-projects-experience/using-the-api-to-manage-projects).\"",
"type": "object",
"required": [
"archived_at",
"content_node_id",
"content_type",
"created_at",
"creator",
"id",
"node_id",
"project_node_id",
"updated_at"
],
"properties": {
"archived_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"content_node_id": {
"type": "string"
},
"content_type": {
"type": "string",
"enum": [
"DraftIssue",
"Issue",
"PullRequest"
]
},
"created_at": {
"type": "string",
"format": "date-time"
},
"creator": {
"$ref": "#/definitions/user"
},
"id": {
"type": "number"
},
"node_id": {
"type": "string"
},
"project_node_id": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§archived_at: Option<DateTime<Utc>>
§content_node_id: String
§content_type: ProjectsV2ItemContentType
§created_at: DateTime<Utc>
§creator: User
§id: f64
§node_id: String
§project_node_id: String
§updated_at: DateTime<Utc>
Implementations§
Source§impl ProjectsV2Item
impl ProjectsV2Item
pub fn builder() -> ProjectsV2Item
Trait Implementations§
Source§impl Clone for ProjectsV2Item
impl Clone for ProjectsV2Item
Source§fn clone(&self) -> ProjectsV2Item
fn clone(&self) -> ProjectsV2Item
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 ProjectsV2Item
impl Debug for ProjectsV2Item
Source§impl<'de> Deserialize<'de> for ProjectsV2Item
impl<'de> Deserialize<'de> for ProjectsV2Item
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<&ProjectsV2Item> for ProjectsV2Item
impl From<&ProjectsV2Item> for ProjectsV2Item
Source§fn from(value: &ProjectsV2Item) -> Self
fn from(value: &ProjectsV2Item) -> Self
Converts to this type from the input type.
Source§impl From<ProjectsV2Item> for ProjectsV2Item
impl From<ProjectsV2Item> for ProjectsV2Item
Source§fn from(value: ProjectsV2Item) -> Self
fn from(value: ProjectsV2Item) -> Self
Converts to this type from the input type.
Source§impl Serialize for ProjectsV2Item
impl Serialize for ProjectsV2Item
Source§impl TryFrom<ProjectsV2Item> for ProjectsV2Item
impl TryFrom<ProjectsV2Item> for ProjectsV2Item
Auto Trait Implementations§
impl Freeze for ProjectsV2Item
impl RefUnwindSafe for ProjectsV2Item
impl Send for ProjectsV2Item
impl Sync for ProjectsV2Item
impl Unpin for ProjectsV2Item
impl UnwindSafe for ProjectsV2Item
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