d47081
(D47081)
1
I know how to work with simple types:
SimpleAction::new(&uuid_string_random(), Some(&String::static_variant_type()))
but seems that something went wrong with my tuple definition, could somebody help with example please or just documentation reference?
sdroege
(Sebastian Dröge)
2
Can you give an example what you tried and how it failed?
d47081
(D47081)
3
Thanks, but I’ve already implemented everything that want with action state here.
d47081
(D47081)
4
Finally, implemented (String, bool)
tuple for Variant:
SimpleAction::new(
"action-name",
Some(&<(String, bool)>::static_variant_type()),
)
Entire source
system
(system)
Closed
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.