Struct google_transcoder1_beta1::api::Image
source · [−]pub struct Image {
pub alpha: Option<f64>,
pub resolution: Option<NormalizedCoordinate>,
pub uri: Option<String>,
}
Expand description
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.0
–1.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
sourceimpl<'de> Deserialize<'de> for Image
impl<'de> Deserialize<'de> for Image
sourcefn 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 Image
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more