Struct google_transcoder1::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 are from 1.0
(solid, default) to 0.0
(transparent), exclusive. Set this to a value greater than 0.0
.
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§
source§impl<'de> Deserialize<'de> for Image
impl<'de> Deserialize<'de> for Image
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 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§
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