pub struct ProjectCard {Show 13 fields
pub after_id: Option<ProjectCardAfterId>,
pub archived: bool,
pub column_id: i64,
pub column_url: String,
pub content_url: Option<String>,
pub created_at: DateTime<Utc>,
pub creator: User,
pub id: i64,
pub node_id: String,
pub note: Option<String>,
pub project_url: String,
pub updated_at: DateTime<Utc>,
pub url: String,
}
Expand description
ProjectCard
JSON schema
{
"title": "Project Card",
"type": "object",
"required": [
"archived",
"column_id",
"column_url",
"created_at",
"creator",
"id",
"node_id",
"note",
"project_url",
"updated_at",
"url"
],
"properties": {
"after_id": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
},
"archived": {
"description": "Whether or not the card is archived",
"type": "boolean"
},
"column_id": {
"type": "integer"
},
"column_url": {
"type": "string",
"format": "uri"
},
"content_url": {
"type": "string",
"format": "uri"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"creator": {
"$ref": "#/definitions/user"
},
"id": {
"description": "The project card's ID",
"type": "integer"
},
"node_id": {
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"project_url": {
"type": "string",
"format": "uri"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"url": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§after_id: Option<ProjectCardAfterId>
§archived: bool
Whether or not the card is archived
column_id: i64
§column_url: String
§content_url: Option<String>
§created_at: DateTime<Utc>
§creator: User
§id: i64
The project card’s ID
node_id: String
§note: Option<String>
§project_url: String
§updated_at: DateTime<Utc>
§url: String
Implementations§
Source§impl ProjectCard
impl ProjectCard
pub fn builder() -> ProjectCard
Trait Implementations§
Source§impl Clone for ProjectCard
impl Clone for ProjectCard
Source§fn clone(&self) -> ProjectCard
fn clone(&self) -> ProjectCard
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 ProjectCard
impl Debug for ProjectCard
Source§impl<'de> Deserialize<'de> for ProjectCard
impl<'de> Deserialize<'de> for ProjectCard
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<&ProjectCard> for ProjectCard
impl From<&ProjectCard> for ProjectCard
Source§fn from(value: &ProjectCard) -> Self
fn from(value: &ProjectCard) -> Self
Converts to this type from the input type.
Source§impl From<ProjectCard> for ProjectCard
impl From<ProjectCard> for ProjectCard
Source§fn from(value: ProjectCard) -> Self
fn from(value: ProjectCard) -> Self
Converts to this type from the input type.
Source§impl Serialize for ProjectCard
impl Serialize for ProjectCard
Source§impl TryFrom<ProjectCard> for ProjectCard
impl TryFrom<ProjectCard> for ProjectCard
Auto Trait Implementations§
impl Freeze for ProjectCard
impl RefUnwindSafe for ProjectCard
impl Send for ProjectCard
impl Sync for ProjectCard
impl Unpin for ProjectCard
impl UnwindSafe for ProjectCard
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