#[non_exhaustive]pub struct FieldAnnotation { /* private fields */ }Expand description
A per-field annotation carrying arbitrary key-value metadata.
Annotations are emitted in a separate frame (TAG_SCHEMA_ANNOTATIONS)
after the schema frame they belong to. They carry metadata such as units,
display hints, or semantic-convention labels.
Implementations§
Source§impl FieldAnnotation
impl FieldAnnotation
Trait Implementations§
Source§impl Clone for FieldAnnotation
impl Clone for FieldAnnotation
Source§fn clone(&self) -> FieldAnnotation
fn clone(&self) -> FieldAnnotation
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 moreSource§impl Debug for FieldAnnotation
impl Debug for FieldAnnotation
Source§impl PartialEq for FieldAnnotation
impl PartialEq for FieldAnnotation
Source§fn eq(&self, other: &FieldAnnotation) -> bool
fn eq(&self, other: &FieldAnnotation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FieldAnnotation
impl StructuralPartialEq for FieldAnnotation
Auto Trait Implementations§
impl Freeze for FieldAnnotation
impl RefUnwindSafe for FieldAnnotation
impl Send for FieldAnnotation
impl Sync for FieldAnnotation
impl Unpin for FieldAnnotation
impl UnsafeUnpin for FieldAnnotation
impl UnwindSafe for FieldAnnotation
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