pub enum Overwrite {
Allow,
Forbidden,
}Expand description
Behaviour when the destination resource already exists (RFC 4918 §10.6).
Variants§
Allow
Overwrite the target if it already exists ("T").
Forbidden
Do not overwrite the target if it already exists ("F").
Implementations§
Source§impl Overwrite
impl Overwrite
Sourcepub const fn as_header_value(self) -> &'static str
pub const fn as_header_value(self) -> &'static str
Wire representation for the OVERWRITE_HEADER value.
Trait Implementations§
impl Copy for Overwrite
impl Eq for Overwrite
impl StructuralPartialEq for Overwrite
Auto Trait Implementations§
impl Freeze for Overwrite
impl RefUnwindSafe for Overwrite
impl Send for Overwrite
impl Sync for Overwrite
impl Unpin for Overwrite
impl UnsafeUnpin for Overwrite
impl UnwindSafe for Overwrite
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