[−][src]Struct new_home_application::communication::MethodCall
This contains the structure for a request to a method
Provided are the method_name. This can be useful if you implement multiple methods with the same struct or call a method from multiple methods which, however has slightly different logic depending on which method called it.
Arguments are supplied as well. This can be ignored when the struct used the derive macro and the arguments were mapped to the struct fields already.
Fields
method_name: String
The name of the method that is called
arguments: HashMap<String, Value>
The list of arguments which are supplied to the method
Trait Implementations
impl Debug for MethodCall
[src]
impl Default for MethodCall
[src]
fn default() -> MethodCall
[src]
impl<'de> Deserialize<'de> for MethodCall
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Message for MethodCall
[src]
type Result = MethodResult
The type of value that this message will resolved with if it is successful. Read more
impl Serialize for MethodCall
[src]
Auto Trait Implementations
impl RefUnwindSafe for MethodCall
impl Send for MethodCall
impl Sync for MethodCall
impl Unpin for MethodCall
impl UnwindSafe for MethodCall
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,