Struct parquet_format_safe::thrift::protocol::TMessageIdentifier
source · pub struct TMessageIdentifier {
pub name: String,
pub message_type: TMessageType,
pub sequence_number: u32,
}
Expand description
Thrift message identifier.
Fields§
§name: String
Service call the message is associated with.
message_type: TMessageType
Message type.
sequence_number: u32
Ordered sequence number identifying the message.
Implementations§
source§impl TMessageIdentifier
impl TMessageIdentifier
sourcepub fn new<S: Into<String>>(
name: S,
message_type: TMessageType,
sequence_number: u32
) -> TMessageIdentifier
pub fn new<S: Into<String>>( name: S, message_type: TMessageType, sequence_number: u32 ) -> TMessageIdentifier
Create a TMessageIdentifier
for a Thrift service-call named name
with message type message_type
and sequence number sequence_number
.
Trait Implementations§
source§impl Clone for TMessageIdentifier
impl Clone for TMessageIdentifier
source§fn clone(&self) -> TMessageIdentifier
fn clone(&self) -> TMessageIdentifier
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TMessageIdentifier
impl Debug for TMessageIdentifier
source§impl PartialEq for TMessageIdentifier
impl PartialEq for TMessageIdentifier
source§fn eq(&self, other: &TMessageIdentifier) -> bool
fn eq(&self, other: &TMessageIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TMessageIdentifier
impl StructuralPartialEq for TMessageIdentifier
Auto Trait Implementations§
impl Freeze for TMessageIdentifier
impl RefUnwindSafe for TMessageIdentifier
impl Send for TMessageIdentifier
impl Sync for TMessageIdentifier
impl Unpin for TMessageIdentifier
impl UnwindSafe for TMessageIdentifier
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more