Struct wasmcloud_interface_sqldb::Statement
source · pub struct Statement {
pub database: Option<String>,
pub parameters: Option<Parameters>,
pub sql: String,
}
Fields
database: Option<String>
Optional database in which the statement must be executed. The value in this field is case-sensitive.
parameters: Option<Parameters>
sql: String
A sql query or statement that is a non-empty string containing in the syntax of the back-end database.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Statement
impl<'de> Deserialize<'de> for Statement
sourcefn 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
sourceimpl From<String> for Statement
impl From<String> for Statement
Generates Statement from sql using default values for database (use current) and parameters (none)
impl Eq for Statement
impl StructuralEq for Statement
impl StructuralPartialEq for Statement
Auto Trait Implementations
impl RefUnwindSafe for Statement
impl Send for Statement
impl Sync for Statement
impl Unpin for Statement
impl UnwindSafe for Statement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more