pub struct StoryCompact {
pub asana_resource: AsanaResource,
pub created_at: Option<DateTime<Utc>>,
pub created_by: Option<UserCompact>,
pub resource_subtype: Option<String>,
pub text: Option<String>,
}Fields§
§asana_resource: AsanaResourceA generic Asana Resource, containing a globally unique identifier.
created_at: Option<DateTime<Utc>>The time at which this resource was created.
created_by: Option<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.
Trait Implementations§
Source§impl Clone for StoryCompact
impl Clone for StoryCompact
Source§fn clone(&self) -> StoryCompact
fn clone(&self) -> StoryCompact
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StoryCompact
impl Debug for StoryCompact
Source§impl Default for StoryCompact
impl Default for StoryCompact
Source§fn default() -> StoryCompact
fn default() -> StoryCompact
Returns the “default value” for a type. Read more
Source§impl Deref for StoryCompact
impl Deref for StoryCompact
Source§impl DerefMut for StoryCompact
impl DerefMut for StoryCompact
Source§impl<'de> Deserialize<'de> for StoryCompact
impl<'de> Deserialize<'de> for StoryCompact
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 Display for StoryCompact
impl Display for StoryCompact
Auto Trait Implementations§
impl Freeze for StoryCompact
impl RefUnwindSafe for StoryCompact
impl Send for StoryCompact
impl Sync for StoryCompact
impl Unpin for StoryCompact
impl UnsafeUnpin for StoryCompact
impl UnwindSafe for StoryCompact
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