pub struct Config {
pub guest_arch: GuestArch,
pub guest_configs: Vec<GuestConfig>,
}
Expand description
The config used to describe a multi-architecture IGVM file containing multiple guests.
Fields§
§guest_arch: GuestArch
The architecture of the igvm file.
guest_configs: Vec<GuestConfig>
The array of guest configs to be used to generate a single IGVM file.
Implementations§
Source§impl Config
impl Config
Sourcepub fn required_resources(&self) -> Vec<ResourceType>
pub fn required_resources(&self) -> Vec<ResourceType>
Get a vec representing the required resources for this config.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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 Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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