pub struct CompactNullableString(pub Option<String>);Expand description
Represents a nullable string whose length is expressed as a variable-length integer rather than a fixed 2-byte length.
Tuple Fields§
§0: Option<String>Trait Implementations§
Source§impl Debug for CompactNullableString
impl Debug for CompactNullableString
Source§impl Hash for CompactNullableString
impl Hash for CompactNullableString
Source§impl Ord for CompactNullableString
impl Ord for CompactNullableString
Source§fn cmp(&self, other: &CompactNullableString) -> Ordering
fn cmp(&self, other: &CompactNullableString) -> 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 CompactNullableString
impl PartialEq for CompactNullableString
Source§impl PartialOrd for CompactNullableString
impl PartialOrd for CompactNullableString
Source§impl<R> ReadType<R> for CompactNullableStringwhere
R: Read,
impl<R> ReadType<R> for CompactNullableStringwhere
R: Read,
Source§impl<W> WriteType<W> for CompactNullableStringwhere
W: Write,
impl<W> WriteType<W> for CompactNullableStringwhere
W: Write,
impl Eq for CompactNullableString
impl StructuralPartialEq for CompactNullableString
Auto Trait Implementations§
impl Freeze for CompactNullableString
impl RefUnwindSafe for CompactNullableString
impl Send for CompactNullableString
impl Sync for CompactNullableString
impl Unpin for CompactNullableString
impl UnwindSafe for CompactNullableString
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