pub struct CloudCreateSandboxRequest {
pub spec: CloudSandboxSpec,
}Expand description
Wire shape of a cloud sandbox create request body.
Flattens CloudSandboxSpec onto the request body, so on the wire this is
byte-identical to CloudSandboxSpec. typeshare cannot model #[serde(flatten)],
so the generated bindings surface the flattened shape as CloudSandboxSpec
directly (see CloudCreateSandboxResponse::spec, typed CloudSandboxSpec).
Fields§
§spec: CloudSandboxSpecThe cloud sandbox specification, flattened onto the request body.
Trait Implementations§
Source§impl Clone for CloudCreateSandboxRequest
impl Clone for CloudCreateSandboxRequest
Source§fn clone(&self) -> CloudCreateSandboxRequest
fn clone(&self) -> CloudCreateSandboxRequest
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 CloudCreateSandboxRequest
impl Debug for CloudCreateSandboxRequest
Source§impl Default for CloudCreateSandboxRequest
impl Default for CloudCreateSandboxRequest
Source§fn default() -> CloudCreateSandboxRequest
fn default() -> CloudCreateSandboxRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CloudCreateSandboxRequest
impl<'de> Deserialize<'de> for CloudCreateSandboxRequest
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 From<SandboxSpec> for CloudCreateSandboxRequest
impl From<SandboxSpec> for CloudCreateSandboxRequest
Source§fn from(spec: SandboxSpec) -> Self
fn from(spec: SandboxSpec) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CloudCreateSandboxRequest> for SandboxSpec
impl TryFrom<CloudCreateSandboxRequest> for SandboxSpec
Source§type Error = TypesError
type Error = TypesError
The type returned in the event of a conversion error.
Source§fn try_from(req: CloudCreateSandboxRequest) -> TypesResult<Self>
fn try_from(req: CloudCreateSandboxRequest) -> TypesResult<Self>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CloudCreateSandboxRequest
impl RefUnwindSafe for CloudCreateSandboxRequest
impl Send for CloudCreateSandboxRequest
impl Sync for CloudCreateSandboxRequest
impl Unpin for CloudCreateSandboxRequest
impl UnsafeUnpin for CloudCreateSandboxRequest
impl UnwindSafe for CloudCreateSandboxRequest
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