Struct rusoto_medialive::EbuTtDDestinationSettings[][src]

pub struct EbuTtDDestinationSettings {
    pub copyright_holder: Option<String>,
    pub fill_line_gap: Option<String>,
    pub font_family: Option<String>,
    pub style_control: Option<String>,
}
Expand description

Ebu Tt DDestination Settings

Fields

copyright_holder: Option<String>

Applies only if you plan to convert these source captions to EBU-TT-D or TTML in an output. Complete this field if you want to include the name of the copyright holder in the copyright metadata tag in the TTML

fill_line_gap: Option<String>

Specifies how to handle the gap between the lines (in multi-line captions).

  • enabled: Fill with the captions background color (as specified in the input captions).
  • disabled: Leave the gap unfilled.
font_family: Option<String>

Specifies the font family to include in the font data attached to the EBU-TT captions. Valid only if styleControl is set to include. If you leave this field empty, the font family is set to "monospaced". (If styleControl is set to exclude, the font family is always set to "monospaced".)

You specify only the font family. All other style information (color, bold, position and so on) is copied from the input captions. The size is always set to 100% to allow the downstream player to choose the size.

  • Enter a list of font families, as a comma-separated list of font names, in order of preference. The name can be a font family (such as “Arial”), or a generic font family (such as “serif”), or “default” (to let the downstream player choose the font).
  • Leave blank to set the family to “monospace”.
style_control: Option<String>

Specifies the style information (font color, font position, and so on) to include in the font data that is attached to the EBU-TT captions.

  • include: Take the style information (font color, font position, and so on) from the source captions and include that information in the font data attached to the EBU-TT captions. This option is valid only if the source captions are Embedded or Teletext.
  • exclude: In the font data attached to the EBU-TT captions, set the font family to "monospaced". Do not include any other style information.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.