pub trait NamedMessage {
    const NAME: &'static str;
}
Expand description

A trait to provide a static reference to the message’s name

Required Associated Constants§

source

const NAME: &'static str

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NamedMessage for bool

source§

const NAME: &'static str = "google.protobuf.BoolValue"

source§

impl NamedMessage for f32

source§

const NAME: &'static str = "google.protobuf.FloatValue"

source§

impl NamedMessage for f64

source§

const NAME: &'static str = "google.protobuf.DoubleValue"

source§

impl NamedMessage for i32

source§

const NAME: &'static str = "google.protobuf.Int32Value"

source§

impl NamedMessage for i64

source§

const NAME: &'static str = "google.protobuf.Int64Value"

source§

impl NamedMessage for u32

source§

const NAME: &'static str = "google.protobuf.UInt32Value"

source§

impl NamedMessage for u64

source§

const NAME: &'static str = "google.protobuf.UInt64Value"

source§

impl NamedMessage for ()

source§

const NAME: &'static str = "google.protobuf.Empty"

source§

impl NamedMessage for String

source§

const NAME: &'static str = "google.protobuf.StringValue"

source§

impl NamedMessage for Vec<u8>

source§

const NAME: &'static str = "google.protobuf.BytesValue"

source§

impl NamedMessage for Bytes

source§

const NAME: &'static str = "google.protobuf.BytesValue"

source§

impl NamedMessage for Any

source§

const NAME: &'static str = "google.protobuf.Any"

source§

impl NamedMessage for Api

source§

const NAME: &'static str = "google.protobuf.Api"

source§

impl NamedMessage for DescriptorProto

source§

const NAME: &'static str = "google.protobuf.DescriptorProto"

source§

impl NamedMessage for Duration

source§

const NAME: &'static str = "google.protobuf.Duration"

source§

impl NamedMessage for Enum

source§

const NAME: &'static str = "google.protobuf.Enum"

source§

impl NamedMessage for EnumDescriptorProto

source§

const NAME: &'static str = "google.protobuf.EnumDescriptorProto"

source§

impl NamedMessage for EnumOptions

source§

const NAME: &'static str = "google.protobuf.EnumOptions"

source§

impl NamedMessage for EnumValue

source§

const NAME: &'static str = "google.protobuf.EnumValue"

source§

impl NamedMessage for EnumValueDescriptorProto

source§

const NAME: &'static str = "google.protobuf.EnumValueDescriptorProto"

source§

impl NamedMessage for EnumValueOptions

source§

const NAME: &'static str = "google.protobuf.EnumValueOptions"

source§

impl NamedMessage for ExtensionRangeOptions

source§

const NAME: &'static str = "google.protobuf.ExtensionRangeOptions"

source§

impl NamedMessage for Field

source§

const NAME: &'static str = "google.protobuf.Field"

source§

impl NamedMessage for FieldDescriptorProto

source§

const NAME: &'static str = "google.protobuf.FieldDescriptorProto"

source§

impl NamedMessage for FieldMask

source§

const NAME: &'static str = "google.protobuf.FieldMask"

source§

impl NamedMessage for FieldOptions

source§

const NAME: &'static str = "google.protobuf.FieldOptions"

source§

impl NamedMessage for GeneratedCodeInfo

source§

const NAME: &'static str = "google.protobuf.GeneratedCodeInfo"

source§

impl NamedMessage for ListValue

source§

const NAME: &'static str = "google.protobuf.ListValue"

source§

impl NamedMessage for MessageOptions

source§

const NAME: &'static str = "google.protobuf.MessageOptions"

source§

impl NamedMessage for Method

source§

const NAME: &'static str = "google.protobuf.Method"

source§

impl NamedMessage for MethodDescriptorProto

source§

const NAME: &'static str = "google.protobuf.MethodDescriptorProto"

source§

impl NamedMessage for MethodOptions

source§

const NAME: &'static str = "google.protobuf.MethodOptions"

source§

impl NamedMessage for Mixin

source§

const NAME: &'static str = "google.protobuf.Mixin"

source§

impl NamedMessage for OneofDescriptorProto

source§

const NAME: &'static str = "google.protobuf.OneofDescriptorProto"

source§

impl NamedMessage for OneofOptions

source§

const NAME: &'static str = "google.protobuf.OneofOptions"

source§

impl NamedMessage for Option

source§

const NAME: &'static str = "google.protobuf.Option"

source§

impl NamedMessage for ServiceDescriptorProto

source§

const NAME: &'static str = "google.protobuf.ServiceDescriptorProto"

source§

impl NamedMessage for ServiceOptions

source§

const NAME: &'static str = "google.protobuf.ServiceOptions"

source§

impl NamedMessage for SourceCodeInfo

source§

const NAME: &'static str = "google.protobuf.SourceCodeInfo"

source§

impl NamedMessage for SourceContext

source§

const NAME: &'static str = "google.protobuf.SourceContext"

source§

impl NamedMessage for Struct

source§

const NAME: &'static str = "google.protobuf.Struct"

source§

impl NamedMessage for Timestamp

source§

const NAME: &'static str = "google.protobuf.Timestamp"

source§

impl NamedMessage for Type

source§

const NAME: &'static str = "google.protobuf.Type"

source§

impl NamedMessage for UninterpretedOption

source§

const NAME: &'static str = "google.protobuf.UninterpretedOption"

source§

impl NamedMessage for Value

source§

const NAME: &'static str = "google.protobuf.Value"

Implementors§