pub struct StateSchema {
pub annotations: Option<HashMap<String, Option<Value>>>,
pub bundle: String,
pub id: String,
pub oci_version: String,
pub pid: Option<i64>,
pub status: Status,
}
Expand description
Open Container Runtime State Schema
Fields§
§annotations: Option<HashMap<String, Option<Value>>>
§bundle: String
§id: String
the container’s ID
oci_version: String
§pid: Option<i64>
§status: Status
Trait Implementations§
Source§impl Clone for StateSchema
impl Clone for StateSchema
Source§fn clone(&self) -> StateSchema
fn clone(&self) -> StateSchema
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 StateSchema
impl Debug for StateSchema
Source§impl<'de> Deserialize<'de> for StateSchema
impl<'de> Deserialize<'de> for StateSchema
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 StateSchema
impl PartialEq for StateSchema
Source§impl Serialize for StateSchema
impl Serialize for StateSchema
impl StructuralPartialEq for StateSchema
Auto Trait Implementations§
impl Freeze for StateSchema
impl RefUnwindSafe for StateSchema
impl Send for StateSchema
impl Sync for StateSchema
impl Unpin for StateSchema
impl UnwindSafe for StateSchema
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