pub struct StoryBase {
pub gid: Option<String>,
pub resource_type: Option<String>,
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>,
}
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.
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
Trait Implementations
sourceimpl<'de> Deserialize<'de> for StoryBase
impl<'de> Deserialize<'de> for StoryBase
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
impl StructuralPartialEq for StoryBase
Auto Trait Implementations
impl RefUnwindSafe for StoryBase
impl Send for StoryBase
impl Sync for StoryBase
impl Unpin for StoryBase
impl UnwindSafe for StoryBase
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