pub struct Invocation { /* private fields */ }Implementations§
Source§impl Invocation
impl Invocation
pub fn params(&mut self) -> &ParamMap
pub fn unspecified_params( &mut self, ) -> impl Iterator<Item = (&String, &ParamType)>
pub fn set_arg(&mut self, name: &str, value: Value)
pub fn set_args(&mut self, args: ArgMap)
pub fn with_arg(self, name: &str, value: Value) -> Self
pub fn with_args(self, args: ArgMap) -> Self
pub fn into_resolve_request(self) -> Result<ResolveParams, Error>
Trait Implementations§
Source§impl Clone for Invocation
impl Clone for Invocation
Source§fn clone(&self) -> Invocation
fn clone(&self) -> Invocation
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 Invocation
impl RefUnwindSafe for Invocation
impl Send for Invocation
impl Sync for Invocation
impl Unpin for Invocation
impl UnwindSafe for Invocation
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