pub struct ProjectBaseWithoutOrgId {
pub avatar_url: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub description: Option<String>,
pub id: Option<String>,
pub object: 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"
},
"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
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 ProjectBaseWithoutOrgId
impl ProjectBaseWithoutOrgId
pub fn builder() -> ProjectBaseWithoutOrgId
Trait Implementations§
Source§impl Clone for ProjectBaseWithoutOrgId
impl Clone for ProjectBaseWithoutOrgId
Source§fn clone(&self) -> ProjectBaseWithoutOrgId
fn clone(&self) -> ProjectBaseWithoutOrgId
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 ProjectBaseWithoutOrgId
impl Debug for ProjectBaseWithoutOrgId
Source§impl Default for ProjectBaseWithoutOrgId
impl Default for ProjectBaseWithoutOrgId
Source§impl<'de> Deserialize<'de> for ProjectBaseWithoutOrgId
impl<'de> Deserialize<'de> for ProjectBaseWithoutOrgId
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<&ProjectBaseWithoutOrgId> for ProjectBaseWithoutOrgId
impl From<&ProjectBaseWithoutOrgId> for ProjectBaseWithoutOrgId
Source§fn from(value: &ProjectBaseWithoutOrgId) -> Self
fn from(value: &ProjectBaseWithoutOrgId) -> Self
Converts to this type from the input type.
Source§impl From<ProjectBaseWithoutOrgId> for ProjectBaseWithoutOrgId
impl From<ProjectBaseWithoutOrgId> for ProjectBaseWithoutOrgId
Source§fn from(value: ProjectBaseWithoutOrgId) -> Self
fn from(value: ProjectBaseWithoutOrgId) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for ProjectBaseWithoutOrgId
impl JsonSchema for ProjectBaseWithoutOrgId
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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 ProjectBaseWithoutOrgId
impl Serialize for ProjectBaseWithoutOrgId
Source§impl TryFrom<ProjectBaseWithoutOrgId> for ProjectBaseWithoutOrgId
impl TryFrom<ProjectBaseWithoutOrgId> for ProjectBaseWithoutOrgId
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ProjectBaseWithoutOrgId) -> Result<Self, ConversionError>
fn try_from(value: ProjectBaseWithoutOrgId) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ProjectBaseWithoutOrgId
impl RefUnwindSafe for ProjectBaseWithoutOrgId
impl Send for ProjectBaseWithoutOrgId
impl Sync for ProjectBaseWithoutOrgId
impl Unpin for ProjectBaseWithoutOrgId
impl UnwindSafe for ProjectBaseWithoutOrgId
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