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
sourceimpl 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
sourceimpl Clone for TMessageIdentifier
impl Clone for TMessageIdentifier
sourcefn clone(&self) -> TMessageIdentifier
fn clone(&self) -> TMessageIdentifier
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TMessageIdentifier
impl Debug for TMessageIdentifier
sourceimpl PartialEq<TMessageIdentifier> for TMessageIdentifier
impl PartialEq<TMessageIdentifier> for TMessageIdentifier
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &TMessageIdentifier) -> bool
fn ne(&self, other: &TMessageIdentifier) -> bool
This method tests for !=
.
impl Eq for TMessageIdentifier
impl StructuralEq for TMessageIdentifier
impl StructuralPartialEq for TMessageIdentifier
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more