pub enum IfExists {
Overwrite,
Fail,
Append,
}Expand description
Specifies the behavior if a resource already exists.
Variants§
Overwrite
Overwrite the existing resource.
Fail
Fail if the resource exists.
Append
Append to the existing resource.
Trait Implementations§
impl StructuralPartialEq for IfExists
Auto Trait Implementations§
impl Freeze for IfExists
impl RefUnwindSafe for IfExists
impl Send for IfExists
impl Sync for IfExists
impl Unpin for IfExists
impl UnwindSafe for IfExists
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