pub enum PropertyType {
Binary {
max_length: Option<u32>,
fixed_length: Option<u32>,
default: Option<Vec<u8>>,
},
Boolean {
default: Option<bool>,
},
Byte {
precision: Option<u8>,
default: Option<Vec<u8>>,
},
DateTime {
precision: Option<u8>,
default: Option<NaiveDateTime>,
},
DateTimeOffset {
precision: Option<u8>,
default: Option<Duration>,
},
Decimal {
precision: Option<u8>,
default: Option<f64>,
},
Double {
precision: Option<u8>,
default: Option<f64>,
},
Int16 {
precision: Option<u8>,
default: Option<i16>,
},
Int32 {
precision: Option<u8>,
default: Option<Vec<u8>>,
},
String {
precision: Option<u8>,
max_length: Option<u32>,
fixed_length: Option<u32>,
},
}
Variants§
Trait Implementations§
Source§impl Debug for PropertyType
impl Debug for PropertyType
Source§impl<'de> Deserialize<'de> for PropertyType
impl<'de> Deserialize<'de> for PropertyType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PropertyType
impl RefUnwindSafe for PropertyType
impl Send for PropertyType
impl Sync for PropertyType
impl Unpin for PropertyType
impl UnwindSafe for PropertyType
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