Struct sql_parser::ast::defs::statement::CreateSinkStatement [−][src]
pub struct CreateSinkStatement<T: AstInfo> {
pub name: UnresolvedObjectName,
pub from: UnresolvedObjectName,
pub connector: CreateSinkConnector<T>,
pub with_options: Vec<SqlOption<T>>,
pub format: Option<Format<T>>,
pub envelope: Option<Envelope>,
pub with_snapshot: bool,
pub as_of: Option<Expr<T>>,
pub if_not_exists: bool,
}Expand description
CREATE SINK
Fields
name: UnresolvedObjectNamefrom: UnresolvedObjectNameconnector: CreateSinkConnector<T>with_options: Vec<SqlOption<T>>format: Option<Format<T>>envelope: Option<Envelope>with_snapshot: boolas_of: Option<Expr<T>>if_not_exists: boolTrait 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 CreateSinkStatement<T> where
<T as AstInfo>::Id: RefUnwindSafe,
<T as AstInfo>::ObjectName: RefUnwindSafe,
impl<T> Send for CreateSinkStatement<T> where
<T as AstInfo>::Id: Send,
<T as AstInfo>::ObjectName: Send,
impl<T> Sync for CreateSinkStatement<T> where
<T as AstInfo>::Id: Sync,
<T as AstInfo>::ObjectName: Sync,
impl<T> Unpin for CreateSinkStatement<T> where
<T as AstInfo>::ObjectName: Unpin,
impl<T> UnwindSafe for CreateSinkStatement<T> where
<T as AstInfo>::Id: UnwindSafe,
<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