pub struct CreateRequest {
pub base: RequestBase,
pub container_config: AnyInString,
}Expand description
RpcCreate — create the COMPUTE-system root.
For a cold-start UVM this is the null container 00000000-... with a
ContainerConfig block describing the UVM container kind
({"SystemType":"Container"}).
The ContainerConfig field is hcsshim’s AnyInString: it is wire-encoded
as a JSON string containing the escaped JSON of the config value
(double-encoded). The field name is literally ContainerConfig, NOT
Settings — the inbox guest GCS strictly rejects any other shape.
Fields§
§base: RequestBase§container_config: AnyInStringContainer creation config — double-encoded JSON string on the wire.
Trait Implementations§
Source§impl Clone for CreateRequest
impl Clone for CreateRequest
Source§fn clone(&self) -> CreateRequest
fn clone(&self) -> CreateRequest
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 CreateRequest
impl Debug for CreateRequest
Source§impl<'de> Deserialize<'de> for CreateRequest
impl<'de> Deserialize<'de> for CreateRequest
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
Auto Trait Implementations§
impl Freeze for CreateRequest
impl RefUnwindSafe for CreateRequest
impl Send for CreateRequest
impl Sync for CreateRequest
impl Unpin for CreateRequest
impl UnsafeUnpin for CreateRequest
impl UnwindSafe for CreateRequest
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