product_policy/azure.rs
1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4/// Azure policy: only the settings from the device policy file.
5#[derive(mesh_protobuf::Protobuf, Debug, Clone, PartialEq, Default)]
6#[cfg_attr(feature = "manifest", derive(serde::Serialize, serde::Deserialize))]
7#[cfg_attr(feature = "manifest", serde(deny_unknown_fields))]
8#[cfg_attr(feature = "inspect", derive(inspect::Inspect))]
9#[mesh(package = "openhcl.product_policy")]
10pub struct AzurePolicy {
11 /// From the device policy file: the VPCI relay settings. Unset means no
12 /// allowed devices and [`crate::VpciRelayMode::DefaultOff`].
13 #[mesh(1)]
14 #[cfg_attr(feature = "manifest", serde(skip))]
15 pub vpci_relay: Option<crate::VpciRelayPolicy>,
16}