You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[derive(Debug, AttrArgs)]
struct MyArgs {
foo: Option<String>,
bar: Option<Vec<String>>,
}
Error
15 | #[derive(AttrArgs)]
| ^^^^^^^^ the trait `From<ParamVal>` is not implemented for `Option<Vec<std::string::String>>`
|
= help: the following implementations were found:
<Option<&'a T> as From<&'a Option<T>>>
<Option<&'a mut T> as From<&'a mut Option<T>>>
<Option<T> as From<T>>
= note: required because of the requirements on the impl of `Into<Option<Vec<std::string::String>>>` for `ParamVal`
= note: required because of the requirements on the impl of `TryFrom<ParamVal>` for `Option<Vec<std::string::String>>`
= note: required because of the requirements on the impl of `FromParameters` for `Option<Vec<std::string::String>>`
= note: required by `from_parameters`
The text was updated successfully, but these errors were encountered:
Error
The text was updated successfully, but these errors were encountered: