pub enum TypeOf<'a> {
Long,
Short,
OneDP,
TwoDP,
Integer,
Date,
HalfFloat,
Keyword(Vec<&'a str>),
None,
}Expand description
Serialize GoaT variables into their types.
See here for more details.
Variants§
Long
Signed 64 bit int.
Short
Signed 16 bit int.
OneDP
Float with one decimal place.
TwoDP
Float with two decimal places.
Integer
Signed 32 bit int.
Date
A date.
HalfFloat
Half precision 16 bit float.
Keyword(Vec<&'a str>)
A variable which itself is an enumeration.
None
None to catch parsing errors
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TypeOf<'a>
impl<'a> RefUnwindSafe for TypeOf<'a>
impl<'a> Send for TypeOf<'a>
impl<'a> Sync for TypeOf<'a>
impl<'a> Unpin for TypeOf<'a>
impl<'a> UnwindSafe for TypeOf<'a>
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