#[non_exhaustive]pub struct BulkReadResponse {
pub values: HashMap<String, NodeValueUpdate>,
}Expand description
Response to a nodes/bulk/read query.
values maps each requested node name to its current value + access_mode.
Node names not found in the store are omitted (not an error).
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.values: HashMap<String, NodeValueUpdate>Their values, by name.
Implementations§
Source§impl BulkReadResponse
impl BulkReadResponse
Sourcepub fn new(values: HashMap<String, NodeValueUpdate>) -> Self
pub fn new(values: HashMap<String, NodeValueUpdate>) -> Self
The values read, by feature name.
Trait Implementations§
Source§impl Clone for BulkReadResponse
impl Clone for BulkReadResponse
Source§impl Debug for BulkReadResponse
impl Debug for BulkReadResponse
Source§impl<'de> Deserialize<'de> for BulkReadResponse
impl<'de> Deserialize<'de> for BulkReadResponse
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 BulkReadResponse
impl RefUnwindSafe for BulkReadResponse
impl Send for BulkReadResponse
impl Sync for BulkReadResponse
impl Unpin for BulkReadResponse
impl UnsafeUnpin for BulkReadResponse
impl UnwindSafe for BulkReadResponse
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