Struct doapi::response::Snapshot [] [src]

pub struct Snapshot {
    pub id: f64,
    pub name: String,
    pub s_type: String,
    pub distribution: String,
    pub slug: Option<String>,
    pub public: bool,
    pub regions: Vec<String>,
    pub min_disk_size: f64,
}

Fields

id
name
s_type
distribution
slug
public
regions
min_disk_size

Trait Implementations

impl NotArray for Snapshot

impl Display for Snapshot

fn fmt(&self, f: &mut Formatter) -> Result

impl NamedResponse for Snapshot

fn name<'a>() -> Cow<'a, str>

Derived Implementations

impl Debug for Snapshot

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Deserialize for Snapshot

fn deserialize<__D>(deserializer: &mut __D) -> Result<Snapshot, __D::Error> where __D: Deserializer