Variants
Positional(Vec<Value>)
Structured(Map<String, Value>)
Implementations
sourceimpl Params
impl Params
pub fn into_value(self) -> Value
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Params
impl<'de> Deserialize<'de> for Params
sourcefn 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
sourceimpl TypeDef for Params
impl TypeDef for Params
sourceconst INFO: TypeInfo = {
::typescript_type_def::type_expr::TypeInfo::Defined(::typescript_type_def::type_expr::DefinedTypeInfo{def:
::typescript_type_def::type_expr::TypeDefinition{docs:
::core::option::Option::None,
path: &[],
name: ::typescript_type_def::type_expr::Ident("Params"),
generic_vars: &[],
def:
::typescript_type_def::type_expr::TypeExpr::Union(::typescript_type_def::type_expr::TypeUnion{docs:
::core::option::Option::None,
members:
&[::typescript_type_def::type_expr::TypeExpr::Ref(&
as ::typescript_type_def::TypeDef>::INFO),
::typescript_type_def::type_expr::TypeExpr::Ref(& as
::typescript_type_def::TypeDef>::INFO)],}),},
generic_args: &[],})
}
const INFO: TypeInfo = {
::typescript_type_def::type_expr::TypeInfo::Defined(::typescript_type_def::type_expr::DefinedTypeInfo{def:
::typescript_type_def::type_expr::TypeDefinition{docs:
::core::option::Option::None,
path: &[],
name: ::typescript_type_def::type_expr::Ident("Params"),
generic_vars: &[],
def:
::typescript_type_def::type_expr::TypeExpr::Union(::typescript_type_def::type_expr::TypeUnion{docs:
::core::option::Option::None,
members:
&[::typescript_type_def::type_expr::TypeExpr::Ref(&
as ::typescript_type_def::TypeDef>::INFO),
::typescript_type_def::type_expr::TypeExpr::Ref(& as
::typescript_type_def::TypeDef>::INFO)],}),},
generic_args: &[],})
}
A constant value describing the structure of this type. Read more
Auto Trait Implementations
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more