Struct google_transcoder1_beta1::api::Crop[][src]

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

Video cropping configuration for the input video. The cropped input video is scaled 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 crop from the bottom. The default is 0.

left_pixels: Option<i32>

The number of pixels to crop from the left. The default is 0.

right_pixels: Option<i32>

The number of pixels to crop from the right. The default is 0.

top_pixels: Option<i32>

The number of pixels to crop from the top. The default is 0.

Trait Implementations

impl Clone for Crop[src]

impl Debug for Crop[src]

impl Default for Crop[src]

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

impl Part for Crop[src]

impl Serialize for Crop[src]

Auto Trait Implementations

impl RefUnwindSafe for Crop

impl Send for Crop

impl Sync for Crop

impl Unpin for Crop

impl UnwindSafe for Crop

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.