vultr 0.4.4

A pure Rust Vultr API binding.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::Serialize;

/// Specifies the boot source for a new Vultr instance.
#[derive(Serialize, Debug)]
pub enum VultrInstanceType {
    /// Boot from an operating system identified by its numeric ID.
    OS(u32),
    /// Boot from an ISO image identified by its ID.
    ISO(String),
    /// Boot from a snapshot identified by its ID.
    Snapshot(String),
    /// Boot from a Marketplace application identified by its ID.
    App(String),
    /// Boot from a custom image identified by its ID.
    Image(String),
}