pub struct Project {Show 13 fields
pub body: Option<String>,
pub columns_url: String,
pub created_at: DateTime<Utc>,
pub creator: User,
pub html_url: String,
pub id: i64,
pub name: String,
pub node_id: String,
pub number: i64,
pub owner_url: String,
pub state: ProjectState,
pub updated_at: DateTime<Utc>,
pub url: String,
}
Expand description
Project
JSON schema
{
"title": "Project",
"type": "object",
"required": [
"body",
"columns_url",
"created_at",
"creator",
"html_url",
"id",
"name",
"node_id",
"number",
"owner_url",
"state",
"updated_at",
"url"
],
"properties": {
"body": {
"description": "Body of the project",
"type": [
"string",
"null"
]
},
"columns_url": {
"type": "string",
"format": "uri"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"creator": {
"$ref": "#/definitions/user"
},
"html_url": {
"type": "string",
"format": "uri"
},
"id": {
"type": "integer"
},
"name": {
"description": "Name of the project",
"type": "string"
},
"node_id": {
"type": "string"
},
"number": {
"type": "integer"
},
"owner_url": {
"type": "string",
"format": "uri"
},
"state": {
"description": "State of the project; either 'open' or 'closed'",
"type": "string",
"enum": [
"open",
"closed"
]
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"url": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§body: Option<String>
Body of the project
columns_url: String
§created_at: DateTime<Utc>
§creator: User
§html_url: String
§id: i64
§name: String
Name of the project
node_id: String
§number: i64
§owner_url: String
§state: ProjectState
State of the project; either ‘open’ or ‘closed’
updated_at: DateTime<Utc>
§url: String
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Project
impl<'de> Deserialize<'de> for Project
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
Auto Trait Implementations§
impl Freeze for Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnwindSafe for Project
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