cloudinary 0.8.2

A Rust library for the Cloudinary API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use core::fmt;

#[derive(Debug, Clone, PartialEq, Eq)]
pub enum DeliveryType {
    Upload,
    Private,
    Authenticated,
}

impl fmt::Display for DeliveryType {
    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        match self {
            DeliveryType::Upload => write!(f, "upload"),
            DeliveryType::Private => write!(f, "private"),
            DeliveryType::Authenticated => write!(f, "authenticated"),
        }
    }
}