Enum sql_parser::ast::CreateSourceFormat [−][src]
pub enum CreateSourceFormat<T: AstInfo> {
None,
Bare(Format<T>),
KeyValue {
key: Format<T>,
value: Format<T>,
},
}
Variants
None
Bare(Format<T>)
Tuple Fields
0: Format<T>
CREATE SOURCE .. FORMAT
KeyValue
CREATE SOURCE .. KEY FORMAT .. VALUE FORMAT
Also the destination for the legacy ENVELOPE UPSERT FORMAT ...
Trait Implementations
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 CreateSourceFormat<T> where
<T as AstInfo>::ObjectName: RefUnwindSafe,
impl<T> Send for CreateSourceFormat<T> where
<T as AstInfo>::ObjectName: Send,
impl<T> Sync for CreateSourceFormat<T> where
<T as AstInfo>::ObjectName: Sync,
impl<T> Unpin for CreateSourceFormat<T> where
<T as AstInfo>::ObjectName: Unpin,
impl<T> UnwindSafe for CreateSourceFormat<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