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: TextThe 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
impl StructuralPartialEq for MediaText[src]
Auto Trait Implementations
impl RefUnwindSafe for MediaText
impl Send for MediaText
impl Sync for MediaText
impl Unpin for MediaText
impl UnwindSafe for MediaText
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more