pub enum UserProperty {
Timestamp,
Status,
StatusMessage,
IsApplicationError,
SourceId,
InvalidPropertyName,
InvalidPropertyValue,
ProtocolVersion,
SupportedMajorVersions,
RequestProtocolVersion,
}
Expand description
Enum representing the system properties.
Variants§
Timestamp
A HybridLogicalClock
timestamp associated with the request or response.
Status
User Property indicating an HTTP status code.
StatusMessage
User Property indicating a human-readable status message; used when Status != 200 (OK).
IsApplicationError
User property indicating if a non-200 see <cref=“Status”/> is an application-level error.
SourceId
User Property indicating the source ID of a request, response, or message.
InvalidPropertyName
The name of an MQTT property in a request header that is missing or has an invalid value.
InvalidPropertyValue
The value of an MQTT property in a request header that is invalid.
ProtocolVersion
User property that indicates the protocol version of an RPC/telemetry request.
SupportedMajorVersions
User property indicating which major versions the command executor supports. The value of this property is a space-separated list of integers like “1 2 3”.
RequestProtocolVersion
User property indicating what protocol version the request had. This property is only used when a command executor rejects a command invocation because the requested protocol version either wasn’t supported or was malformed.
Trait Implementations§
Source§impl Clone for UserProperty
impl Clone for UserProperty
Source§fn clone(&self) -> UserProperty
fn clone(&self) -> UserProperty
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more