#[non_exhaustive]pub struct NodeOpResponse {
pub ok: bool,
pub error: Option<String>,
pub invalidated: Vec<String>,
}Expand description
Generic response for node write, execute, and acquisition control.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ok: boolWhether the operation succeeded.
error: Option<String>Why not, when it did not.
invalidated: Vec<String>After a successful write or execute: the features whose value or
state the operation may have changed, from
viva_genapi::NodeMap::invalidated_by. A client re-reads the ones it
shows. It can be hundreds of names, so the service names them rather
than publishing their state. Empty for acquisition control, and from a
service that predates the field.
Implementations§
Trait Implementations§
Source§impl Clone for NodeOpResponse
impl Clone for NodeOpResponse
Source§impl Debug for NodeOpResponse
impl Debug for NodeOpResponse
Source§impl<'de> Deserialize<'de> for NodeOpResponse
impl<'de> Deserialize<'de> for NodeOpResponse
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NodeOpResponse
impl RefUnwindSafe for NodeOpResponse
impl Send for NodeOpResponse
impl Sync for NodeOpResponse
impl Unpin for NodeOpResponse
impl UnsafeUnpin for NodeOpResponse
impl UnwindSafe for NodeOpResponse
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
Mutably borrows from an owned value. Read more