pub struct LaunchInstanceResponse {
pub etag: Option<String>,
pub opc_request_id: Option<String>,
pub opc_work_request_id: Option<String>,
pub instance: Instance,
}Fields§
§etag: Option<String>For optimistic concurrency control. See {@code if-match}.
opc_request_id: Option<String>Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opc_work_request_id: Option<String>The OCID of the work request. Use GetWorkRequest with this ID to track the status of the request.
instance: InstanceThe returned model.Instance instance.
Implementations§
Source§impl LaunchInstanceResponse
impl LaunchInstanceResponse
Sourcepub fn new(required: LaunchInstanceResponseRequired) -> Self
pub fn new(required: LaunchInstanceResponseRequired) -> Self
Create a new LaunchInstanceResponse with required fields
Sourcepub fn set_opc_request_id(self, value: Option<String>) -> Self
pub fn set_opc_request_id(self, value: Option<String>) -> Self
Set opc_request_id
Sourcepub fn set_opc_work_request_id(self, value: Option<String>) -> Self
pub fn set_opc_work_request_id(self, value: Option<String>) -> Self
Set opc_work_request_id
Sourcepub fn set_instance(self, value: Instance) -> Self
pub fn set_instance(self, value: Instance) -> Self
Set instance
Sourcepub fn with_opc_request_id(self, value: impl Into<String>) -> Self
pub fn with_opc_request_id(self, value: impl Into<String>) -> Self
Set opc_request_id (unwraps Option)
Sourcepub fn with_opc_work_request_id(self, value: impl Into<String>) -> Self
pub fn with_opc_work_request_id(self, value: impl Into<String>) -> Self
Set opc_work_request_id (unwraps Option)
Trait Implementations§
Source§impl Clone for LaunchInstanceResponse
impl Clone for LaunchInstanceResponse
Source§fn clone(&self) -> LaunchInstanceResponse
fn clone(&self) -> LaunchInstanceResponse
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 LaunchInstanceResponse
impl Debug for LaunchInstanceResponse
Source§impl<'de> Deserialize<'de> for LaunchInstanceResponse
impl<'de> Deserialize<'de> for LaunchInstanceResponse
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 LaunchInstanceResponse
impl RefUnwindSafe for LaunchInstanceResponse
impl Send for LaunchInstanceResponse
impl Sync for LaunchInstanceResponse
impl Unpin for LaunchInstanceResponse
impl UnsafeUnpin for LaunchInstanceResponse
impl UnwindSafe for LaunchInstanceResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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