pub enum Created {
Yes,
No,
}Available on crate feature
server only.Expand description
Whether a PUT created the object or replaced one.
Variants§
Yes
The object did not exist; answer with HTTP 201.
No
The object existed and was replaced; answer with HTTP 200.
Implementations§
Trait Implementations§
impl Copy for Created
impl Eq for Created
impl StructuralPartialEq for Created
Auto Trait Implementations§
impl Freeze for Created
impl RefUnwindSafe for Created
impl Send for Created
impl Sync for Created
impl Unpin for Created
impl UnsafeUnpin for Created
impl UnwindSafe for Created
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.