pub struct InstanceInfo {
pub id: String,
pub state: VmState,
pub vmm_version: String,
pub app_name: String,
}Expand description
Body of GET / (the InstanceInfo resource).
Mirrors upstream’s InstanceInfo model (id, state, vmm_version, app_name).
Fields§
§id: StringMicrovm instance ID (the --id flag value).
state: VmStateCurrent state of the microvm — wire-shape three-value enum.
vmm_version: StringVMM build identifier — squib uses "<firecracker-compat-version> (squib X.Y.Z)".
app_name: StringApplication name; we identify as "Firecracker" for SDK sniffing parity.
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 (const: unstable) · 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 PartialEq for InstanceInfo
impl PartialEq for InstanceInfo
Source§fn eq(&self, other: &InstanceInfo) -> bool
fn eq(&self, other: &InstanceInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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