pub enum DuplicateKeyPolicy {
Allow,
Reject,
}Variants§
Trait Implementations§
Source§impl Clone for DuplicateKeyPolicy
impl Clone for DuplicateKeyPolicy
Source§fn clone(&self) -> DuplicateKeyPolicy
fn clone(&self) -> DuplicateKeyPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DuplicateKeyPolicy
impl Debug for DuplicateKeyPolicy
Source§impl PartialEq for DuplicateKeyPolicy
impl PartialEq for DuplicateKeyPolicy
Source§fn eq(&self, other: &DuplicateKeyPolicy) -> bool
fn eq(&self, other: &DuplicateKeyPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DuplicateKeyPolicy
impl Eq for DuplicateKeyPolicy
impl StructuralPartialEq for DuplicateKeyPolicy
Auto Trait Implementations§
impl Freeze for DuplicateKeyPolicy
impl RefUnwindSafe for DuplicateKeyPolicy
impl Send for DuplicateKeyPolicy
impl Sync for DuplicateKeyPolicy
impl Unpin for DuplicateKeyPolicy
impl UnsafeUnpin for DuplicateKeyPolicy
impl UnwindSafe for DuplicateKeyPolicy
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