pub struct FieldPrimitive {
pub ty: Type,
pub storage_ty: Option<Type>,
pub serialize: Option<SerializeFormat>,
}Fields§
§ty: TypeThe field’s primitive type
storage_ty: Option<Type>The database storage type of the field.
This is specified as a hint.
serialize: Option<SerializeFormat>If set, the field value is serialized using the specified format before being stored in the database.
Trait Implementations§
Source§impl Clone for FieldPrimitive
impl Clone for FieldPrimitive
Source§fn clone(&self) -> FieldPrimitive
fn clone(&self) -> FieldPrimitive
Returns a duplicate of the value. Read more
1.0.0 · 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 FieldPrimitive
impl RefUnwindSafe for FieldPrimitive
impl Send for FieldPrimitive
impl Sync for FieldPrimitive
impl Unpin for FieldPrimitive
impl UnwindSafe for FieldPrimitive
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