Enum protobuf::well_known_types::Syntax
source · [−]pub enum Syntax {
SYNTAX_PROTO2,
SYNTAX_PROTO3,
}
Expand description
The syntax in which a protocol buffer element is defined.
Variants
SYNTAX_PROTO2
SYNTAX_PROTO3
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Try to create an enum from i32
value.
Return None
if value is unknown. Read more
Get all enum values for enum type.
Get enum descriptor by type.
Get enum value descriptor.
Get enum descriptor.
type RuntimeType = RuntimeTypeEnum<Self>
type RuntimeType = RuntimeTypeEnum<Self>
Actual implementation of type properties.
Dynamic version of the type.
Pointer to a dynamic reference.
Mutable pointer to a dynamic mutable reference.
Construct a value from given reflective value. Read more
Write the value.
Default value for this type.
Convert a value into a ref value if possible. Read more
Value is non-default?
Auto Trait Implementations
impl RefUnwindSafe for Syntax
impl UnwindSafe for Syntax
Blanket Implementations
Mutably borrows from an owned value. Read more