[][src]Struct msoffice_shared::drawingml::VideoFile

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.

Methods

impl VideoFile[src]

pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self, Box<dyn Error>>[src]

Trait Implementations

impl Clone for VideoFile[src]

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

Performs copy-assignment from source. Read more

impl Debug for VideoFile[src]

Auto Trait Implementations

impl Send for VideoFile

impl Sync for VideoFile

Blanket Implementations

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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