pub struct CreateInstanceParams {
pub instance: Instance,
pub x_request_id: Option<String>,
}Expand description
struct for passing parameters to the method create_instance
Fields§
§instance: InstanceThe JSON object of instance.
x_request_id: Option<String>An unique ID for the request
Trait Implementations§
Source§impl Clone for CreateInstanceParams
impl Clone for CreateInstanceParams
Source§fn clone(&self) -> CreateInstanceParams
fn clone(&self) -> CreateInstanceParams
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 moreAuto Trait Implementations§
impl Freeze for CreateInstanceParams
impl RefUnwindSafe for CreateInstanceParams
impl Send for CreateInstanceParams
impl Sync for CreateInstanceParams
impl Unpin for CreateInstanceParams
impl UnwindSafe for CreateInstanceParams
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