pub enum PredefinedTypeModel {
Show 19 variants
Nothing,
Null,
Any,
Boolean,
String,
Integer,
Float,
Date,
Duration,
Point,
LocalTime,
ZonedTime,
LocalDateTime,
ZonedDateTime,
Node,
Relationship,
Path,
Map,
Uuid,
}Expand description
Persisted form of PredefinedKind.
Variants§
Nothing
Null
Any
Boolean
String
Integer
Float
Date
Duration
Point
LocalTime
ZonedTime
LocalDateTime
ZonedDateTime
Node
Relationship
Path
Map
Uuid
CIP-246 UUID, carried since CIP-262: the property-default showcase
is a UUID property defaulting to uuid(), and the model’s
historical narrowing to STRING broke the SHOW/DROP roundtrip for
it (a stored UUID re-rendered as STRING never matched a DROP’s
restated UUID). Old persisted images deserialize their
Strings unchanged.
Trait Implementations§
Source§impl Clone for PredefinedTypeModel
impl Clone for PredefinedTypeModel
impl Copy for PredefinedTypeModel
Source§impl Debug for PredefinedTypeModel
impl Debug for PredefinedTypeModel
Source§impl<'de> Deserialize<'de> for PredefinedTypeModel
impl<'de> Deserialize<'de> for PredefinedTypeModel
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
impl Eq for PredefinedTypeModel
Source§impl From<PredefinedKind> for PredefinedTypeModel
impl From<PredefinedKind> for PredefinedTypeModel
Source§fn from(k: PredefinedKind) -> Self
fn from(k: PredefinedKind) -> Self
Converts to this type from the input type.
Source§impl From<PredefinedTypeModel> for PredefinedKind
impl From<PredefinedTypeModel> for PredefinedKind
Source§fn from(m: PredefinedTypeModel) -> Self
fn from(m: PredefinedTypeModel) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PredefinedTypeModel
impl PartialEq for PredefinedTypeModel
Source§impl Serialize for PredefinedTypeModel
impl Serialize for PredefinedTypeModel
impl StructuralPartialEq for PredefinedTypeModel
Auto Trait Implementations§
impl Forget for PredefinedTypeModel
impl Freeze for PredefinedTypeModel
impl Move for PredefinedTypeModel
impl RefUnwindSafe for PredefinedTypeModel
impl Send for PredefinedTypeModel
impl Sync for PredefinedTypeModel
impl Unpin for PredefinedTypeModel
impl UnsafeUnpin for PredefinedTypeModel
impl UnwindSafe for PredefinedTypeModel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.