Struct google_transcoder1::api::AnimationStatic
source · pub struct AnimationStatic {
pub start_time_offset: Option<Duration>,
pub xy: Option<NormalizedCoordinate>,
}
Expand description
Display static overlay object.
This type is not used in any activity, and only used as part of another schema.
Fields§
§start_time_offset: Option<Duration>
The time to start displaying the overlay object, 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 AnimationStatic
impl Clone for AnimationStatic
source§fn clone(&self) -> AnimationStatic
fn clone(&self) -> AnimationStatic
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 AnimationStatic
impl Debug for AnimationStatic
source§impl Default for AnimationStatic
impl Default for AnimationStatic
source§fn default() -> AnimationStatic
fn default() -> AnimationStatic
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AnimationStatic
impl<'de> Deserialize<'de> for AnimationStatic
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
source§impl Serialize for AnimationStatic
impl Serialize for AnimationStatic
impl Part for AnimationStatic
Auto Trait Implementations§
impl RefUnwindSafe for AnimationStatic
impl Send for AnimationStatic
impl Sync for AnimationStatic
impl Unpin for AnimationStatic
impl UnwindSafe for AnimationStatic
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