pub struct InstanceInfo {
pub app_name: String,
pub id: String,
pub state: State,
pub vmm_version: String,
}
Expand description
Describes MicroVM instance information.
Fieldsยง
ยงapp_name: String
Application name. Required: true
id: String
MicroVM / instance ID. Required: true
state: State
The current detailed state (Not started, Running, Paused) of the Firecracker instance. This value is read-only for the control-plane. Required: true Enum: [Not started Running Paused]
vmm_version: String
MicroVM hypervisor build version. Required: true
Trait Implementationsยง
Sourceยงimpl Clone for InstanceInfo
impl Clone for InstanceInfo
Sourceยงfn clone(&self) -> InstanceInfo
fn clone(&self) -> InstanceInfo
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl Debug for InstanceInfo
impl Debug for InstanceInfo
Sourceยงimpl<'de> Deserialize<'de> for InstanceInfo
impl<'de> Deserialize<'de> for InstanceInfo
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 Hash for InstanceInfo
impl Hash for InstanceInfo
Sourceยงimpl Ord for InstanceInfo
impl Ord for InstanceInfo
Sourceยงfn cmp(&self, other: &InstanceInfo) -> Ordering
fn cmp(&self, other: &InstanceInfo) -> Ordering
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialEq for InstanceInfo
impl PartialEq for InstanceInfo
Sourceยงimpl PartialOrd for InstanceInfo
impl PartialOrd for InstanceInfo
Sourceยงimpl Serialize for InstanceInfo
impl Serialize for InstanceInfo
impl Eq for InstanceInfo
impl StructuralPartialEq for InstanceInfo
Auto Trait Implementationsยง
impl Freeze for InstanceInfo
impl RefUnwindSafe for InstanceInfo
impl Send for InstanceInfo
impl Sync for InstanceInfo
impl Unpin for InstanceInfo
impl UnwindSafe for InstanceInfo
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