Struct parquet_format_safe::thrift::protocol::TFieldIdentifier
source · [−]pub struct TFieldIdentifier {
pub name: Option<String>,
pub field_type: TType,
pub id: Option<i16>,
}
Expand description
Thrift field identifier.
Fields
name: Option<String>
Name of the Thrift field.
None
if it’s not sent over the wire.
field_type: TType
Field type.
This may be a primitive, container, or a struct.
id: Option<i16>
Thrift field id.
None
only if field_type
is TType::Stop
.
Implementations
Trait Implementations
sourceimpl Clone for TFieldIdentifier
impl Clone for TFieldIdentifier
sourcefn clone(&self) -> TFieldIdentifier
fn clone(&self) -> TFieldIdentifier
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 TFieldIdentifier
impl Debug for TFieldIdentifier
sourceimpl PartialEq<TFieldIdentifier> for TFieldIdentifier
impl PartialEq<TFieldIdentifier> for TFieldIdentifier
sourcefn eq(&self, other: &TFieldIdentifier) -> bool
fn eq(&self, other: &TFieldIdentifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TFieldIdentifier) -> bool
fn ne(&self, other: &TFieldIdentifier) -> bool
This method tests for !=
.
impl Eq for TFieldIdentifier
impl StructuralEq for TFieldIdentifier
impl StructuralPartialEq for TFieldIdentifier
Auto Trait Implementations
impl RefUnwindSafe for TFieldIdentifier
impl Send for TFieldIdentifier
impl Sync for TFieldIdentifier
impl Unpin for TFieldIdentifier
impl UnwindSafe for TFieldIdentifier
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