Struct wick_config::config::components::SqlQueryOperationDefinition
source · pub struct SqlQueryOperationDefinition { /* private fields */ }Expand description
An operation whose implementation is a SQL query to execute on a database.
Implementations§
source§impl SqlQueryOperationDefinition
impl SqlQueryOperationDefinition
pub fn config(&self) -> &[Field]
pub fn set_config<T: Into<Field>>( &mut self, val: impl IntoIterator<Item = T> ) -> &mut Self
pub fn config_mut(&mut self) -> &mut Vec<Field>
pub fn query(&self) -> &str
pub fn set_query<T: Into<String>>(&mut self, val: T) -> &mut Self
pub fn query_mut(&mut self) -> &mut String
pub fn arguments(&self) -> &[String]
pub fn set_arguments<T: Into<String>>( &mut self, val: impl IntoIterator<Item = T> ) -> &mut Self
pub fn arguments_mut(&mut self) -> &mut Vec<String>
pub fn on_error(&self) -> &ErrorBehavior
pub fn set_on_error<T: Into<ErrorBehavior>>(&mut self, val: T) -> &mut Self
pub fn on_error_mut(&mut self) -> &mut ErrorBehavior
Trait Implementations§
source§impl AssetManager for SqlQueryOperationDefinition
impl AssetManager for SqlQueryOperationDefinition
type Asset = AssetReference
fn set_baseurl(&self, baseurl: &Path)
fn assets(&self) -> Assets<'_, AssetReference>
fn get_asset_flags(&self) -> u32
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 From<SqlQueryOperationDefinition> for OperationSignature
impl From<SqlQueryOperationDefinition> for OperationSignature
source§fn from(operation: SqlQueryOperationDefinition) -> Self
fn from(operation: SqlQueryOperationDefinition) -> Self
Converts to this type from the input type.
source§impl From<SqlQueryOperationDefinition> for SqlOperationDefinition
impl From<SqlQueryOperationDefinition> for SqlOperationDefinition
source§fn from(value: SqlQueryOperationDefinition) -> Self
fn from(value: SqlQueryOperationDefinition) -> Self
Converts to this type from the input type.
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<SqlOperationDefinition> for SqlQueryOperationDefinition
impl TryFrom<SqlOperationDefinition> 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.
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