pub struct UniqueOptions {
pub rows: bool,
pub order: UniqueOrder,
pub occurrence: UniqueOccurrence,
}Expand description
Options controlling provider-backed unique operations.
Fields§
§rows: bool§order: UniqueOrder§occurrence: UniqueOccurrenceTrait Implementations§
Source§impl Clone for UniqueOptions
impl Clone for UniqueOptions
Source§fn clone(&self) -> UniqueOptions
fn clone(&self) -> UniqueOptions
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 UniqueOptions
impl Debug for UniqueOptions
Source§impl<'de> Deserialize<'de> for UniqueOptions
impl<'de> Deserialize<'de> for UniqueOptions
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 UniqueOptions
impl PartialEq for UniqueOptions
Source§impl Serialize for UniqueOptions
impl Serialize for UniqueOptions
impl Eq for UniqueOptions
impl StructuralPartialEq for UniqueOptions
Auto Trait Implementations§
impl Freeze for UniqueOptions
impl RefUnwindSafe for UniqueOptions
impl Send for UniqueOptions
impl Sync for UniqueOptions
impl Unpin for UniqueOptions
impl UnwindSafe for UniqueOptions
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