pub struct AnimationCreateRequest {
pub name: String,
pub description: String,
pub is_premium: bool,
pub publish_at: Option<Publish>,
pub styles: Vec<AnimationStyleId>,
pub kind: AnimationKind,
pub is_looping: bool,
}
Expand description
Request to create a new animation.
Fields§
§name: String
The name of the animation.
description: String
The description of the animation.
Is the animation premium?
publish_at: Option<Publish>
When to publish the animation.
If Some
publish the animation according to the Publish
. Otherwise, don’t publish it.
styles: Vec<AnimationStyleId>
The styles associated with the animation.
kind: AnimationKind
What kind of animation this is.
is_looping: bool
Should the animation loop?
Trait Implementations§
Source§impl Debug for AnimationCreateRequest
impl Debug for AnimationCreateRequest
Source§impl<'de> Deserialize<'de> for AnimationCreateRequest
impl<'de> Deserialize<'de> for AnimationCreateRequest
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
Auto Trait Implementations§
impl Freeze for AnimationCreateRequest
impl RefUnwindSafe for AnimationCreateRequest
impl Send for AnimationCreateRequest
impl Sync for AnimationCreateRequest
impl Unpin for AnimationCreateRequest
impl UnwindSafe for AnimationCreateRequest
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