pub enum DataType {
Bytes,
Boolean,
Number,
String,
Enum,
Struct,
LatLong,
}Expand description
Native representation of a DataType
DataTypes are used in a schema to define a data field’s type
Variants
Bytes
Boolean
Number
String
Enum
Struct
LatLong
Trait Implementations
sourceimpl FromNative<DataType> for PropertyDefinition_DataType
impl FromNative<DataType> for PropertyDefinition_DataType
fn from_native(data_type: DataType) -> Result<Self, ProtoConversionError>
sourceimpl FromProto<PropertyDefinition_DataType> for DataType
impl FromProto<PropertyDefinition_DataType> for DataType
fn from_proto(
data_type: PropertyDefinition_DataType
) -> Result<Self, ProtoConversionError>
sourceimpl IntoNative<DataType> for PropertyDefinition_DataType
impl IntoNative<DataType> for PropertyDefinition_DataType
fn into_native(self) -> Result<T, ProtoConversionError>
sourceimpl IntoProto<PropertyDefinition_DataType> for DataType
impl IntoProto<PropertyDefinition_DataType> for DataType
fn into_proto(self) -> Result<T, ProtoConversionError>
impl StructuralPartialEq for DataType
Auto Trait Implementations
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more