pub struct AttachVolumeRequest {
pub attach_volume_details: AttachServiceDeterminedVolumeDetails,
pub opc_retry_token: Option<String>,
}Fields§
§attach_volume_details: AttachServiceDeterminedVolumeDetailsAttach volume request
opc_retry_token: Option<String>A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected).
Implementations§
Source§impl AttachVolumeRequest
impl AttachVolumeRequest
Sourcepub fn new(required: AttachVolumeRequestRequired) -> Self
pub fn new(required: AttachVolumeRequestRequired) -> Self
Create a new AttachVolumeRequest with required fields
Sourcepub fn set_attach_volume_details(
self,
value: AttachServiceDeterminedVolumeDetails,
) -> Self
pub fn set_attach_volume_details( self, value: AttachServiceDeterminedVolumeDetails, ) -> Self
Set attach_volume_details
Sourcepub fn set_opc_retry_token(self, value: Option<String>) -> Self
pub fn set_opc_retry_token(self, value: Option<String>) -> Self
Set opc_retry_token
Sourcepub fn with_opc_retry_token(self, value: impl Into<String>) -> Self
pub fn with_opc_retry_token(self, value: impl Into<String>) -> Self
Set opc_retry_token (unwraps Option)
Trait Implementations§
Source§impl Clone for AttachVolumeRequest
impl Clone for AttachVolumeRequest
Source§fn clone(&self) -> AttachVolumeRequest
fn clone(&self) -> AttachVolumeRequest
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 AttachVolumeRequest
impl Debug for AttachVolumeRequest
Source§impl<'de> Deserialize<'de> for AttachVolumeRequest
impl<'de> Deserialize<'de> for AttachVolumeRequest
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 AttachVolumeRequest
impl RefUnwindSafe for AttachVolumeRequest
impl Send for AttachVolumeRequest
impl Sync for AttachVolumeRequest
impl Unpin for AttachVolumeRequest
impl UnsafeUnpin for AttachVolumeRequest
impl UnwindSafe for AttachVolumeRequest
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