Struct gapi_grpc::google::cloud::video::transcoder::v1beta1::overlay::AnimationFade[][src]

pub struct AnimationFade {
    pub fade_type: i32,
    pub xy: Option<NormalizedCoordinate>,
    pub start_time_offset: Option<Duration>,
    pub end_time_offset: Option<Duration>,
}

Display overlay object with fade animation.

Fields

fade_type: i32

Required. Type of fade animation: FADE_IN or FADE_OUT.

xy: Option<NormalizedCoordinate>

Normalized coordinates based on output video resolution. Valid values: 0.01.0. xy is the upper-left coordinate of the overlay object.

start_time_offset: Option<Duration>

The time to start the fade animation, in seconds. Default: 0

end_time_offset: Option<Duration>

The time to end the fade animation, in seconds. Default: start_time_offset + 1s

Implementations

impl AnimationFade[src]

pub fn fade_type(&self) -> FadeType[src]

Returns the enum value of fade_type, or the default if the field is set to an invalid enum value.

pub fn set_fade_type(&mut self, value: FadeType)[src]

Sets fade_type to the provided enum value.

Trait Implementations

impl Clone for AnimationFade[src]

impl Debug for AnimationFade[src]

impl Default for AnimationFade[src]

impl Message for AnimationFade[src]

impl PartialEq<AnimationFade> for AnimationFade[src]

impl StructuralPartialEq for AnimationFade[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]