rust-wistia 0.8.0

A rust crate wrapping Wistia's Data and Upload API into a simple easy to use interface
Documentation
use serde::{Deserialize, Serialize};

/// A value which represents the type of media.
///
/// See more [on `type`][].
///
/// [on `type`]: https://wistia.com/support/developers/data-api#medias-response
#[derive(Debug, PartialEq, Serialize, Deserialize)]
pub enum MediaType {
    Video,
    Audio,
    Image,
    PdfDocument,
    MicrosoftOfficeDocument,
    Swf,
    UnknownType,
}

impl Default for MediaType {
    fn default() -> Self {
        MediaType::Video
    }
}