pub struct VmTemplate {
pub name: String,
pub path: String,
pub memo: Option<String>,
pub compatible_engines: Vec<String>,
pub features: Vec<String>,
}Expand description
Infomations about the template of VM, or in other word, the base image of VM.
Fields§
§name: StringGlobally unique name, e.g. “github.com/ktmlm/alpine”.
path: StringPath which pointing to the template.
May not be a regular file path, such as ZFS.
memo: Option<String>Description of the template image, that is, the low-level infrastructure of the runtime image.
compatible_engines: Vec<String>Engines(name) that can use this template.
features: Vec<String>Features that may be used by some compatible engines.
Trait Implementations§
Source§impl Debug for VmTemplate
impl Debug for VmTemplate
Source§impl Default for VmTemplate
impl Default for VmTemplate
Source§fn default() -> VmTemplate
fn default() -> VmTemplate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VmTemplate
impl RefUnwindSafe for VmTemplate
impl Send for VmTemplate
impl Sync for VmTemplate
impl Unpin for VmTemplate
impl UnwindSafe for VmTemplate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more