pub enum PvValue {
Scalar(ScalarValue),
ScalarArray(ScalarArrayValue),
Structure {
struct_id: String,
fields: Vec<(String, PvValue)>,
},
}Expand description
A recursive value type that can represent any PVA structure without
depending on the codec crate. Used by NtPayload::Generic to carry
group-PV composite values and other non-normative structures.
Variants§
Trait Implementations§
impl StructuralPartialEq for PvValue
Auto Trait Implementations§
impl Freeze for PvValue
impl RefUnwindSafe for PvValue
impl Send for PvValue
impl Sync for PvValue
impl Unpin for PvValue
impl UnsafeUnpin for PvValue
impl UnwindSafe for PvValue
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