pub enum SqlColumnKey {
Primary,
Unique,
Multiple,
None,
}Expand description
Compact accepted index-membership hint for one SQL column row.
Variants§
Primary
Accepted primary-key field.
Unique
Sole field path in one accepted unique secondary index.
Multiple
Member of a compound or non-unique accepted secondary index.
None
No accepted primary or secondary index membership.
Trait Implementations§
Source§impl CandidType for SqlColumnKey
impl CandidType for SqlColumnKey
Source§impl Clone for SqlColumnKey
impl Clone for SqlColumnKey
Source§fn clone(&self) -> SqlColumnKey
fn clone(&self) -> SqlColumnKey
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 moreimpl Copy for SqlColumnKey
Source§impl Debug for SqlColumnKey
impl Debug for SqlColumnKey
Source§impl<'de> Deserialize<'de> for SqlColumnKey
impl<'de> Deserialize<'de> for SqlColumnKey
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
impl Eq for SqlColumnKey
Source§impl PartialEq for SqlColumnKey
impl PartialEq for SqlColumnKey
impl StructuralPartialEq for SqlColumnKey
Auto Trait Implementations§
impl Freeze for SqlColumnKey
impl RefUnwindSafe for SqlColumnKey
impl Send for SqlColumnKey
impl Sync for SqlColumnKey
impl Unpin for SqlColumnKey
impl UnsafeUnpin for SqlColumnKey
impl UnwindSafe for SqlColumnKey
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