Struct google_transcoder1_beta1::api::Image [−][src]
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
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 Image
impl UnwindSafe for Image
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more