pub struct FieldMeta {
pub rust: &'static str,
pub orig: &'static str,
pub db: &'static str,
pub as_: Option<&'static str>,
pub tags: &'static [&'static str],
pub omitempty_tags: &'static [&'static str],
pub with_quote: bool,
}Fields§
§rust: &'static strRust field name (used to generate value accessors).
orig: &'static strOriginal field name used by the FieldMapper (macro-generated; defaults to rust but can override CamelCase).
db: &'static strSQL column name (after db tag/mapper).
as_: Option<&'static str>Optional alias (AS).
Tags.
Omitempty tags (include “” for default).
with_quote: boolImplementations§
Trait Implementations§
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