Struct hive_metastore::FieldSchema
source · pub struct FieldSchema {
pub name: Option<FastStr>,
pub type: Option<FastStr>,
pub comment: Option<FastStr>,
}
Fields§
§name: Option<FastStr>
§type: Option<FastStr>
§comment: Option<FastStr>
Trait Implementations§
source§impl Clone for FieldSchema
impl Clone for FieldSchema
source§fn clone(&self) -> FieldSchema
fn clone(&self) -> FieldSchema
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 FieldSchema
impl Debug for FieldSchema
source§impl Default for FieldSchema
impl Default for FieldSchema
source§fn default() -> FieldSchema
fn default() -> FieldSchema
Returns the “default value” for a type. Read more
source§impl Hash for FieldSchema
impl Hash for FieldSchema
source§impl Message for FieldSchema
impl Message for FieldSchema
fn encode<T: TOutputProtocol>( &self, protocol: &mut T, ) -> Result<(), ThriftException>
fn decode<T: TInputProtocol>(protocol: &mut T) -> Result<Self, ThriftException>
fn decode_async<'a, T: TAsyncInputProtocol>( protocol: &'a mut T, ) -> Pin<Box<dyn Future<Output = Result<Self, ThriftException>> + Send + 'a>>
fn size<T: TLengthProtocol>(&self, protocol: &mut T) -> usize
source§impl Ord for FieldSchema
impl Ord for FieldSchema
source§fn cmp(&self, other: &FieldSchema) -> Ordering
fn cmp(&self, other: &FieldSchema) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for FieldSchema
impl PartialEq for FieldSchema
source§fn eq(&self, other: &FieldSchema) -> bool
fn eq(&self, other: &FieldSchema) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FieldSchema
impl PartialOrd for FieldSchema
source§fn partial_cmp(&self, other: &FieldSchema) -> Option<Ordering>
fn partial_cmp(&self, other: &FieldSchema) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for FieldSchema
impl StructuralPartialEq for FieldSchema
Auto Trait Implementations§
impl !Freeze for FieldSchema
impl RefUnwindSafe for FieldSchema
impl Send for FieldSchema
impl Sync for FieldSchema
impl Unpin for FieldSchema
impl UnwindSafe for FieldSchema
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