isilon/models/
node_state_readonly_node.rs

1#[allow(unused_imports)]
2use serde_json::Value;
3
4#[derive(Debug, Serialize, Deserialize)]
5pub struct NodeStateReadonlyNode {
6    /// The current read-only mode allowed status for the node.
7    #[serde(rename = "allowed")]
8    pub allowed: Option<bool>,
9    /// The current read-only user mode status for the node. NOTE: If read-only mode is currently disallowed for this node, it will remain read/write until read-only mode is allowed again. This value only sets or clears any user-specified requests for read-only mode. If the node has been placed into read-only mode by the system, it will remain in read-only mode until the system conditions which triggered read-only mode have cleared.
10    #[serde(rename = "enabled")]
11    pub enabled: Option<bool>,
12    /// Error message, if the HTTP status returned from this node was not 200.
13    #[serde(rename = "error")]
14    pub error: Option<String>,
15    /// Node ID of the node reporting this information.
16    #[serde(rename = "id")]
17    pub id: Option<i32>,
18    /// Logical node number of the node reporting this information.
19    #[serde(rename = "lnn")]
20    pub lnn: Option<i32>,
21    /// The current read-only mode status for the node.
22    #[serde(rename = "mode")]
23    pub mode: Option<bool>,
24    /// The current read-only mode status description for the node.
25    #[serde(rename = "status")]
26    pub status: Option<String>,
27    /// The read-only state values are valid (False = Error).
28    #[serde(rename = "valid")]
29    pub valid: Option<bool>,
30    /// The current read-only value (enumerated bitfield) for the node.
31    #[serde(rename = "value")]
32    pub value: Option<i32>,
33}