pub enum CallParams {
KeyParams(Vec<RoutineParam>),
OnePosParam(RoutineParam),
}Expand description
Resolved function parameters
Variants§
KeyParams(Vec<RoutineParam>)
Named parameters (the common case)
OnePosParam(RoutineParam)
Single positional parameter (for functions taking a single JSON/text arg)
Implementations§
Source§impl CallParams
impl CallParams
Sourcepub fn params(&self) -> &[RoutineParam]
pub fn params(&self) -> &[RoutineParam]
Get all resolved parameters
Trait Implementations§
Source§impl Clone for CallParams
impl Clone for CallParams
Source§fn clone(&self) -> CallParams
fn clone(&self) -> CallParams
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 moreAuto Trait Implementations§
impl Freeze for CallParams
impl RefUnwindSafe for CallParams
impl Send for CallParams
impl Sync for CallParams
impl Unpin for CallParams
impl UnsafeUnpin for CallParams
impl UnwindSafe for CallParams
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