Struct google_transcoder1_beta1::api::Pad[][src]

pub struct Pad {
    pub bottom_pixels: Option<i32>,
    pub left_pixels: Option<i32>,
    pub right_pixels: Option<i32>,
    pub top_pixels: Option<i32>,
}

Pad filter configuration for the input video. The padded input video is scaled after padding with black to match the output resolution.

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

Fields

bottom_pixels: Option<i32>

The number of pixels to add to the bottom. The default is 0.

left_pixels: Option<i32>

The number of pixels to add to the left. The default is 0.

right_pixels: Option<i32>

The number of pixels to add to the right. The default is 0.

top_pixels: Option<i32>

The number of pixels to add to the top. The default is 0.

Trait Implementations

impl Clone for Pad[src]

impl Debug for Pad[src]

impl Default for Pad[src]

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

impl Part for Pad[src]

impl Serialize for Pad[src]

Auto Trait Implementations

impl RefUnwindSafe for Pad

impl Send for Pad

impl Sync for Pad

impl Unpin for Pad

impl UnwindSafe for Pad

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.