pub struct VideoFile {
pub link: RelationshipId,
pub content_type: Option<String>,
}
Fields§
§link: RelationshipId
Specifies the identification information for a linked video file. This attribute is used to specify the location of an object that does not reside within this file.
content_type: Option<String>
Specifies the content type for the external file that is referenced by this element. Content types define a media type, a subtype, and an optional set of parameters, as defined in Part 2. If a rendering application cannot process external content of the content type specified, then the specified content can be ignored.
Suggested video formats:
- avi
- mpg
- mpeg
- ogg
- quicktime
- vc1
If this attribute is omitted, application should attempt to determine the content type by reading the contents of the relationship’s target.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VideoFile
impl RefUnwindSafe for VideoFile
impl Send for VideoFile
impl Sync for VideoFile
impl Unpin for VideoFile
impl UnwindSafe for VideoFile
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