pub enum Prop {
}Expand description
Denotes the types of properties allowed to be stored in the graph.
Variants§
Str(ArcStr)
U8(u8)
U16(u16)
I32(i32)
I64(i64)
U32(u32)
U64(u64)
F32(f32)
F64(f64)
Bool(bool)
List(Arc<Vec<Prop>>)
Map(Arc<HashMap<ArcStr, Prop>>)
NDTime(NaiveDateTime)
DTime(DateTime<Utc>)
Graph(Graph)
Document(DocumentInput)
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Prop
impl<'de> Deserialize<'de> for Prop
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 PartialEq for Prop
impl PartialEq for Prop
source§impl PartialOrd for Prop
impl PartialOrd for Prop
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl PropUnwrap for Prop
impl PropUnwrap for Prop
fn into_u8(self) -> Option<u8>
fn into_u16(self) -> Option<u16>
fn into_str(self) -> Option<ArcStr>
fn into_i32(self) -> Option<i32>
fn into_i64(self) -> Option<i64>
fn into_u32(self) -> Option<u32>
fn into_u64(self) -> Option<u64>
fn into_f32(self) -> Option<f32>
fn into_f64(self) -> Option<f64>
fn into_bool(self) -> Option<bool>
fn into_list(self) -> Option<Arc<Vec<Prop>>>
fn into_map(self) -> Option<Arc<HashMap<ArcStr, Prop>>>
fn into_ndtime(self) -> Option<NaiveDateTime>
fn into_graph(self) -> Option<Graph>
fn into_document(self) -> Option<DocumentInput>
fn unwrap_u8(self) -> u8
fn unwrap_u16(self) -> u16
fn unwrap_str(self) -> ArcStr
fn unwrap_i32(self) -> i32
fn unwrap_i64(self) -> i64
fn unwrap_u32(self) -> u32
fn unwrap_u64(self) -> u64
fn unwrap_f32(self) -> f32
fn unwrap_f64(self) -> f64
fn unwrap_bool(self) -> bool
fn unwrap_list(self) -> Arc<Vec<Prop>>
fn unwrap_map(self) -> Arc<HashMap<ArcStr, Prop>>
fn unwrap_ndtime(self) -> NaiveDateTime
fn unwrap_graph(self) -> Graph
fn unwrap_document(self) -> DocumentInput
impl StructuralPartialEq for Prop
Auto Trait Implementations§
impl Freeze for Prop
impl !RefUnwindSafe for Prop
impl Send for Prop
impl Sync for Prop
impl Unpin for Prop
impl !UnwindSafe for Prop
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more