Enum dgraph_rs::protos::api::Facet_ValType
source · pub enum Facet_ValType {
STRING,
INT,
FLOAT,
BOOL,
DATETIME,
}
Variants
STRING
INT
FLOAT
BOOL
DATETIME
Trait Implementations
sourceimpl Clone for Facet_ValType
impl Clone for Facet_ValType
sourcefn clone(&self) -> Facet_ValType
fn clone(&self) -> Facet_ValType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Facet_ValType
impl Debug for Facet_ValType
sourceimpl Default for Facet_ValType
impl Default for Facet_ValType
sourceimpl Hash for Facet_ValType
impl Hash for Facet_ValType
sourceimpl PartialEq<Facet_ValType> for Facet_ValType
impl PartialEq<Facet_ValType> for Facet_ValType
sourcefn eq(&self, other: &Facet_ValType) -> bool
fn eq(&self, other: &Facet_ValType) -> bool
sourceimpl ProtobufEnum for Facet_ValType
impl ProtobufEnum for Facet_ValType
sourcefn from_i32(value: i32) -> Option<Facet_ValType>
fn from_i32(value: i32) -> Option<Facet_ValType>
sourcefn values() -> &'static [Self]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
fn values() -> &'static [Self]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
Get all enum values for enum type.
sourcefn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
sourcefn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
sourcefn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
sourceimpl ProtobufValue for Facet_ValType
impl ProtobufValue for Facet_ValType
sourcefn as_ref(&self) -> ProtobufValueRef<'_>
fn as_ref(&self) -> ProtobufValueRef<'_>
As ref
sourcefn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
sourcefn as_ref_copy(&self) -> ProtobufValueRef<'static>
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
impl Copy for Facet_ValType
impl Eq for Facet_ValType
impl StructuralEq for Facet_ValType
impl StructuralPartialEq for Facet_ValType
Auto Trait Implementations
impl RefUnwindSafe for Facet_ValType
impl Send for Facet_ValType
impl Sync for Facet_ValType
impl Unpin for Facet_ValType
impl UnwindSafe for Facet_ValType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more