Struct wick_config::v1::SqlQueryOperationDefinition
source · pub struct SqlQueryOperationDefinition {
pub name: String,
pub with: Vec<Field>,
pub inputs: Vec<Field>,
pub outputs: Vec<Field>,
pub query: String,
pub arguments: Vec<String>,
pub on_error: Option<ErrorBehavior>,
}Expand description
A dynamic operation whose implementation is a SQL query.
Fields§
§name: StringThe name of the operation.
with: Vec<Field>Any configuration required by the operation.
inputs: Vec<Field>Types of the inputs to the operation.
outputs: Vec<Field>Types of the outputs to the operation.
query: StringThe query to execute.
arguments: Vec<String>The positional arguments to the query, defined as a list of input names.
on_error: Option<ErrorBehavior>What to do when an error occurs.
Trait Implementations§
source§impl Clone for SqlQueryOperationDefinition
impl Clone for SqlQueryOperationDefinition
source§fn clone(&self) -> SqlQueryOperationDefinition
fn clone(&self) -> SqlQueryOperationDefinition
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 moresource§impl Debug for SqlQueryOperationDefinition
impl Debug for SqlQueryOperationDefinition
source§impl<'de> Deserialize<'de> for SqlQueryOperationDefinition
impl<'de> Deserialize<'de> for SqlQueryOperationDefinition
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<SqlQueryOperationDefinition> for SqlQueryOperationDefinition
impl PartialEq<SqlQueryOperationDefinition> for SqlQueryOperationDefinition
source§fn eq(&self, other: &SqlQueryOperationDefinition) -> bool
fn eq(&self, other: &SqlQueryOperationDefinition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<SqlQueryOperationDefinition> for SqlQueryOperationDefinition
impl TryFrom<SqlQueryOperationDefinition> for SqlQueryOperationDefinition
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<SqlQueryOperationDefinition> for SqlQueryOperationDefinition
impl TryFrom<SqlQueryOperationDefinition> for SqlQueryOperationDefinition
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for SqlQueryOperationDefinition
Auto Trait Implementations§
impl RefUnwindSafe for SqlQueryOperationDefinition
impl Send for SqlQueryOperationDefinition
impl Sync for SqlQueryOperationDefinition
impl Unpin for SqlQueryOperationDefinition
impl UnwindSafe for SqlQueryOperationDefinition
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