Struct google_transcoder1::api::Pad
source · pub struct Pad {
pub bottom_pixels: Option<i32>,
pub left_pixels: Option<i32>,
pub right_pixels: Option<i32>,
pub top_pixels: Option<i32>,
}
Expand description
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§
source§impl<'de> Deserialize<'de> for Pad
impl<'de> Deserialize<'de> for Pad
source§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
impl Part for Pad
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more