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§
Source§impl IntType
impl IntType
pub fn new(bit_width: i8, is_signed: bool) -> IntType
pub fn read_from_in_protocol<T: TInputProtocol>( i_prot: &mut T, ) -> Result<IntType>
pub fn write_to_out_protocol<T: TOutputProtocol>( &self, o_prot: &mut T, ) -> Result<usize>
Trait Implementations§
Source§impl Ord for IntType
impl Ord for IntType
Source§impl PartialOrd for IntType
impl PartialOrd for IntType
Source§impl ReadThrift for IntType
impl ReadThrift for IntType
fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<IntType>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)