[][src]Struct ttstack::model::VmTemplate

pub struct VmTemplate {
    pub name: String,
    pub memo: Option<String>,
    pub path: String,
    pub compatible_engines: Vec<String>,
}

Infomations about a template of VM.

Fields

name: String

Globally unique name, e.g. "github.com/ktmlm/alpine"

memo: Option<String>

Description of the basic image.

path: String

Path which pointing to the template. May not be a regular file path, such as ZFS.

compatible_engines: Vec<String>

Engines can use this template.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.