Struct thrift::protocol::TMessageIdentifier [−][src]
pub struct TMessageIdentifier {
pub name: String,
pub message_type: TMessageType,
pub sequence_number: i32,
}
Expand description
Thrift message identifier.
Fields
name: String
Service call the message is associated with.
message_type: TMessageType
Message type.
sequence_number: i32
Ordered sequence number identifying the message.
Implementations
pub fn new<S: Into<String>>(
name: S,
message_type: TMessageType,
sequence_number: i32
) -> TMessageIdentifier
pub fn new<S: Into<String>>(
name: S,
message_type: TMessageType,
sequence_number: i32
) -> TMessageIdentifier
Create a TMessageIdentifier
for a Thrift service-call named name
with message type message_type
and sequence number sequence_number
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TMessageIdentifier
impl Send for TMessageIdentifier
impl Sync for TMessageIdentifier
impl Unpin for TMessageIdentifier
impl UnwindSafe for TMessageIdentifier
Blanket Implementations
Mutably borrows from an owned value. Read more