[−][src]Enum gremlin_client::GValue
Represent possible values coming from the Gremlin Server
Variants
Vertex(Vertex)
Edge(Edge)
VertexProperty(VertexProperty)
Property(Property)
Uuid(Uuid)
Int32(i32)
Int64(i64)
Float(f32)
Double(f64)
Date(DateTime<Utc>)
List(List)
Set(Vec<GValue>)
Map(Map)
String(String)
Path(Path)
TraversalMetrics(TraversalMetrics)
Metric(Metric)
TraversalExplanation(TraversalExplanation)
IntermediateRepr(IntermediateRepr)
Methods
impl GValue
[src]
pub fn take<T>(self) -> GremlinResult<T> where
T: FromGValue,
[src]
T: FromGValue,
pub fn get<'a, T>(&'a self) -> GremlinResult<&'a T> where
T: BorrowFromGValue,
[src]
T: BorrowFromGValue,
Trait Implementations
impl PartialEq<GValue> for GValue
[src]
impl From<DateTime<Utc>> for GValue
[src]
impl From<String> for GValue
[src]
impl From<i32> for GValue
[src]
impl From<i64> for GValue
[src]
impl From<f32> for GValue
[src]
impl From<f64> for GValue
[src]
impl<'a> From<&'a str> for GValue
[src]
impl From<Vertex> for GValue
[src]
impl From<Path> for GValue
[src]
impl From<Edge> for GValue
[src]
impl From<VertexProperty> for GValue
[src]
fn from(val: VertexProperty) -> Self
[src]
impl From<TraversalMetrics> for GValue
[src]
fn from(val: TraversalMetrics) -> Self
[src]
impl From<TraversalExplanation> for GValue
[src]
fn from(val: TraversalExplanation) -> Self
[src]
impl From<Metric> for GValue
[src]
impl From<Property> for GValue
[src]
impl From<HashMap<String, GValue, RandomState>> for GValue
[src]
impl From<Vec<GValue>> for GValue
[src]
impl From<GValue> for Vec<GValue>
[src]
impl From<GValue> for VecDeque<GValue>
[src]
impl Clone for GValue
[src]
fn clone(&self) -> GValue
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for GValue
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,