Struct asana::models::story_base_all_of::StoryBaseAllOf
source · [−]pub struct StoryBaseAllOf {
pub created_at: Option<String>,
pub resource_subtype: Option<String>,
pub text: Option<String>,
pub html_text: Option<String>,
pub is_pinned: Option<bool>,
pub sticker_name: Option<StickerName>,
}
Expand description
StoryBaseAllOf : A story represents an activity associated with an object in the Asana system.
Fields
created_at: Option<String>
The time at which this resource was created.
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>
The plain text of the comment to add. Cannot be used with html_text.
html_text: Option<String>
Opt In. HTML formatted text for a comment. This will not include the name of the creator.
is_pinned: Option<bool>
Conditional. Whether the story should be pinned on the resource.
sticker_name: Option<StickerName>
The name of the sticker in this story. null
if there is no sticker.
Implementations
sourceimpl StoryBaseAllOf
impl StoryBaseAllOf
sourcepub fn new() -> StoryBaseAllOf
pub fn new() -> StoryBaseAllOf
A story represents an activity associated with an object in the Asana system.
Trait Implementations
sourceimpl Clone for StoryBaseAllOf
impl Clone for StoryBaseAllOf
sourcefn clone(&self) -> StoryBaseAllOf
fn clone(&self) -> StoryBaseAllOf
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 StoryBaseAllOf
impl Debug for StoryBaseAllOf
sourceimpl<'de> Deserialize<'de> for StoryBaseAllOf
impl<'de> Deserialize<'de> for StoryBaseAllOf
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<StoryBaseAllOf> for StoryBaseAllOf
impl PartialEq<StoryBaseAllOf> for StoryBaseAllOf
sourcefn eq(&self, other: &StoryBaseAllOf) -> bool
fn eq(&self, other: &StoryBaseAllOf) -> bool
sourceimpl Serialize for StoryBaseAllOf
impl Serialize for StoryBaseAllOf
impl StructuralPartialEq for StoryBaseAllOf
Auto Trait Implementations
impl RefUnwindSafe for StoryBaseAllOf
impl Send for StoryBaseAllOf
impl Sync for StoryBaseAllOf
impl Unpin for StoryBaseAllOf
impl UnwindSafe for StoryBaseAllOf
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