pub struct SchemaFieldMetadata {
pub name: String,
pub rust_type: String,
pub classification: FieldClassification,
}Expand description
Field metadata for registry / UI (macros populate this).
Fields§
§name: StringField name.
rust_type: StringRust type name as registered.
classification: FieldClassificationGDPR-oriented classification metadata.
Trait Implementations§
Source§impl Clone for SchemaFieldMetadata
impl Clone for SchemaFieldMetadata
Source§fn clone(&self) -> SchemaFieldMetadata
fn clone(&self) -> SchemaFieldMetadata
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 moreAuto Trait Implementations§
impl Freeze for SchemaFieldMetadata
impl RefUnwindSafe for SchemaFieldMetadata
impl Send for SchemaFieldMetadata
impl Sync for SchemaFieldMetadata
impl Unpin for SchemaFieldMetadata
impl UnsafeUnpin for SchemaFieldMetadata
impl UnwindSafe for SchemaFieldMetadata
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