Struct google_transcoder1::api::AnimationFade
source · pub struct AnimationFade {
pub end_time_offset: Option<Duration>,
pub fade_type: Option<String>,
pub start_time_offset: Option<Duration>,
pub xy: Option<NormalizedCoordinate>,
}
Expand description
Display overlay object with fade animation.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_time_offset: Option<Duration>
The time to end the fade animation, in seconds. Default: start_time_offset
+ 1s
fade_type: Option<String>
Required. Type of fade animation: FADE_IN
or FADE_OUT
.
start_time_offset: Option<Duration>
The time to start the fade animation, in seconds. Default: 0
xy: Option<NormalizedCoordinate>
Normalized coordinates based on output video resolution. Valid values: 0.0
–1.0
. xy
is the upper-left coordinate of the overlay object. For example, use the x and y coordinates {0,0} to position the top-left corner of the overlay animation in the top-left corner of the output video.
Trait Implementations§
source§impl Clone for AnimationFade
impl Clone for AnimationFade
source§fn clone(&self) -> AnimationFade
fn clone(&self) -> AnimationFade
Returns a copy of the value. Read more
1.0.0 · 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 AnimationFade
impl Debug for AnimationFade
source§impl Default for AnimationFade
impl Default for AnimationFade
source§fn default() -> AnimationFade
fn default() -> AnimationFade
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AnimationFade
impl<'de> Deserialize<'de> for AnimationFade
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