pub struct ImageSpec {
pub distro: String,
pub version: String,
pub arch: Option<Arch>,
}Expand description
What OS image to download and prepare.
Fields§
§distro: StringDistribution (e.g., “ubuntu”, “alpine”).
version: StringVersion (e.g., “24.04”, “3.20”).
arch: Option<Arch>Target architecture. Defaults to host arch if None.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImageSpec
impl RefUnwindSafe for ImageSpec
impl Send for ImageSpec
impl Sync for ImageSpec
impl Unpin for ImageSpec
impl UnsafeUnpin for ImageSpec
impl UnwindSafe for ImageSpec
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