pub struct ParsedRegtypeName {
pub names: Vec<String>,
pub array_dimensions: usize,
}Expand description
Parser-normalized type identity used by PostgreSQL’s regtype and regprocedure input functions. Components retain the parser’s distinction between aliases such as unquoted integer (normalized to pg_catalog.int4) and a quoted type named "integer"; type modifiers are intentionally omitted because these aliases identify a base catalog type.
Fields§
§names: Vec<String>§array_dimensions: usizeTrait Implementations§
Source§impl Clone for ParsedRegtypeName
impl Clone for ParsedRegtypeName
Source§fn clone(&self) -> ParsedRegtypeName
fn clone(&self) -> ParsedRegtypeName
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsedRegtypeName
impl Debug for ParsedRegtypeName
impl Eq for ParsedRegtypeName
Source§impl PartialEq for ParsedRegtypeName
impl PartialEq for ParsedRegtypeName
impl StructuralPartialEq for ParsedRegtypeName
Auto Trait Implementations§
impl Freeze for ParsedRegtypeName
impl RefUnwindSafe for ParsedRegtypeName
impl Send for ParsedRegtypeName
impl Sync for ParsedRegtypeName
impl Unpin for ParsedRegtypeName
impl UnsafeUnpin for ParsedRegtypeName
impl UnwindSafe for ParsedRegtypeName
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more