pub struct Call<'a> {
pub routine: &'a str,
pub database: Option<&'a str>,
pub values: &'a [String],
pub outputs: &'a [String],
}Expand description
Which routine is being called, and with what.
The three parts of the call itself travel together rather than as three parameters beside the four that describe the invocation it runs under. They are one thing — the call — and separating them made the signature read as a list rather than as two ideas.
Fields§
§routine: &'a strThe routine’s own name, never a statement.
database: Option<&'a str>The database holding it, when the session is not already on it.
values: &'a [String]The values bound to its parameters, in order.
outputs: &'a [String]The parameters the caller wants the final value of.
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