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 unconditional accepted unique secondary index.
Multiple
Member of a compound, filtered or non-unique accepted secondary index.
None
No accepted primary or secondary index membership.
Trait Implementations§
Source§impl Clone for SqlColumnKey
impl Clone for SqlColumnKey
impl 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
Source§impl Serialize for SqlColumnKey
impl Serialize for SqlColumnKey
impl StructuralPartialEq for SqlColumnKey
Source§impl Wire for SqlColumnKeywhere
Self: Serialize,
Available on non-target_family=wasm only.
impl Wire for SqlColumnKeywhere
Self: Serialize,
Available on non-
target_family=wasm only.Source§fn native_schema(
__ic_wire_schema: &mut SchemaContext,
) -> Result<Value, GenerationError>
fn native_schema( __ic_wire_schema: &mut SchemaContext, ) -> Result<Value, GenerationError>
Describe the serialized shape using the existing registry metadata grammar.
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