pub struct NtEnum {
pub index: i32,
pub choices: Vec<String>,
pub alarm: NtAlarm,
pub time_stamp: NtTimeStamp,
}Expand description
NTEnum normative type — represents an enumerated PV value.
The index selects one of the choices strings. The wire layout matches
the C++ epics:nt/NTEnum:1.0 structure:
structure "epics:nt/NTEnum:1.0"
enum_t value
int index
string[] choices
alarm_t alarm
time_t timeStampFields§
§index: i32§choices: Vec<String>§alarm: NtAlarm§time_stamp: NtTimeStampImplementations§
Trait Implementations§
impl StructuralPartialEq for NtEnum
Auto Trait Implementations§
impl Freeze for NtEnum
impl RefUnwindSafe for NtEnum
impl Send for NtEnum
impl Sync for NtEnum
impl Unpin for NtEnum
impl UnsafeUnpin for NtEnum
impl UnwindSafe for NtEnum
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