pub struct TeePodImage {
pub bios: String,
pub cmdline: String,
pub description: String,
pub hda: Option<String>,
pub initrd: String,
pub is_dev: bool,
pub kernel: String,
pub name: String,
pub rootfs: String,
pub rootfs_hash: String,
pub shared_ro: bool,
pub version: Vec<u64>,
}Expand description
VM image configuration for a TEEPod.
Fields§
§bios: StringBIOS file name
cmdline: StringKernel command line parameters
description: StringImage configuration description
hda: Option<String>Hard disk image path (if any)
initrd: StringInitial ramdisk file name
is_dev: boolWhether this is a development image
kernel: StringKernel image file name
name: StringImage name
rootfs: StringRoot filesystem image name
rootfs_hash: StringRoot filesystem hash
Whether root filesystem is shared read-only
version: Vec<u64>Image version numbers [major, minor, patch]
Trait Implementations§
Source§impl Clone for TeePodImage
impl Clone for TeePodImage
Source§fn clone(&self) -> TeePodImage
fn clone(&self) -> TeePodImage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TeePodImage
impl Debug for TeePodImage
Source§impl<'de> Deserialize<'de> for TeePodImage
impl<'de> Deserialize<'de> for TeePodImage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TeePodImage
impl RefUnwindSafe for TeePodImage
impl Send for TeePodImage
impl Sync for TeePodImage
impl Unpin for TeePodImage
impl UnwindSafe for TeePodImage
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