pub struct StoryResponseAllOf {
Show 37 fields pub created_by: Option<Box<UserCompact>>, pub is_edited: Option<bool>, pub hearted: Option<bool>, pub hearts: Option<Vec<Like>>, pub num_hearts: Option<i32>, pub liked: Option<bool>, pub likes: Option<Vec<Like>>, pub num_likes: Option<i32>, pub previews: Option<Vec<Preview>>, pub old_name: Option<String>, pub new_name: Option<String>, pub old_dates: Option<Box<StoryResponseDates>>, pub new_dates: Option<Box<StoryResponseDates>>, pub old_resource_subtype: Option<String>, pub new_resource_subtype: Option<String>, pub story: Option<Box<StoryCompact>>, pub assignee: Option<Box<UserCompact>>, pub follower: Option<Box<UserCompact>>, pub old_section: Option<Box<SectionCompact>>, pub new_section: Option<Box<SectionCompact>>, pub task: Option<Box<TaskCompact>>, pub project: Option<Box<ProjectCompact>>, pub tag: Option<Box<TagCompact>>, pub custom_field: Option<Box<CustomFieldCompact>>, pub old_text_value: Option<String>, pub new_text_value: Option<String>, pub old_number_value: Option<i32>, pub new_number_value: Option<i32>, pub old_enum_value: Option<Box<EnumOption>>, pub new_enum_value: Option<Box<EnumOption>>, pub new_approval_status: Option<String>, pub old_approval_status: Option<String>, pub duplicate_of: Option<Box<TaskCompact>>, pub duplicated_from: Option<Box<TaskCompact>>, pub dependency: Option<Box<TaskCompact>>, pub source: Option<Source>, pub target: Option<Box<Value>>,
}

Fields

created_by: Option<Box<UserCompact>>is_edited: Option<bool>

Conditional. Whether the text of the story has been edited after creation.

hearted: Option<bool>

Deprecated - please use likes instead Conditional. True if the story is hearted by the authorized user, false if not.

hearts: Option<Vec<Like>>

Deprecated - please use likes instead Conditional. Array of likes for users who have hearted this story.

num_hearts: Option<i32>

Deprecated - please use likes instead Conditional. The number of users who have hearted this story.

liked: Option<bool>

Conditional. True if the story is liked by the authorized user, false if not.

likes: Option<Vec<Like>>

Conditional. Array of likes for users who have liked this story.

num_likes: Option<i32>

Conditional. The number of users who have liked this story.

previews: Option<Vec<Preview>>

Conditional. A collection of previews to be displayed in the story. Note: This property only exists for comment stories.

old_name: Option<String>

Conditional

new_name: Option<String>

Conditional

old_dates: Option<Box<StoryResponseDates>>new_dates: Option<Box<StoryResponseDates>>old_resource_subtype: Option<String>

Conditional

new_resource_subtype: Option<String>

Conditional

story: Option<Box<StoryCompact>>assignee: Option<Box<UserCompact>>follower: Option<Box<UserCompact>>old_section: Option<Box<SectionCompact>>new_section: Option<Box<SectionCompact>>task: Option<Box<TaskCompact>>project: Option<Box<ProjectCompact>>tag: Option<Box<TagCompact>>custom_field: Option<Box<CustomFieldCompact>>old_text_value: Option<String>

Conditional

new_text_value: Option<String>

Conditional

old_number_value: Option<i32>

Conditional

new_number_value: Option<i32>

Conditional

old_enum_value: Option<Box<EnumOption>>new_enum_value: Option<Box<EnumOption>>new_approval_status: Option<String>

Conditional

old_approval_status: Option<String>

Conditional

duplicate_of: Option<Box<TaskCompact>>duplicated_from: Option<Box<TaskCompact>>dependency: Option<Box<TaskCompact>>source: Option<Source>

The component of the Asana product the user used to trigger the story.

target: Option<Box<Value>>

The object this story is associated with. Currently may only be a task.

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more