[][src]Struct rusoto_medialive::StaticImageActivateScheduleActionSettings

pub struct StaticImageActivateScheduleActionSettings {
    pub duration: Option<i64>,
    pub fade_in: Option<i64>,
    pub fade_out: Option<i64>,
    pub height: Option<i64>,
    pub image: InputLocation,
    pub image_x: Option<i64>,
    pub image_y: Option<i64>,
    pub layer: Option<i64>,
    pub opacity: Option<i64>,
    pub width: Option<i64>,
}

Settings for the action to activate a static image.

Fields

duration: Option<i64>

The duration in milliseconds for the image to remain on the video. If omitted or set to 0 the duration is unlimited and the image will remain until it is explicitly deactivated.

fade_in: Option<i64>

The time in milliseconds for the image to fade in. The fade-in starts at the start time of the overlay. Default is 0 (no fade-in).

fade_out: Option<i64>

Applies only if a duration is specified. The time in milliseconds for the image to fade out. The fade-out starts when the duration time is hit, so it effectively extends the duration. Default is 0 (no fade-out).

height: Option<i64>

The height of the image when inserted into the video, in pixels. The overlay will be scaled up or down to the specified height. Leave blank to use the native height of the overlay.

image: InputLocation

The location and filename of the image file to overlay on the video. The file must be a 32-bit BMP, PNG, or TGA file, and must not be larger (in pixels) than the input video.

image_x: Option<i64>

Placement of the left edge of the overlay relative to the left edge of the video frame, in pixels. 0 (the default) is the left edge of the frame. If the placement causes the overlay to extend beyond the right edge of the underlying video, then the overlay is cropped on the right.

image_y: Option<i64>

Placement of the top edge of the overlay relative to the top edge of the video frame, in pixels. 0 (the default) is the top edge of the frame. If the placement causes the overlay to extend beyond the bottom edge of the underlying video, then the overlay is cropped on the bottom.

layer: Option<i64>

The number of the layer, 0 to 7. There are 8 layers that can be overlaid on the video, each layer with a different image. The layers are in Z order, which means that overlays with higher values of layer are inserted on top of overlays with lower values of layer. Default is 0.

opacity: Option<i64>

Opacity of image where 0 is transparent and 100 is fully opaque. Default is 100.

width: Option<i64>

The width of the image when inserted into the video, in pixels. The overlay will be scaled up or down to the specified width. Leave blank to use the native width of the overlay.

Trait Implementations

impl PartialEq<StaticImageActivateScheduleActionSettings> for StaticImageActivateScheduleActionSettings[src]

impl Default for StaticImageActivateScheduleActionSettings[src]

impl Clone for StaticImageActivateScheduleActionSettings[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for StaticImageActivateScheduleActionSettings[src]

impl<'de> Deserialize<'de> for StaticImageActivateScheduleActionSettings[src]

impl Serialize for StaticImageActivateScheduleActionSettings[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self