Struct asana::models::project_status_base::ProjectStatusBase
source · [−]pub struct ProjectStatusBase {
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,
}
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.
Implementations
sourceimpl ProjectStatusBase
impl ProjectStatusBase
pub fn new(text: String, color: Color) -> ProjectStatusBase
Trait Implementations
sourceimpl Clone for ProjectStatusBase
impl Clone for ProjectStatusBase
sourcefn clone(&self) -> ProjectStatusBase
fn clone(&self) -> ProjectStatusBase
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 ProjectStatusBase
impl Debug for ProjectStatusBase
sourceimpl<'de> Deserialize<'de> for ProjectStatusBase
impl<'de> Deserialize<'de> for ProjectStatusBase
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<ProjectStatusBase> for ProjectStatusBase
impl PartialEq<ProjectStatusBase> for ProjectStatusBase
sourcefn eq(&self, other: &ProjectStatusBase) -> bool
fn eq(&self, other: &ProjectStatusBase) -> bool
sourceimpl Serialize for ProjectStatusBase
impl Serialize for ProjectStatusBase
impl StructuralPartialEq for ProjectStatusBase
Auto Trait Implementations
impl RefUnwindSafe for ProjectStatusBase
impl Send for ProjectStatusBase
impl Sync for ProjectStatusBase
impl Unpin for ProjectStatusBase
impl UnwindSafe for ProjectStatusBase
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