pub struct UpdateInstanceResponse {
pub etag: String,
pub opc_request_id: String,
pub opc_work_request_id: String,
pub instance: Instance,
}Fields§
§etag: StringFor optimistic concurrency control. See {@code if-match}.
opc_request_id: StringUnique 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: StringThe 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 UpdateInstanceResponse
impl UpdateInstanceResponse
Sourcepub fn new(required: UpdateInstanceResponseRequired) -> Self
pub fn new(required: UpdateInstanceResponseRequired) -> Self
Create a new UpdateInstanceResponse with required fields
Sourcepub fn set_opc_request_id(self, value: String) -> Self
pub fn set_opc_request_id(self, value: String) -> Self
Set opc_request_id
Sourcepub fn set_opc_work_request_id(self, value: String) -> Self
pub fn set_opc_work_request_id(self, value: 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
Trait Implementations§
Source§impl Clone for UpdateInstanceResponse
impl Clone for UpdateInstanceResponse
Source§fn clone(&self) -> UpdateInstanceResponse
fn clone(&self) -> UpdateInstanceResponse
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 UpdateInstanceResponse
impl Debug for UpdateInstanceResponse
Source§impl<'de> Deserialize<'de> for UpdateInstanceResponse
impl<'de> Deserialize<'de> for UpdateInstanceResponse
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 UpdateInstanceResponse
impl RefUnwindSafe for UpdateInstanceResponse
impl Send for UpdateInstanceResponse
impl Sync for UpdateInstanceResponse
impl Unpin for UpdateInstanceResponse
impl UnsafeUnpin for UpdateInstanceResponse
impl UnwindSafe for UpdateInstanceResponse
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