Struct google_transcoder1_beta1::api::Image[][src]

pub struct Image {
    pub alpha: Option<f64>,
    pub resolution: Option<NormalizedCoordinate>,
    pub uri: Option<String>,
}

Overlaid jpeg image.

This type is not used in any activity, and only used as part of another schema.

Fields

alpha: Option<f64>

Target image opacity. Valid values: 1.0 (solid, default) to 0.0 (transparent).

resolution: Option<NormalizedCoordinate>

Normalized image resolution, based on output video resolution. Valid values: 0.01.0. To respect the original image aspect ratio, set either x or y to 0.0. To use the original image resolution, set both x and y to 0.0.

uri: Option<String>

Required. URI of the JPEG image in Cloud Storage. For example, gs://bucket/inputs/image.jpeg. JPEG is the only supported image type.

Trait Implementations

impl Clone for Image[src]

impl Debug for Image[src]

impl Default for Image[src]

impl<'de> Deserialize<'de> for Image[src]

impl Part for Image[src]

impl Serialize for Image[src]

Auto Trait Implementations

impl RefUnwindSafe for Image

impl Send for Image

impl Sync for Image

impl Unpin for Image

impl UnwindSafe for Image

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.