pub enum AutoStartActionEnum {
None,
SystemDefault,
PowerOn,
PowerOff,
GuestShutdown,
Suspend,
Other_(String),
}Expand description
Possible values:
-
none: No action is taken for this virtual machine.This virtual machine is not a part of the auto-start sequence. This can be used for both auto-start and auto-start settings.
-
systemDefault: The default system action is taken for this virtual machine when it is next in the auto-start order.This can be used for both auto-start and auto-start settings.
-
powerOn: This virtual machine is powered on when it is next in the auto-start order. -
powerOff: This virtual machine is powered off when it is next in the auto-stop order.This is the default stopAction.
-
guestShutdown: The guest operating system for a virtual machine is shut down when that virtual machine in next in the auto-stop order. -
suspend: This virtual machine is suspended when it is next in the auto-stop order.
Variants§
None
SystemDefault
PowerOn
PowerOff
GuestShutdown
Suspend
Other_(String)
This variant handles values not known at compile time.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for AutoStartActionEnum
impl AsRef<str> for AutoStartActionEnum
Source§impl Clone for AutoStartActionEnum
impl Clone for AutoStartActionEnum
Source§fn clone(&self) -> AutoStartActionEnum
fn clone(&self) -> AutoStartActionEnum
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AutoStartActionEnum
impl Debug for AutoStartActionEnum
Source§impl Deserialize for AutoStartActionEnum
impl Deserialize for AutoStartActionEnum
Source§impl Display for AutoStartActionEnum
impl Display for AutoStartActionEnum
Source§impl<'a> From<&'a AutoStartActionEnum> for &'a str
impl<'a> From<&'a AutoStartActionEnum> for &'a str
Source§fn from(value: &'a AutoStartActionEnum) -> Self
fn from(value: &'a AutoStartActionEnum) -> Self
Source§impl Hash for AutoStartActionEnum
impl Hash for AutoStartActionEnum
Source§impl PartialEq for AutoStartActionEnum
impl PartialEq for AutoStartActionEnum
impl Eq for AutoStartActionEnum
impl StructuralPartialEq for AutoStartActionEnum
Auto Trait Implementations§
impl Freeze for AutoStartActionEnum
impl RefUnwindSafe for AutoStartActionEnum
impl Send for AutoStartActionEnum
impl Sync for AutoStartActionEnum
impl Unpin for AutoStartActionEnum
impl UnsafeUnpin for AutoStartActionEnum
impl UnwindSafe for AutoStartActionEnum
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
Source§impl<To, T> CastInto<To> for T
impl<To, T> CastInto<To> for T
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
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.