pub enum AnnotationSubjectKind {
Type,
Sub,
Value,
Owns,
Relates,
Plays,
Function,
Struct,
}Expand description
Schema subject category to which an annotation is attached.
Variants§
Type
Type declaration subject.
Sub
Direct subtype subject.
Value
Attribute value-type subject.
Owns
Attribute ownership subject.
Relates
Relation role subject.
Plays
Role-playing subject.
Function
Function declaration subject.
Struct
Struct declaration subject.
Implementations§
Trait Implementations§
Source§impl Clone for AnnotationSubjectKind
impl Clone for AnnotationSubjectKind
Source§fn clone(&self) -> AnnotationSubjectKind
fn clone(&self) -> AnnotationSubjectKind
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 AnnotationSubjectKind
Source§impl Debug for AnnotationSubjectKind
impl Debug for AnnotationSubjectKind
impl Eq for AnnotationSubjectKind
Source§impl Hash for AnnotationSubjectKind
impl Hash for AnnotationSubjectKind
Source§impl Ord for AnnotationSubjectKind
impl Ord for AnnotationSubjectKind
Source§fn cmp(&self, other: &AnnotationSubjectKind) -> Ordering
fn cmp(&self, other: &AnnotationSubjectKind) -> Ordering
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 AnnotationSubjectKind
impl PartialEq for AnnotationSubjectKind
Source§impl PartialOrd for AnnotationSubjectKind
impl PartialOrd for AnnotationSubjectKind
Source§impl Serialize for AnnotationSubjectKind
impl Serialize for AnnotationSubjectKind
impl StructuralPartialEq for AnnotationSubjectKind
Auto Trait Implementations§
impl Freeze for AnnotationSubjectKind
impl RefUnwindSafe for AnnotationSubjectKind
impl Send for AnnotationSubjectKind
impl Sync for AnnotationSubjectKind
impl Unpin for AnnotationSubjectKind
impl UnsafeUnpin for AnnotationSubjectKind
impl UnwindSafe for AnnotationSubjectKind
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