[][src]Enum packs::std_structs::StdStructPrimitive

pub enum StdStructPrimitive {
    Date(Date),
    Time(Time),
    LocalTime(LocalTime),
    DateTime(DateTime),
    DateTimeZoneId(DateTimeZoneId),
    LocalDateTime(LocalDateTime),
    Duration(Duration),
    Point2D(Point2D),
    Point3D(Point3D),
}

A variant of StdStruct which has only the non-recursive types. This allows StdStruct to become Send, since Node can use StdStructPrimitive and hence is no longer recursive.

Variants

Date(Date)
Time(Time)
LocalTime(LocalTime)
DateTime(DateTime)
DateTimeZoneId(DateTimeZoneId)
LocalDateTime(LocalDateTime)
Duration(Duration)
Point2D(Point2D)
Point3D(Point3D)

Trait Implementations

impl Clone for StdStructPrimitive[src]

impl Debug for StdStructPrimitive[src]

impl Pack for StdStructPrimitive[src]

impl PartialEq<StdStructPrimitive> for StdStructPrimitive[src]

impl StructuralPartialEq for StdStructPrimitive[src]

impl Unpack for StdStructPrimitive[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.