redfish_codegen/models/network_device_function/v1_9_0/
boot_targets.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4/// A Fibre Channel boot target configured for a network device function.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6#[derive(derivative::Derivative)]
7#[derivative(Default)]
8pub struct BootTargets {
9    /// The relative priority for this entry in the boot targets array.
10    #[serde(rename = "BootPriority")]
11    #[serde(default, skip_serializing_if = "Option::is_none")]
12    pub boot_priority: Option<i64>,
13    /// The logical unit number (LUN) ID from which to boot on the device to which the corresponding WWPN refers.
14    #[serde(rename = "LUNID")]
15    #[serde(default, skip_serializing_if = "Option::is_none")]
16    pub lunid: Option<String>,
17    /// The World Wide Port Name (WWPN) from which to boot.
18    #[serde(rename = "WWPN")]
19    #[serde(default, skip_serializing_if = "Option::is_none")]
20    pub wwpn: Option<String>,
21}
22
23impl crate::Metadata<'static> for BootTargets {
24    const JSON_SCHEMA: &'static str = "NetworkDeviceFunction.v1_9_0.json";
25}