pub struct CreateVcnRequest {
pub create_vcn_details: CreateVcnDetails,
pub opc_retry_token: Option<String>,
}Fields§
§create_vcn_details: CreateVcnDetailsDetails for creating a new VCN.
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 CreateVcnRequest
impl CreateVcnRequest
Sourcepub fn new(required: CreateVcnRequestRequired) -> Self
pub fn new(required: CreateVcnRequestRequired) -> Self
Create a new CreateVcnRequest with required fields
Sourcepub fn set_create_vcn_details(self, value: CreateVcnDetails) -> Self
pub fn set_create_vcn_details(self, value: CreateVcnDetails) -> Self
Set create_vcn_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 CreateVcnRequest
impl Clone for CreateVcnRequest
Source§fn clone(&self) -> CreateVcnRequest
fn clone(&self) -> CreateVcnRequest
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 CreateVcnRequest
impl Debug for CreateVcnRequest
Source§impl<'de> Deserialize<'de> for CreateVcnRequest
impl<'de> Deserialize<'de> for CreateVcnRequest
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 CreateVcnRequest
impl RefUnwindSafe for CreateVcnRequest
impl Send for CreateVcnRequest
impl Sync for CreateVcnRequest
impl Unpin for CreateVcnRequest
impl UnsafeUnpin for CreateVcnRequest
impl UnwindSafe for CreateVcnRequest
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