[][src]Enum protobuf::well_known_types::Field_Kind

pub enum Field_Kind {
    TYPE_UNKNOWN,
    TYPE_DOUBLE,
    TYPE_FLOAT,
    TYPE_INT64,
    TYPE_UINT64,
    TYPE_INT32,
    TYPE_FIXED64,
    TYPE_FIXED32,
    TYPE_BOOL,
    TYPE_STRING,
    TYPE_GROUP,
    TYPE_MESSAGE,
    TYPE_BYTES,
    TYPE_UINT32,
    TYPE_ENUM,
    TYPE_SFIXED32,
    TYPE_SFIXED64,
    TYPE_SINT32,
    TYPE_SINT64,
}

Variants

TYPE_UNKNOWNTYPE_DOUBLETYPE_FLOATTYPE_INT64TYPE_UINT64TYPE_INT32TYPE_FIXED64TYPE_FIXED32TYPE_BOOLTYPE_STRINGTYPE_GROUPTYPE_MESSAGETYPE_BYTESTYPE_UINT32TYPE_ENUMTYPE_SFIXED32TYPE_SFIXED64TYPE_SINT32TYPE_SINT64

Trait Implementations

impl ProtobufEnum for Field_Kind[src]

fn descriptor(&self) -> &'static EnumValueDescriptor[src]

Get enum value descriptor.

fn enum_descriptor(&self) -> &'static EnumDescriptor[src]

Get enum descriptor.

impl ProtobufValue for Field_Kind[src]

fn as_any(&self) -> &dyn Any[src]

Convert to Any

fn is_non_zero(&self) -> bool[src]

Is value non-zero?

fn as_ref_copy(&self) -> ProtobufValueRef<'static>[src]

Return ProtobufValueRef if self is Copy. Read more

impl Default for Field_Kind[src]

impl Clone for Field_Kind[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for Field_Kind[src]

impl Eq for Field_Kind[src]

impl PartialEq<Field_Kind> for Field_Kind[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Debug for Field_Kind[src]

impl Hash for Field_Kind[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Field_Kind

impl Sync for Field_Kind

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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