Serializes a `TrackerResource` to a [type@GLib.
Variant] in a lossless way. All child resources are subsequently serialized. It is implied that both ends use a common [ class@NamespaceManager].
| this |
A `TrackerResource` |
|
A variant describing the resource, the reference is floating. |