rust-wistia 0.4.0

A rust crate wrapping Wistia's Data and Upload API into a simple easy to use interface
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Asset {
    pub content_type: String,
    pub file_size: u64,
    pub height: u64,
    #[serde(rename = "type")]
    pub type_field: String,
    pub url: String,
    pub width: u64,
}