pub enum FieldType {
String,
Memo,
Integer,
Float,
Currency,
Boolean,
Date,
Time,
DateTime,
Blob,
AutoInc,
Timestamp,
}Expand description
Tipo do campo; define como o valor é guardado, exibido e editado.
Variants§
String
Memo
Texto longo.
Integer
Float
Currency
Dinheiro: decimal exato com scale casas.
Boolean
Date
Time
DateTime
Blob
AutoInc
Inteiro gerado pelo backend; somente leitura. Registros novos recebem um número provisório negativo até o backend devolver o definitivo.
Timestamp
Um instante (a hora do pedido, a última alteração): guardado em UTC, mostrado e digitado no horário local de quem vê.
Implementations§
Trait Implementations§
impl Copy for FieldType
impl Eq for FieldType
Source§impl PropEnum for FieldType
impl PropEnum for FieldType
impl StructuralPartialEq for FieldType
Auto Trait Implementations§
impl Forget for FieldType
impl Freeze for FieldType
impl RefUnwindSafe for FieldType
impl Send for FieldType
impl Sync for FieldType
impl Unpin for FieldType
impl UnsafeUnpin for FieldType
impl UnwindSafe for FieldType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.