pub enum MethodObjectParamStructure {
ByPosition,
ByName,
Either,
}
Expand description
MethodObjectParamStructure
Format the server expects the params. Defaults to ‘either’.
§Default
either
Variants§
Trait Implementations§
Source§impl Clone for MethodObjectParamStructure
impl Clone for MethodObjectParamStructure
Source§fn clone(&self) -> MethodObjectParamStructure
fn clone(&self) -> MethodObjectParamStructure
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for MethodObjectParamStructure
impl<'de> Deserialize<'de> for MethodObjectParamStructure
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
Auto Trait Implementations§
impl Freeze for MethodObjectParamStructure
impl RefUnwindSafe for MethodObjectParamStructure
impl Send for MethodObjectParamStructure
impl Sync for MethodObjectParamStructure
impl Unpin for MethodObjectParamStructure
impl UnwindSafe for MethodObjectParamStructure
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