Struct sql::ast::CreateTypeStatement [−][src]
pub struct CreateTypeStatement<T> where
T: AstInfo, {
pub name: UnresolvedObjectName,
pub as_type: CreateTypeAs,
pub with_options: Vec<SqlOption<T>, Global>,
}
Expand description
CREATE TYPE ..
Fields
name: UnresolvedObjectName
Name of the created type.
as_type: CreateTypeAs
The new type’s “base type”.
with_options: Vec<SqlOption<T>, Global>
Provides the name and type for the key and value.
Trait Implementations
impl<T> PartialEq<CreateTypeStatement<T>> for CreateTypeStatement<T> where
T: PartialEq<T> + AstInfo,
impl<T> PartialEq<CreateTypeStatement<T>> for CreateTypeStatement<T> where
T: PartialEq<T> + AstInfo,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for CreateTypeStatement<T> where
<T as AstInfo>::ObjectName: RefUnwindSafe,
impl<T> Send for CreateTypeStatement<T> where
<T as AstInfo>::ObjectName: Send,
impl<T> Sync for CreateTypeStatement<T> where
<T as AstInfo>::ObjectName: Sync,
impl<T> Unpin for CreateTypeStatement<T> where
<T as AstInfo>::ObjectName: Unpin,
impl<T> UnwindSafe for CreateTypeStatement<T> where
<T as AstInfo>::ObjectName: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}
) and returns it.
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more