pub enum AnnotationKindId {
Abstract,
Independent,
Key,
Unique,
Distinct,
Card,
Regex,
Range,
Values,
Doc,
Meta(Label),
}Expand description
Stable identity of a schema annotation kind.
Variants§
Abstract
@abstract.
Independent
@independent.
Key
@key.
Unique
@unique.
Distinct
@distinct on an ordered ownership or related-role collection.
Card
@card.
Regex
@regex.
Range
@range.
Values
@values.
Doc
@doc.
Meta(Label)
One independently identified @meta key.
Implementations§
Trait Implementations§
Source§impl Clone for AnnotationKindId
impl Clone for AnnotationKindId
Source§impl Debug for AnnotationKindId
impl Debug for AnnotationKindId
impl Eq for AnnotationKindId
Source§impl Hash for AnnotationKindId
impl Hash for AnnotationKindId
Source§impl Ord for AnnotationKindId
impl Ord for AnnotationKindId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AnnotationKindId
impl PartialEq for AnnotationKindId
Source§impl PartialOrd for AnnotationKindId
impl PartialOrd for AnnotationKindId
Source§impl Serialize for AnnotationKindId
impl Serialize for AnnotationKindId
impl StructuralPartialEq for AnnotationKindId
Auto Trait Implementations§
impl Freeze for AnnotationKindId
impl RefUnwindSafe for AnnotationKindId
impl Send for AnnotationKindId
impl Sync for AnnotationKindId
impl Unpin for AnnotationKindId
impl UnsafeUnpin for AnnotationKindId
impl UnwindSafe for AnnotationKindId
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