pub struct IntType {
pub bit_width: i8,
pub is_signed: bool,
}
Expand description
Integer logical type annotation
bitWidth must be 8, 16, 32, or 64.
Allowed for physical types: INT32, INT64
Fields§
§bit_width: i8
§is_signed: bool
Implementations§
Trait Implementations§
Source§impl Ord for IntType
impl Ord for IntType
Source§impl PartialOrd for IntType
impl PartialOrd for IntType
Source§impl TSerializable for IntType
impl TSerializable for IntType
Source§fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<IntType>
fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<IntType>
Reads the struct from the input Thrift protocol
Source§fn write_to_out_protocol<T: TOutputProtocol>(
&self,
o_prot: &mut T,
) -> Result<()>
fn write_to_out_protocol<T: TOutputProtocol>( &self, o_prot: &mut T, ) -> Result<()>
Writes the struct to the output Thrift protocol
impl Eq for IntType
impl StructuralPartialEq for IntType
Auto Trait Implementations§
impl Freeze for IntType
impl RefUnwindSafe for IntType
impl Send for IntType
impl Sync for IntType
impl Unpin for IntType
impl UnwindSafe for IntType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.