pub struct FieldMeta {
pub name: &'static str,
pub serialized_name: &'static str,
pub category: &'static str,
pub tags: &'static [&'static str],
}Expand description
Runtime-accessible metadata for a single field.
Contains all information about a field that can be queried at runtime.
Fields§
§name: &'static strOriginal field name in Rust code.
serialized_name: &'static strSerialized name (may differ due to #[serde(rename)] or rename_all).
category: &'static strType category (e.g., “numeric”, “text”, “bool”, “optional”, “collection”).
Custom tags added via #[field_tags(...)].
Implementations§
Trait Implementations§
impl Copy for FieldMeta
impl Eq for FieldMeta
impl StructuralPartialEq for FieldMeta
Auto Trait Implementations§
impl Freeze for FieldMeta
impl RefUnwindSafe for FieldMeta
impl Send for FieldMeta
impl Sync for FieldMeta
impl Unpin for FieldMeta
impl UnwindSafe for FieldMeta
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