pub struct TProtocolVersion(pub i32);
Tuple Fields§
§0: i32
Implementations§
Source§impl TProtocolVersion
impl TProtocolVersion
pub const HIVE_CLI_SERVICE_PROTOCOL_V1: TProtocolVersion
pub const HIVE_CLI_SERVICE_PROTOCOL_V2: TProtocolVersion
pub const HIVE_CLI_SERVICE_PROTOCOL_V3: TProtocolVersion
pub const HIVE_CLI_SERVICE_PROTOCOL_V4: TProtocolVersion
pub const HIVE_CLI_SERVICE_PROTOCOL_V5: TProtocolVersion
pub const HIVE_CLI_SERVICE_PROTOCOL_V6: TProtocolVersion
pub const HIVE_CLI_SERVICE_PROTOCOL_V7: TProtocolVersion
pub const HIVE_CLI_SERVICE_PROTOCOL_V8: TProtocolVersion
pub const HIVE_CLI_SERVICE_PROTOCOL_V9: TProtocolVersion
pub const HIVE_CLI_SERVICE_PROTOCOL_V10: TProtocolVersion
pub const HIVE_CLI_SERVICE_PROTOCOL_V11: TProtocolVersion
pub const ENUM_VALUES: &'static [Self]
Trait Implementations§
Source§impl Clone for TProtocolVersion
impl Clone for TProtocolVersion
Source§fn clone(&self) -> TProtocolVersion
fn clone(&self) -> TProtocolVersion
Returns a duplicate 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 TProtocolVersion
impl Debug for TProtocolVersion
Source§impl From<&TProtocolVersion> for i32
impl From<&TProtocolVersion> for i32
Source§fn from(e: &TProtocolVersion) -> i32
fn from(e: &TProtocolVersion) -> i32
Converts to this type from the input type.
Source§impl From<&i32> for TProtocolVersion
impl From<&i32> for TProtocolVersion
Source§impl From<TProtocolVersion> for i32
impl From<TProtocolVersion> for i32
Source§fn from(e: TProtocolVersion) -> i32
fn from(e: TProtocolVersion) -> i32
Converts to this type from the input type.
Source§impl From<i32> for TProtocolVersion
impl From<i32> for TProtocolVersion
Source§impl Hash for TProtocolVersion
impl Hash for TProtocolVersion
Source§impl Ord for TProtocolVersion
impl Ord for TProtocolVersion
Source§fn cmp(&self, other: &TProtocolVersion) -> Ordering
fn cmp(&self, other: &TProtocolVersion) -> 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 TProtocolVersion
impl PartialEq for TProtocolVersion
Source§impl PartialOrd for TProtocolVersion
impl PartialOrd for TProtocolVersion
Source§impl TSerializable for TProtocolVersion
impl TSerializable for TProtocolVersion
fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> Result<()>
fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<TProtocolVersion>
impl Copy for TProtocolVersion
impl Eq for TProtocolVersion
impl StructuralPartialEq for TProtocolVersion
Auto Trait Implementations§
impl Freeze for TProtocolVersion
impl RefUnwindSafe for TProtocolVersion
impl Send for TProtocolVersion
impl Sync for TProtocolVersion
impl Unpin for TProtocolVersion
impl UnwindSafe for TProtocolVersion
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