pub enum CreateMode {
CreateOnly(Option<RequestToken>),
CreateOrReconfigure,
}Variants§
CreateOnly(Option<RequestToken>)
Create a new resource.
HTTP POST semantics – idempotent if a request token is provided and the resource was previously created using the same token.
CreateOrReconfigure
Create a new resource or reconfigure if the resource already exists.
HTTP PUT semantics – always idempotent.
Trait Implementations§
Source§impl Clone for CreateMode
impl Clone for CreateMode
Source§fn clone(&self) -> CreateMode
fn clone(&self) -> CreateMode
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 CreateMode
impl Debug for CreateMode
Source§impl PartialEq for CreateMode
impl PartialEq for CreateMode
impl Eq for CreateMode
impl StructuralPartialEq for CreateMode
Auto Trait Implementations§
impl Freeze for CreateMode
impl RefUnwindSafe for CreateMode
impl Send for CreateMode
impl Sync for CreateMode
impl Unpin for CreateMode
impl UnwindSafe for CreateMode
Blanket Implementations§
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