pub struct VagrantBox {
pub name: String,
pub version: Option<String>,
pub libvirt: Option<String>,
pub qemu: Option<String>,
pub hyperv: HyperVBox,
}Expand description
A Vagrant box: its name, a pinned version when known-good, and the libvirt, QEMU and Hyper-V boxes when the main one has no build for them.
Fields§
§name: StringThe box’s name on Vagrant Cloud (bento/debian-12).
version: Option<String>The version known to work (None: the latest).
libvirt: Option<String>The box the libvirt provider boots, when the main one has no libvirt build.
qemu: Option<String>The box the QEMU provider boots, when the main one has no QEMU build.
hyperv: HyperVBoxThe box the Hyper-V provider boots.
Trait Implementations§
Source§impl Clone for VagrantBox
impl Clone for VagrantBox
Source§impl Debug for VagrantBox
impl Debug for VagrantBox
impl Eq for VagrantBox
Source§impl PartialEq for VagrantBox
impl PartialEq for VagrantBox
impl StructuralPartialEq for VagrantBox
Auto Trait Implementations§
impl Freeze for VagrantBox
impl RefUnwindSafe for VagrantBox
impl Send for VagrantBox
impl Sync for VagrantBox
impl Unpin for VagrantBox
impl UnsafeUnpin for VagrantBox
impl UnwindSafe for VagrantBox
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.