Skip to content

[FEATURE REQUEST] Derive D-Bus supported Variants #1594

Open
@sophie-h

Description

@sophie-h

I think the main issue here is with maybe types m…. This could be solved by using a separate DbusOption type that is represented by a…. But I would prefer if there was an option for the derive macro to do this with std Options instead.

Another thing is that many D-Bus APIs use a{sv} a lot to be extendible. Therefore, it would be nice if this representation could be derived from struct S { x: Option<A>, y: Option<B> }. I think something similar is already supported for enums.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions