pub struct ProxmoxMachine {
pub image: Option<String>,
pub lxc: bool,
}Expand description
A machine on Proxmox.
Fields§
§image: Option<String>The image: a cloud image’s URL, or a template VM’s id on the node.
lxc: boolRun its container image as an LXC container (Proxmox VE 9.1 or later) instead of a VM: lighter, but no Docker runtime, healthcheck or named volumes.
Trait Implementations§
Source§impl Clone for ProxmoxMachine
impl Clone for ProxmoxMachine
Source§impl Debug for ProxmoxMachine
impl Debug for ProxmoxMachine
Source§impl Default for ProxmoxMachine
impl Default for ProxmoxMachine
Source§impl<'de> Deserialize<'de> for ProxmoxMachine
impl<'de> Deserialize<'de> for ProxmoxMachine
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 ProxmoxMachine
impl JsonSchema for ProxmoxMachine
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 ProxmoxMachine
impl PartialEq for ProxmoxMachine
impl StructuralPartialEq for ProxmoxMachine
Auto Trait Implementations§
impl Freeze for ProxmoxMachine
impl RefUnwindSafe for ProxmoxMachine
impl Send for ProxmoxMachine
impl Sync for ProxmoxMachine
impl Unpin for ProxmoxMachine
impl UnsafeUnpin for ProxmoxMachine
impl UnwindSafe for ProxmoxMachine
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