pub enum KindSpec {
Money,
LongText,
Color,
Date,
Guid,
Tags(Vec<String>),
Decimal(u8),
Reference(LitStr),
Collection(LitStr),
}Expand description
What a field holds when its attribute says so, instead of its type.
Variants§
Money
money.
LongText
long.
Color
color.
Date
date.
Guid
guid.
Tags(Vec<String>)
tags = "a,b".
Decimal(u8)
decimals = 2.
Reference(LitStr)
reference = "Entity".
Collection(LitStr)
collection = "Entity".
Trait Implementations§
Auto Trait Implementations§
impl !Send for KindSpec
impl !Sync for KindSpec
impl Freeze for KindSpec
impl RefUnwindSafe for KindSpec
impl Unpin for KindSpec
impl UnsafeUnpin for KindSpec
impl UnwindSafe for KindSpec
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