1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#[allow(unused_imports)] use serde_json::Value; #[derive(Debug, Serialize, Deserialize)] pub struct HardwareFcportsNode { /// Error message, if the HTTP status returned from this node was not 200. #[serde(rename = "error")] pub error: Option<String>, /// A list of the FC ports on this node. #[serde(rename = "fcports")] pub fcports: Option<Vec <crate::models::HardwareFcportsNodeFcport>>, /// Node ID of the node reporting this information. #[serde(rename = "id")] pub id: Option<i32>, /// Logical node number of the node reporting this information. #[serde(rename = "lnn")] pub lnn: Option<i32>, /// Status of the HTTP response from this node if not 200. If 200, this field does not appear. #[serde(rename = "status")] pub status: Option<i32>, }