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§
Trait Implementations§
Source§impl FromNative<DataType> for PropertyDefinition_DataType
impl FromNative<DataType> for PropertyDefinition_DataType
fn from_native(data_type: DataType) -> Result<Self, ProtoConversionError>
Source§impl FromProto<PropertyDefinition_DataType> for DataType
impl FromProto<PropertyDefinition_DataType> for DataType
fn from_proto( data_type: PropertyDefinition_DataType, ) -> Result<Self, ProtoConversionError>
Source§impl IntoNative<DataType> for PropertyDefinition_DataType
impl IntoNative<DataType> for PropertyDefinition_DataType
fn into_native(self) -> Result<T, ProtoConversionError>
Source§impl 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 Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
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