pub struct NodeStateReadonlyNode {
pub allowed: Option<bool>,
pub enabled: Option<bool>,
pub error: Option<String>,
pub id: Option<i32>,
pub lnn: Option<i32>,
pub mode: Option<bool>,
pub status: Option<String>,
pub valid: Option<bool>,
pub value: Option<i32>,
}
Fields§
§allowed: Option<bool>
The current read-only mode allowed status for the node.
enabled: Option<bool>
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.
error: Option<String>
Error message, if the HTTP status returned from this node was not 200.
id: Option<i32>
Node ID of the node reporting this information.
lnn: Option<i32>
Logical node number of the node reporting this information.
mode: Option<bool>
The current read-only mode status for the node.
status: Option<String>
The current read-only mode status description for the node.
valid: Option<bool>
The read-only state values are valid (False = Error).
value: Option<i32>
The current read-only value (enumerated bitfield) for the node.
Trait Implementations§
Source§impl Debug for NodeStateReadonlyNode
impl Debug for NodeStateReadonlyNode
Source§impl<'de> Deserialize<'de> for NodeStateReadonlyNode
impl<'de> Deserialize<'de> for NodeStateReadonlyNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for NodeStateReadonlyNode
impl RefUnwindSafe for NodeStateReadonlyNode
impl Send for NodeStateReadonlyNode
impl Sync for NodeStateReadonlyNode
impl Unpin for NodeStateReadonlyNode
impl UnwindSafe for NodeStateReadonlyNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more