pub enum BoltType {
Show 21 variants
String(BoltString),
Boolean(BoltBoolean),
Map(BoltMap),
Null(BoltNull),
Integer(BoltInteger),
Float(BoltFloat),
List(BoltList),
Node(BoltNode),
Relation(BoltRelation),
UnboundedRelation(BoltUnboundedRelation),
Point2D(BoltPoint2D),
Point3D(BoltPoint3D),
Bytes(BoltBytes),
Path(BoltPath),
Duration(BoltDuration),
Date(BoltDate),
Time(BoltTime),
LocalTime(BoltLocalTime),
DateTime(BoltDateTime),
LocalDateTime(BoltLocalDateTime),
DateTimeZoneId(BoltDateTimeZoneId),
}
Variants§
String(BoltString)
Boolean(BoltBoolean)
Map(BoltMap)
Null(BoltNull)
Integer(BoltInteger)
Float(BoltFloat)
List(BoltList)
Node(BoltNode)
Relation(BoltRelation)
UnboundedRelation(BoltUnboundedRelation)
Point2D(BoltPoint2D)
Point3D(BoltPoint3D)
Bytes(BoltBytes)
Path(BoltPath)
Duration(BoltDuration)
Date(BoltDate)
Time(BoltTime)
LocalTime(BoltLocalTime)
DateTime(BoltDateTime)
LocalDateTime(BoltLocalDateTime)
DateTimeZoneId(BoltDateTimeZoneId)
Trait Implementations§
source§impl<'de> Deserialize<'de> for BoltType
impl<'de> Deserialize<'de> for BoltType
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<(NaiveDateTime, &str)> for BoltType
impl From<(NaiveDateTime, &str)> for BoltType
source§fn from(value: (NaiveDateTime, &str)) -> Self
fn from(value: (NaiveDateTime, &str)) -> Self
Converts to this type from the input type.
source§impl From<(NaiveTime, FixedOffset)> for BoltType
impl From<(NaiveTime, FixedOffset)> for BoltType
source§fn from(value: (NaiveTime, FixedOffset)) -> Self
fn from(value: (NaiveTime, FixedOffset)) -> Self
Converts to this type from the input type.
source§impl From<BoltRelation> for BoltType
impl From<BoltRelation> for BoltType
source§fn from(value: BoltRelation) -> Self
fn from(value: BoltRelation) -> Self
Converts to this type from the input type.
source§impl From<BoltUnboundedRelation> for BoltType
impl From<BoltUnboundedRelation> for BoltType
source§fn from(value: BoltUnboundedRelation) -> Self
fn from(value: BoltUnboundedRelation) -> Self
Converts to this type from the input type.
source§impl From<DateTime<FixedOffset>> for BoltType
impl From<DateTime<FixedOffset>> for BoltType
source§fn from(value: DateTime<FixedOffset>) -> Self
fn from(value: DateTime<FixedOffset>) -> Self
Converts to this type from the input type.
source§impl From<NaiveDateTime> for BoltType
impl From<NaiveDateTime> for BoltType
source§fn from(value: NaiveDateTime) -> BoltType
fn from(value: NaiveDateTime) -> BoltType
Converts to this type from the input type.
source§impl<'de> IntoDeserializer<'de, DeError> for &'de BoltType
impl<'de> IntoDeserializer<'de, DeError> for &'de BoltType
§type Deserializer = BoltTypeDeserializer<'de>
type Deserializer = BoltTypeDeserializer<'de>
The type of the deserializer being converted into.
source§fn into_deserializer(self) -> Self::Deserializer
fn into_deserializer(self) -> Self::Deserializer
Convert this value into a deserializer.
source§impl PartialEq for BoltType
impl PartialEq for BoltType
source§impl TryFrom<BoltType> for BoltString
impl TryFrom<BoltType> for BoltString
source§impl TryFrom<BoltType> for NaiveDateTime
impl TryFrom<BoltType> for NaiveDateTime
source§impl TryFrom<BoltType> for UnboundedRelation
impl TryFrom<BoltType> for UnboundedRelation
impl StructuralPartialEq for BoltType
Auto Trait Implementations§
impl RefUnwindSafe for BoltType
impl Send for BoltType
impl Sync for BoltType
impl Unpin for BoltType
impl UnwindSafe for BoltType
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