Trait NamedMessage

Source
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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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§