pub struct NullType {}๐Deprecated since 57.0.0: The
format module is no longer maintained, and will be removed in 59.0.0Expand description
Logical type to annotate a column that is always null.
Sometimes when discovering the schema of existing data, values are always null and the physical type canโt be determined. This annotation signals the case where the physical type was guessed from all null values.
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Ord for NullType
impl Ord for NullType
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 PartialOrd for NullType
impl PartialOrd for NullType
Sourceยงimpl TSerializable for NullType
impl TSerializable for NullType
Sourceยงfn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<NullType>
fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<NullType>
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 NullType
impl StructuralPartialEq for NullType
Auto Trait Implementationsยง
impl Freeze for NullType
impl RefUnwindSafe for NullType
impl Send for NullType
impl Sync for NullType
impl Unpin for NullType
impl UnwindSafe for NullType
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