pub enum UniqueOccurrence {
First,
Last,
}Expand description
Occurrence selection for provider-backed unique operations.
Variants§
Trait Implementations§
Source§impl Clone for UniqueOccurrence
impl Clone for UniqueOccurrence
Source§fn clone(&self) -> UniqueOccurrence
fn clone(&self) -> UniqueOccurrence
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 UniqueOccurrence
impl Debug for UniqueOccurrence
Source§impl<'de> Deserialize<'de> for UniqueOccurrence
impl<'de> Deserialize<'de> for UniqueOccurrence
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UniqueOccurrence
impl PartialEq for UniqueOccurrence
Source§impl Serialize for UniqueOccurrence
impl Serialize for UniqueOccurrence
impl Copy for UniqueOccurrence
impl Eq for UniqueOccurrence
impl StructuralPartialEq for UniqueOccurrence
Auto Trait Implementations§
impl Freeze for UniqueOccurrence
impl RefUnwindSafe for UniqueOccurrence
impl Send for UniqueOccurrence
impl Sync for UniqueOccurrence
impl Unpin for UniqueOccurrence
impl UnwindSafe for UniqueOccurrence
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