pub enum CallArgs {
DirectArgs(HashMap<CompactString, RpcParamValue>),
JsonArgs(Option<Bytes>),
}Expand description
Arguments to pass to the function
Variants§
DirectArgs(HashMap<CompactString, RpcParamValue>)
Direct key-value arguments (from query params or form data)
JsonArgs(Option<Bytes>)
JSON body argument (passed directly to function)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for CallArgs
impl RefUnwindSafe for CallArgs
impl Send for CallArgs
impl Sync for CallArgs
impl Unpin for CallArgs
impl UnsafeUnpin for CallArgs
impl UnwindSafe for CallArgs
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