Struct asana::models::project_status_response::ProjectStatusResponse
source · [−]pub struct ProjectStatusResponse {
pub gid: Option<String>,
pub resource_type: Option<String>,
pub title: Option<String>,
pub author: Option<Box<UserCompact>>,
pub modified_at: Option<Value>,
pub text: String,
pub html_text: Option<String>,
pub color: Color,
pub created_at: Option<String>,
pub created_by: Option<Box<UserCompact>>,
}
Fields
gid: Option<String>
Globally unique identifier of the resource, as a string.
resource_type: Option<String>
The base type of this resource.
title: Option<String>
The title of the project status update.
modified_at: Option<Value>
The time at which this project status was last modified. Note: This does not currently reflect any changes in associations such as comments that may have been added or removed from the project status.
text: String
The text content of the status update.
html_text: Option<String>
Opt In. The text content of the status update with formatting as HTML.
color: Color
The color associated with the status update.
created_at: Option<String>
The time at which this resource was created.
created_by: Option<Box<UserCompact>>
Implementations
sourceimpl ProjectStatusResponse
impl ProjectStatusResponse
pub fn new(text: String, color: Color) -> ProjectStatusResponse
Trait Implementations
sourceimpl Clone for ProjectStatusResponse
impl Clone for ProjectStatusResponse
sourcefn clone(&self) -> ProjectStatusResponse
fn clone(&self) -> ProjectStatusResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProjectStatusResponse
impl Debug for ProjectStatusResponse
sourceimpl<'de> Deserialize<'de> for ProjectStatusResponse
impl<'de> Deserialize<'de> for ProjectStatusResponse
sourcefn 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
sourceimpl PartialEq<ProjectStatusResponse> for ProjectStatusResponse
impl PartialEq<ProjectStatusResponse> for ProjectStatusResponse
sourcefn eq(&self, other: &ProjectStatusResponse) -> bool
fn eq(&self, other: &ProjectStatusResponse) -> bool
sourceimpl Serialize for ProjectStatusResponse
impl Serialize for ProjectStatusResponse
impl StructuralPartialEq for ProjectStatusResponse
Auto Trait Implementations
impl RefUnwindSafe for ProjectStatusResponse
impl Send for ProjectStatusResponse
impl Sync for ProjectStatusResponse
impl Unpin for ProjectStatusResponse
impl UnwindSafe for ProjectStatusResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more