Fwupd.BiosSetting.to_variant

### Method

# Fwupd BiosSettingto_variant

#### Declaration [src]

    GVariant*
    fwupd_bios_setting_to_variant (
      FwupdBiosSetting* self,
      gboolean trusted
    )

#### Description [src]

Serialize the bios setting.

Available since: | 1.8.4

#### Parameters

`trusted` | `gboolean`
| Whether the caller should receive trusted values.

#### Return value

Returns: | `GVariant`
| The serialized data, or `NULL` for error.
| The caller of the method takes ownership of the data, and is responsible for freeing it.