pub enum StringLengthUnit {
Characters,
Bytes,
}Expand description
Unit counted by Expr::StringLength.
Variants§
Characters
Unicode scalar values, as SQL CHARACTER_LENGTH counts them.
Bytes
UTF-8 bytes, as SQL OCTET_LENGTH counts them.
Trait Implementations§
Source§impl Clone for StringLengthUnit
impl Clone for StringLengthUnit
impl Copy for StringLengthUnit
Source§impl Debug for StringLengthUnit
impl Debug for StringLengthUnit
impl Eq for StringLengthUnit
Source§impl Hash for StringLengthUnit
impl Hash for StringLengthUnit
Source§impl PartialEq for StringLengthUnit
impl PartialEq for StringLengthUnit
impl StructuralPartialEq for StringLengthUnit
Auto Trait Implementations§
impl Freeze for StringLengthUnit
impl RefUnwindSafe for StringLengthUnit
impl Send for StringLengthUnit
impl Sync for StringLengthUnit
impl Unpin for StringLengthUnit
impl UnsafeUnpin for StringLengthUnit
impl UnwindSafe for StringLengthUnit
Blanket Implementations§
impl<T> Allocation for T
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