[][src]Enum gremlin_client::structure::GProperty

pub enum GProperty {
    VertexProperty(VertexProperty),
    Property(Property),
}

Variants

VertexProperty(VertexProperty)
Property(Property)

Methods

impl GProperty[src]

pub fn value(&self) -> &GValue[src]

pub fn take<T>(self) -> GremlinResult<T> where
    T: FromGValue, 
[src]

pub fn get<'a, T>(&'a self) -> GremlinResult<&'a T> where
    T: BorrowFromGValue, 
[src]

pub fn label(&self) -> &String[src]

Trait Implementations

impl Clone for GProperty[src]

impl PartialEq<GProperty> for GProperty[src]

impl Debug for GProperty[src]

impl StructuralPartialEq for GProperty[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> Typeable for T where
    T: Any