pub struct Named<T> {
pub name: Scalar<str>,
pub value: T,
}Expand description
Something along with the name it is of, the name sharing the octets it was decoded out of like any other string.
This is what a request answering for several names gives one of per name: the result of that one name, which is not the one of the request. The request failing fails it as a whole, while an entry failing is the device failing for that one name, which the other entries are unaffected by.
Fields§
§name: Scalar<str>The name.
value: TWhat is of that name.
Implementations§
Trait Implementations§
impl<T: PartialEq> StructuralPartialEq for Named<T>
Auto Trait Implementations§
impl<T> Freeze for Named<T>where
T: Freeze,
impl<T> RefUnwindSafe for Named<T>where
T: RefUnwindSafe,
impl<T> Send for Named<T>where
T: Send,
impl<T> Sync for Named<T>where
T: Sync,
impl<T> Unpin for Named<T>where
T: Unpin,
impl<T> UnsafeUnpin for Named<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Named<T>where
T: UnwindSafe,
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