Enum protobuf::well_known_types::Syntax [−][src]
pub enum Syntax { SYNTAX_PROTO2, SYNTAX_PROTO3, }
Variants
Trait Implementations
impl<'de> Deserialize<'de> for Syntax
[src]
impl<'de> Deserialize<'de> for Syntax
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl ProtobufEnum for Syntax
[src]
impl ProtobufEnum for Syntax
[src]fn value(&self) -> i32
[src]
fn from_i32(value: i32) -> Option<Syntax>
[src]
fn values() -> &'static [Self]ⓘ
[src]
fn enum_descriptor_static() -> &'static EnumDescriptor
[src]
fn descriptor(&self) -> &'static EnumValueDescriptor
[src]
fn enum_descriptor(&self) -> &'static EnumDescriptor
[src]
impl ProtobufValue for Syntax
[src]
impl ProtobufValue for Syntax
[src]fn as_ref(&self) -> ReflectValueRef<'_>
[src]
fn as_any(&self) -> &dyn Any
[src]
fn is_non_zero(&self) -> bool
[src]
fn as_ref_copy(&self) -> ReflectValueRef<'static>
[src]
impl StructuralEq for Syntax
[src]
impl StructuralEq for Syntax
[src]impl StructuralPartialEq for Syntax
[src]
impl StructuralPartialEq for Syntax
[src]Auto Trait Implementations
impl RefUnwindSafe for Syntax
impl RefUnwindSafe for Syntax
impl UnwindSafe for Syntax
impl UnwindSafe for Syntax
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]