pub struct VagrantBox {
pub box_name: Option<String>,
pub box_version: Option<String>,
}Expand description
The controller’s box on Vagrant.
Fields§
§box_name: Option<String>The box, instead of Isoloom’s (a specific Ansible version, a mirror).
box_version: Option<String>The box version to pin.
Trait Implementations§
Source§impl Clone for VagrantBox
impl Clone for VagrantBox
Source§impl Debug for VagrantBox
impl Debug for VagrantBox
Source§impl Default for VagrantBox
impl Default for VagrantBox
Source§impl<'de> Deserialize<'de> for VagrantBox
impl<'de> Deserialize<'de> for VagrantBox
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 VagrantBox
impl JsonSchema for VagrantBox
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 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