Struct asana::models::story_compact::StoryCompact
source · [−]pub struct StoryCompact {
pub gid: Option<String>,
pub resource_type: Option<String>,
pub created_at: Option<String>,
pub created_by: Option<Box<UserCompact>>,
pub resource_subtype: Option<String>,
pub text: Option<String>,
}
Fields
gid: Option<String>
Globally unique identifier of the resource, as a string.
resource_type: Option<String>
The base type of this resource.
created_at: Option<String>
The time at which this resource was created.
created_by: Option<Box<UserCompact>>
resource_subtype: Option<String>
The subtype of this resource. Different subtypes retain many of the same fields and behavior, but may render differently in Asana or represent resources with different semantic meaning.
text: Option<String>
Create-only. Human-readable text for the story or comment. This will not include the name of the creator. Note: This is not guaranteed to be stable for a given type of story. For example, text for a reassignment may not always say “assigned to …” as the text for a story can both be edited and change based on the language settings of the user making the request. Use the resource_subtype
property to discover the action that created the story.
Implementations
sourceimpl StoryCompact
impl StoryCompact
pub fn new() -> StoryCompact
Trait Implementations
sourceimpl Clone for StoryCompact
impl Clone for StoryCompact
sourcefn clone(&self) -> StoryCompact
fn clone(&self) -> StoryCompact
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more