[−][src]Struct new_home_application::method::method_structure::MethodArguments
Contains the arguments for a called method
Stores them in a HashMap
which can only be accessed by a single getter method
Methods
impl MethodArguments
[src]
pub fn empty() -> Self
[src]
Creates an arguments struct from an empty HashMap
pub fn new(arguments: HashMap<String, Value>) -> Self
[src]
Creates an arguments struct from a given HashMap
The type for the value might change to a serde_json::Value
pub fn get_argument(&self, name: &String) -> Option<Value>
[src]
Gets the argument by the given name
The return value may be changed to a serde_json::Value
type
Auto Trait Implementations
impl RefUnwindSafe for MethodArguments
impl Send for MethodArguments
impl Sync for MethodArguments
impl Unpin for MethodArguments
impl UnwindSafe for MethodArguments
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,