pub struct Call<'a> {
pub program: &'a str,
pub ordinal: u32,
pub verb: &'a str,
pub cursor: Option<&'a str>,
pub text: &'a str,
pub inputs: &'a [Value],
}Expand description
One statement as a backend receives it.
Fields§
§program: &'a str§ordinal: u32The statement’s place among its program’s EXEC SQL blocks, from 1.
verb: &'a strSELECT, INSERT, UPDATE, DELETE, OPEN, FETCH, CLOSE, COMMIT or ROLLBACK.
cursor: Option<&'a str>§text: &'a strThe canonical text, with ? for each input.
inputs: &'a [Value]Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Call<'a>
impl<'a> RefUnwindSafe for Call<'a>
impl<'a> Send for Call<'a>
impl<'a> Sync for Call<'a>
impl<'a> Unpin for Call<'a>
impl<'a> UnsafeUnpin for Call<'a>
impl<'a> UnwindSafe for Call<'a>
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