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: u64Default (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§
source§impl Clone for CharacterLength
impl Clone for CharacterLength
source§fn clone(&self) -> CharacterLength
fn clone(&self) -> CharacterLength
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more