Struct feed_rs::model::MediaText [−][src]
pub struct MediaText {
pub text: Text,
pub start_time: Option<Duration>,
pub end_time: Option<Duration>,
}
Expand description
Represents a “media:text” item from the RSS Media spec
Fields
text: Text
The text
start_time: Option<Duration>
The start time offset that the text starts being relevant to the media object.
end_time: Option<Duration>
The end time that the text is relevant. If this attribute is not provided, and a start time is used, it is expected that the end time is either the end of the clip or the start of the next media:text element.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MediaText
impl UnwindSafe for MediaText
Blanket Implementations
Mutably borrows from an owned value. Read more