pub struct GetInstanceResponse {
pub etag: Option<String>,
pub opc_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.
instance: InstanceThe returned model.Instance instance.
Implementations§
Source§impl GetInstanceResponse
impl GetInstanceResponse
Sourcepub fn new(required: GetInstanceResponseRequired) -> Self
pub fn new(required: GetInstanceResponseRequired) -> Self
Create a new GetInstanceResponse 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_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)
Trait Implementations§
Source§impl Clone for GetInstanceResponse
impl Clone for GetInstanceResponse
Source§fn clone(&self) -> GetInstanceResponse
fn clone(&self) -> GetInstanceResponse
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 GetInstanceResponse
impl Debug for GetInstanceResponse
Source§impl<'de> Deserialize<'de> for GetInstanceResponse
impl<'de> Deserialize<'de> for GetInstanceResponse
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 GetInstanceResponse
impl RefUnwindSafe for GetInstanceResponse
impl Send for GetInstanceResponse
impl Sync for GetInstanceResponse
impl Unpin for GetInstanceResponse
impl UnsafeUnpin for GetInstanceResponse
impl UnwindSafe for GetInstanceResponse
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