pub enum ValueTypeModel {
Predefined {
kind: PredefinedTypeModel,
not_null: bool,
},
List {
element: Box<ValueTypeModel>,
not_null: bool,
},
PropertyValue {
not_null: bool,
},
Union(Vec<ValueTypeModel>),
Vector {
coord: Option<VectorCoordModel>,
dimension: Option<i64>,
not_null: bool,
},
}Expand description
Persisted form of TypeExpr.
Variants§
Trait Implementations§
Source§impl Clone for ValueTypeModel
impl Clone for ValueTypeModel
Source§impl Debug for ValueTypeModel
impl Debug for ValueTypeModel
Source§impl<'de> Deserialize<'de> for ValueTypeModel
impl<'de> Deserialize<'de> for ValueTypeModel
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
Source§impl From<&TypeExpr> for ValueTypeModel
impl From<&TypeExpr> for ValueTypeModel
Source§impl From<&ValueTypeModel> for TypeExpr
impl From<&ValueTypeModel> for TypeExpr
Source§fn from(m: &ValueTypeModel) -> Self
fn from(m: &ValueTypeModel) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ValueTypeModel
impl PartialEq for ValueTypeModel
Source§impl Serialize for ValueTypeModel
impl Serialize for ValueTypeModel
impl StructuralPartialEq for ValueTypeModel
Auto Trait Implementations§
impl Forget for ValueTypeModel
impl Freeze for ValueTypeModel
impl Move for ValueTypeModel
impl RefUnwindSafe for ValueTypeModel
impl Send for ValueTypeModel
impl Sync for ValueTypeModel
impl Unpin for ValueTypeModel
impl UnsafeUnpin for ValueTypeModel
impl UnwindSafe for ValueTypeModel
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