Skip to main content

MessagePath

Trait MessagePath 

Source
pub trait MessagePath {
    // Required method
    fn proto_path() -> ProtoPath;
}
Expand description

A trait that returns the protobuf path of a given message.

It must be implemented for the targets of the enums annotated with the proto_service macro.

Required Methods§

Source

fn proto_path() -> ProtoPath

Returns the protobuf path to this message.

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 MessagePath for ()

Source§

impl MessagePath for Color

Available on crate feature common-types only.
Source§

impl MessagePath for Date

Available on crate feature common-types only.
Source§

impl MessagePath for DateTime

Available on crate feature common-types only.
Source§

impl MessagePath for Decimal

Available on crate feature common-types only.
Source§

impl MessagePath for Expr

Available on crate feature common-types only.
Source§

impl MessagePath for Fraction

Available on crate feature common-types only.
Source§

impl MessagePath for Interval

Available on crate feature common-types only.
Source§

impl MessagePath for LatLng

Available on crate feature common-types only.
Source§

impl MessagePath for LocalizedText

Available on crate feature common-types only.
Source§

impl MessagePath for Money

Available on crate feature common-types only.
Source§

impl MessagePath for PhoneNumber

Available on crate feature common-types only.
Source§

impl MessagePath for PostalAddress

Available on crate feature common-types only.
Source§

impl MessagePath for Quaternion

Available on crate feature common-types only.
Source§

impl MessagePath for TimeOfDay

Available on crate feature common-types only.
Source§

impl MessagePath for TimeZone

Available on crate feature common-types only.
Source§

impl MessagePath for Empty

Source§

impl MessagePath for Any

Source§

impl MessagePath for Duration

Source§

impl MessagePath for FieldMask

Source§

impl MessagePath for Timestamp

Source§

impl MessagePath for FieldViolation

Available on crate feature rpc-types only.
Source§

impl MessagePath for Violation

Available on crate feature rpc-types only.
Source§

impl MessagePath for Violation

Available on crate feature rpc-types only.
Source§

impl MessagePath for BadRequest

Available on crate feature rpc-types only.
Source§

impl MessagePath for DebugInfo

Available on crate feature rpc-types only.
Source§

impl MessagePath for ErrorInfo

Available on crate feature rpc-types only.
Source§

impl MessagePath for Help

Available on crate feature rpc-types only.
Source§

impl MessagePath for HttpHeader

Available on crate feature rpc-types only.
Source§

impl MessagePath for HttpRequest

Available on crate feature rpc-types only.
Source§

impl MessagePath for HttpResponse

Available on crate feature rpc-types only.
Source§

impl MessagePath for LocalizedMessage

Available on crate feature rpc-types only.
Source§

impl MessagePath for PreconditionFailure

Available on crate feature rpc-types only.
Source§

impl MessagePath for QuotaFailure

Available on crate feature rpc-types only.
Source§

impl MessagePath for RequestInfo

Available on crate feature rpc-types only.
Source§

impl MessagePath for ResourceInfo

Available on crate feature rpc-types only.
Source§

impl MessagePath for RetryInfo

Available on crate feature rpc-types only.
Source§

impl MessagePath for Status

Implementors§