pub struct ProjectBase {
pub avatar_url: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub description: Option<String>,
pub id: Option<String>,
pub object: Option<String>,
pub organization_id: Option<String>,
pub slug: Option<String>,
pub updated_at: Option<DateTime<Utc>>,
}
Expand description
A Project is a unique identifier that you can use to manage and organize your work. Each project belongs to an organization.
JSON schema
{
"description": "A Project is a unique identifier that you can use to manage and organize your work. Each project belongs to an organization.",
"type": "object",
"properties": {
"avatar_url": {
"description": "Avatar URL of the project",
"readOnly": true,
"type": "string"
},
"created_at": {
"description": "Time at which the project was created",
"readOnly": true,
"examples": [
"2022-03-01T00:00:00Z"
],
"type": "string",
"format": "date-time"
},
"description": {
"description": "Description of the project",
"examples": [
"This is my project"
],
"type": "string"
},
"id": {
"description": "Unique identifier for the project",
"readOnly": true,
"type": "string"
},
"object": {
"description": "String representing the object's type. Objects of the same type share the same value",
"readOnly": true,
"examples": [
"project"
],
"type": "string"
},
"organization_id": {
"description": "Unique identifier for the organization the project belongs to",
"examples": [
"d290f1ee-6c54-4b01-90e6-d701748f0851"
],
"type": "string"
},
"slug": {
"description": "The Name of the project, URL-friendly string that identifies the project",
"examples": [
"my-project"
],
"type": "string"
},
"updated_at": {
"description": "Time at which the project was last updated",
"readOnly": true,
"examples": [
"2022-03-01T00:00:00Z"
],
"type": "string",
"format": "date-time"
}
}
}
Fields§
§avatar_url: Option<String>
Avatar URL of the project
created_at: Option<DateTime<Utc>>
Time at which the project was created
description: Option<String>
Description of the project
id: Option<String>
Unique identifier for the project
object: Option<String>
String representing the object’s type. Objects of the same type share the same value
organization_id: Option<String>
Unique identifier for the organization the project belongs to
slug: Option<String>
The Name of the project, URL-friendly string that identifies the project
updated_at: Option<DateTime<Utc>>
Time at which the project was last updated
Implementations§
Source§impl ProjectBase
impl ProjectBase
pub fn builder() -> ProjectBase
Trait Implementations§
Source§impl Clone for ProjectBase
impl Clone for ProjectBase
Source§fn clone(&self) -> ProjectBase
fn clone(&self) -> ProjectBase
Returns a copy 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 ProjectBase
impl Debug for ProjectBase
Source§impl Default for ProjectBase
impl Default for ProjectBase
Source§impl<'de> Deserialize<'de> for ProjectBase
impl<'de> Deserialize<'de> for ProjectBase
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<&ProjectBase> for ProjectBase
impl From<&ProjectBase> for ProjectBase
Source§fn from(value: &ProjectBase) -> Self
fn from(value: &ProjectBase) -> Self
Converts to this type from the input type.
Source§impl From<ProjectBase> for ProjectBase
impl From<ProjectBase> for ProjectBase
Source§fn from(value: ProjectBase) -> Self
fn from(value: ProjectBase) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for ProjectBase
impl JsonSchema for ProjectBase
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl Serialize for ProjectBase
impl Serialize for ProjectBase
Source§impl TryFrom<ProjectBase> for ProjectBase
impl TryFrom<ProjectBase> for ProjectBase
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ProjectBase) -> Result<Self, ConversionError>
fn try_from(value: ProjectBase) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ProjectBase
impl RefUnwindSafe for ProjectBase
impl Send for ProjectBase
impl Sync for ProjectBase
impl Unpin for ProjectBase
impl UnwindSafe for ProjectBase
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