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§
Sourcefn proto_path() -> ProtoPath
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 ()
impl MessagePath for ()
fn proto_path() -> ProtoPath
Source§impl MessagePath for Color
Available on crate feature common-types only.
impl MessagePath for Color
Available on crate feature
common-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for Date
Available on crate feature common-types only.
impl MessagePath for Date
Available on crate feature
common-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for DateTime
Available on crate feature common-types only.
impl MessagePath for DateTime
Available on crate feature
common-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for Decimal
Available on crate feature common-types only.
impl MessagePath for Decimal
Available on crate feature
common-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for Expr
Available on crate feature common-types only.
impl MessagePath for Expr
Available on crate feature
common-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for Fraction
Available on crate feature common-types only.
impl MessagePath for Fraction
Available on crate feature
common-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for Interval
Available on crate feature common-types only.
impl MessagePath for Interval
Available on crate feature
common-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for LatLng
Available on crate feature common-types only.
impl MessagePath for LatLng
Available on crate feature
common-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for LocalizedText
Available on crate feature common-types only.
impl MessagePath for LocalizedText
Available on crate feature
common-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for Money
Available on crate feature common-types only.
impl MessagePath for Money
Available on crate feature
common-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for PhoneNumber
Available on crate feature common-types only.
impl MessagePath for PhoneNumber
Available on crate feature
common-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for PostalAddress
Available on crate feature common-types only.
impl MessagePath for PostalAddress
Available on crate feature
common-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for Quaternion
Available on crate feature common-types only.
impl MessagePath for Quaternion
Available on crate feature
common-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for TimeOfDay
Available on crate feature common-types only.
impl MessagePath for TimeOfDay
Available on crate feature
common-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for TimeZone
Available on crate feature common-types only.
impl MessagePath for TimeZone
Available on crate feature
common-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for Empty
impl MessagePath for Empty
fn proto_path() -> ProtoPath
Source§impl MessagePath for Any
impl MessagePath for Any
fn proto_path() -> ProtoPath
Source§impl MessagePath for Duration
impl MessagePath for Duration
fn proto_path() -> ProtoPath
Source§impl MessagePath for FieldMask
impl MessagePath for FieldMask
fn proto_path() -> ProtoPath
Source§impl MessagePath for Timestamp
impl MessagePath for Timestamp
fn proto_path() -> ProtoPath
Source§impl MessagePath for FieldViolation
Available on crate feature rpc-types only.
impl MessagePath for FieldViolation
Available on crate feature
rpc-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for Link
Available on crate feature rpc-types only.
impl MessagePath for Link
Available on crate feature
rpc-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for Violation
Available on crate feature rpc-types only.
impl MessagePath for Violation
Available on crate feature
rpc-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for Violation
Available on crate feature rpc-types only.
impl MessagePath for Violation
Available on crate feature
rpc-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for BadRequest
Available on crate feature rpc-types only.
impl MessagePath for BadRequest
Available on crate feature
rpc-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for DebugInfo
Available on crate feature rpc-types only.
impl MessagePath for DebugInfo
Available on crate feature
rpc-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for ErrorInfo
Available on crate feature rpc-types only.
impl MessagePath for ErrorInfo
Available on crate feature
rpc-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for Help
Available on crate feature rpc-types only.
impl MessagePath for Help
Available on crate feature
rpc-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for HttpHeader
Available on crate feature rpc-types only.
impl MessagePath for HttpHeader
Available on crate feature
rpc-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for HttpRequest
Available on crate feature rpc-types only.
impl MessagePath for HttpRequest
Available on crate feature
rpc-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for HttpResponse
Available on crate feature rpc-types only.
impl MessagePath for HttpResponse
Available on crate feature
rpc-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for LocalizedMessage
Available on crate feature rpc-types only.
impl MessagePath for LocalizedMessage
Available on crate feature
rpc-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for PreconditionFailure
Available on crate feature rpc-types only.
impl MessagePath for PreconditionFailure
Available on crate feature
rpc-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for QuotaFailure
Available on crate feature rpc-types only.
impl MessagePath for QuotaFailure
Available on crate feature
rpc-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for RequestInfo
Available on crate feature rpc-types only.
impl MessagePath for RequestInfo
Available on crate feature
rpc-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for ResourceInfo
Available on crate feature rpc-types only.
impl MessagePath for ResourceInfo
Available on crate feature
rpc-types only.fn proto_path() -> ProtoPath
Source§impl MessagePath for RetryInfo
Available on crate feature rpc-types only.
impl MessagePath for RetryInfo
Available on crate feature
rpc-types only.