pub struct MethodCall { /* private fields */ }👎Deprecated since 0.5.5: The dxr_shared crate was renamed to dxr with version 0.6.0.
Expand description
§XML-RPC method call type
The MethodCall type is the Rust equivalent of the contents of an XML-RPC method call.
It contains the name of the method, and a list of dynamically typed method call parameters.
Implementations§
Source§impl MethodCall
impl MethodCall
Sourcepub fn new(name: String, params: Vec<Value>) -> MethodCall
👎Deprecated since 0.5.5: The dxr_shared crate was renamed to dxr with version 0.6.0.
pub fn new(name: String, params: Vec<Value>) -> MethodCall
constructor for <methodCall> values from method name and parameter list
Trait Implementations§
Source§impl Clone for MethodCall
impl Clone for MethodCall
Source§fn clone(&self) -> MethodCall
fn clone(&self) -> MethodCall
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 moreSource§impl Debug for MethodCall
impl Debug for MethodCall
Source§impl<'de> Deserialize<'de> for MethodCall
impl<'de> Deserialize<'de> for MethodCall
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MethodCall
impl PartialEq for MethodCall
Source§impl Serialize for MethodCall
impl Serialize for MethodCall
impl StructuralPartialEq for MethodCall
Auto Trait Implementations§
impl Freeze for MethodCall
impl RefUnwindSafe for MethodCall
impl Send for MethodCall
impl Sync for MethodCall
impl Unpin for MethodCall
impl UnwindSafe for MethodCall
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