#[repr(C)]pub struct UA_DataValue {
pub value: UA_Variant,
pub sourceTimestamp: UA_DateTime,
pub serverTimestamp: UA_DateTime,
pub sourcePicoseconds: UA_UInt16,
pub serverPicoseconds: UA_UInt16,
pub status: UA_StatusCode,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}Fields§
§value: UA_Variant§sourceTimestamp: UA_DateTime§serverTimestamp: UA_DateTime§sourcePicoseconds: UA_UInt16§serverPicoseconds: UA_UInt16§status: UA_StatusCode§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§__bindgen_padding_0: [u8; 7]Implementations§
Source§impl UA_DataValue
impl UA_DataValue
pub fn hasValue(&self) -> UA_Boolean
pub fn set_hasValue(&mut self, val: UA_Boolean)
pub fn hasStatus(&self) -> UA_Boolean
pub fn set_hasStatus(&mut self, val: UA_Boolean)
pub fn hasSourceTimestamp(&self) -> UA_Boolean
pub fn set_hasSourceTimestamp(&mut self, val: UA_Boolean)
pub fn hasServerTimestamp(&self) -> UA_Boolean
pub fn set_hasServerTimestamp(&mut self, val: UA_Boolean)
pub fn hasSourcePicoseconds(&self) -> UA_Boolean
pub fn set_hasSourcePicoseconds(&mut self, val: UA_Boolean)
pub fn hasServerPicoseconds(&self) -> UA_Boolean
pub fn set_hasServerPicoseconds(&mut self, val: UA_Boolean)
pub fn new_bitfield_1( hasValue: UA_Boolean, hasStatus: UA_Boolean, hasSourceTimestamp: UA_Boolean, hasServerTimestamp: UA_Boolean, hasSourcePicoseconds: UA_Boolean, hasServerPicoseconds: UA_Boolean, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for UA_DataValue
impl Clone for UA_DataValue
Source§fn clone(&self) -> UA_DataValue
fn clone(&self) -> UA_DataValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UA_DataValue
impl Debug for UA_DataValue
impl Copy for UA_DataValue
Auto Trait Implementations§
impl Freeze for UA_DataValue
impl RefUnwindSafe for UA_DataValue
impl !Send for UA_DataValue
impl !Sync for UA_DataValue
impl Unpin for UA_DataValue
impl UnwindSafe for UA_DataValue
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