pub struct VagrantMachine {
pub box_name: Option<String>,
pub box_version: Option<String>,
pub box_url: Option<String>,
pub box_server_url: Option<String>,
pub boxes: Option<ProviderBoxes>,
pub winrm: Option<Winrm>,
pub winssh: bool,
}Expand description
A machine’s box on Vagrant.
Fields§
§box_name: Option<String>The box (StefanScherer/windows_2019), instead of the built-in one for its OS.
box_version: Option<String>The box version to pin.
box_url: Option<String>Where Vagrant downloads the box from when it isn’t on Vagrant Cloud: a URL, or a .box
file in the project.
box_server_url: Option<String>The box server to look the box up on, instead of Vagrant Cloud.
boxes: Option<ProviderBoxes>Other boxes for the providers the box has no build for.
winrm: Option<Winrm>How this Windows box answers WinRM: plaintext (HTTP on 5985, the default) or ssl
(HTTPS on 5986).
winssh: boolThis Windows box answers OpenSSH instead of WinRM. Not with winrm.
Trait Implementations§
Source§impl Clone for VagrantMachine
impl Clone for VagrantMachine
Source§impl Debug for VagrantMachine
impl Debug for VagrantMachine
Source§impl Default for VagrantMachine
impl Default for VagrantMachine
Source§impl<'de> Deserialize<'de> for VagrantMachine
impl<'de> Deserialize<'de> for VagrantMachine
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
Source§impl JsonSchema for VagrantMachine
impl JsonSchema for VagrantMachine
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for VagrantMachine
impl PartialEq for VagrantMachine
impl StructuralPartialEq for VagrantMachine
Auto Trait Implementations§
impl Freeze for VagrantMachine
impl RefUnwindSafe for VagrantMachine
impl Send for VagrantMachine
impl Sync for VagrantMachine
impl Unpin for VagrantMachine
impl UnsafeUnpin for VagrantMachine
impl UnwindSafe for VagrantMachine
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