pub struct ExecuteSqlCommand { /* private fields */ }Available on crate features
experimental and Database only.Implementations§
Source§impl ExecuteSqlCommand
impl ExecuteSqlCommand
pub fn new(database_id: DatabaseId, query: String) -> Self
pub fn database_id(&self) -> &DatabaseId
pub fn query(&self) -> &str
Trait Implementations§
Source§impl Clone for ExecuteSqlCommand
impl Clone for ExecuteSqlCommand
Source§fn clone(&self) -> ExecuteSqlCommand
fn clone(&self) -> ExecuteSqlCommand
Returns a duplicate 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 Command for ExecuteSqlCommand
impl Command for ExecuteSqlCommand
Source§impl Debug for ExecuteSqlCommand
impl Debug for ExecuteSqlCommand
Source§impl<'de> Deserialize<'de> for ExecuteSqlCommand
impl<'de> Deserialize<'de> for ExecuteSqlCommand
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
Auto Trait Implementations§
impl Freeze for ExecuteSqlCommand
impl RefUnwindSafe for ExecuteSqlCommand
impl Send for ExecuteSqlCommand
impl Sync for ExecuteSqlCommand
impl Unpin for ExecuteSqlCommand
impl UnwindSafe for ExecuteSqlCommand
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