Struct google_transcoder1_beta1::api::AnimationFade [−][src]
pub struct AnimationFade {
pub end_time_offset: Option<String>,
pub fade_type: Option<String>,
pub start_time_offset: Option<String>,
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<String>
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<String>
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
Returns the “default value” for a type. Read more
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 RefUnwindSafe for AnimationFade
impl Send for AnimationFade
impl Sync for AnimationFade
impl Unpin for AnimationFade
impl UnwindSafe for AnimationFade
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more