[−][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)List(List)Set(Set)Map(Map)Token(Token)String(String)Path(Path)TraversalMetrics(TraversalMetrics)Metric(Metric)TraversalExplanation(TraversalExplanation)IntermediateRepr(IntermediateRepr)P(P)T(T)Bytecode(Bytecode)Traverser(Traverser)Scope(Scope)Order(Order)Bool(bool)TextP(TextP)Pop(Pop)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 Clone for GValue[src]
impl Debug for GValue[src]
impl<'_> From<&'_ String> for GValue[src]
impl<'_> From<&'_ Vertex> for GValue[src]
impl<'a> From<&'a str> for GValue[src]
impl From<BTreeMap<String, GValue>> for GValue[src]
impl From<Bytecode> for GValue[src]
impl From<DateTime<Utc>> for GValue[src]
impl From<Edge> for GValue[src]
impl<A, B> From<Either2<A, B>> for GValue where
A: Into<GValue>,
B: Into<GValue>, [src]
A: Into<GValue>,
B: Into<GValue>,
impl From<GKey> for GValue[src]
impl From<GValue> for Vec<GValue>[src]
impl From<GValue> for VecDeque<GValue>[src]
impl From<HashMap<GKey, GValue, RandomState>> for GValue[src]
impl From<HashMap<String, GValue, RandomState>> for GValue[src]
impl From<Metric> for GValue[src]
impl From<Order> for GValue[src]
impl From<P> for GValue[src]
impl From<Path> for GValue[src]
impl From<Property> for GValue[src]
impl From<Scope> for GValue[src]
impl From<String> for GValue[src]
impl From<T> for GValue[src]
impl From<TextP> for GValue[src]
impl From<Token> for GValue[src]
impl From<TraversalExplanation> for GValue[src]
fn from(val: TraversalExplanation) -> Self[src]
impl From<TraversalMetrics> for GValue[src]
fn from(val: TraversalMetrics) -> Self[src]
impl From<Traverser> for GValue[src]
impl From<Vec<GValue>> for GValue[src]
impl From<Vertex> for GValue[src]
impl From<VertexProperty> for GValue[src]
fn from(val: VertexProperty) -> Self[src]
impl From<bool> for GValue[src]
impl From<f32> for GValue[src]
impl From<f64> for GValue[src]
impl From<i32> for GValue[src]
impl From<i64> for GValue[src]
impl PartialEq<GValue> for GValue[src]
impl StructuralPartialEq for GValue[src]
Auto Trait Implementations
impl RefUnwindSafe for GValue
impl Send for GValue
impl Sync for GValue
impl Unpin for GValue
impl UnwindSafe for GValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> 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,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,