pub struct SQLBodyParameter<'a> {
pub name: &'a str,
pub parameter: &'a FunctionParam,
pub call_position: usize,
}Expand description
An input parameter as a SQL-standard body refers to it: the name the body uses, which follows PostgreSQL’s positional naming, and where the parameter’s value arrives in a call.
Fields§
§name: &'a strThe name the body uses, empty when the declared parameter at this position is unnamed.
parameter: &'a FunctionParam§call_position: usizeThe parameter’s 1-based position among the call’s arguments, which include a procedure’s output parameters.
Trait Implementations§
Source§impl<'a> Clone for SQLBodyParameter<'a>
impl<'a> Clone for SQLBodyParameter<'a>
impl<'a> Copy for SQLBodyParameter<'a>
Auto Trait Implementations§
impl<'a> Freeze for SQLBodyParameter<'a>
impl<'a> RefUnwindSafe for SQLBodyParameter<'a>
impl<'a> Send for SQLBodyParameter<'a>
impl<'a> Sync for SQLBodyParameter<'a>
impl<'a> Unpin for SQLBodyParameter<'a>
impl<'a> UnsafeUnpin for SQLBodyParameter<'a>
impl<'a> UnwindSafe for SQLBodyParameter<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more