Struct sqlparser::ast::CharacterLength
source · [−]pub struct CharacterLength {
pub length: u64,
pub unit: Option<CharLengthUnits>,
}
Expand description
Information about character length, including length and possibly unit.
Fields
length: u64
Default (if VARYING) or maximum (if not VARYING) length
unit: Option<CharLengthUnits>
Optional unit. If not informed, the ANSI handles it as CHARACTERS implicitly
Trait Implementations
sourceimpl Clone for CharacterLength
impl Clone for CharacterLength
sourcefn clone(&self) -> CharacterLength
fn clone(&self) -> CharacterLength
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CharacterLength
impl Debug for CharacterLength
sourceimpl Display for CharacterLength
impl Display for CharacterLength
sourceimpl Hash for CharacterLength
impl Hash for CharacterLength
sourceimpl PartialEq<CharacterLength> for CharacterLength
impl PartialEq<CharacterLength> for CharacterLength
sourcefn eq(&self, other: &CharacterLength) -> bool
fn eq(&self, other: &CharacterLength) -> bool
impl Eq for CharacterLength
impl StructuralEq for CharacterLength
impl StructuralPartialEq for CharacterLength
Auto Trait Implementations
impl RefUnwindSafe for CharacterLength
impl Send for CharacterLength
impl Sync for CharacterLength
impl Unpin for CharacterLength
impl UnwindSafe for CharacterLength
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more