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 copy 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<'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