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>,
}
Expand description
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
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
Auto Trait Implementations
impl RefUnwindSafe for Crop
impl UnwindSafe for Crop
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more