pub struct ObjectAttributes(/* private fields */);Expand description
Wrapper for
UA_ObjectAttributes
from open62541_sys.
This owns the wrapped data. When the wrapper is dropped, the inner value is cleaned up
with UA_clear() to release dynamically allocated memory held by the value.
Trait Implementations§
Source§impl Attributes for ObjectAttributes
impl Attributes for ObjectAttributes
Source§fn node_class(&self) -> NodeClass
fn node_class(&self) -> NodeClass
Gets associated node class.
Source§fn attribute_type(&self) -> *const UA_DataType
fn attribute_type(&self) -> *const UA_DataType
Gets associated attribute type. Read more
Source§fn with_display_name(self, display_name: &LocalizedText) -> Self
fn with_display_name(self, display_name: &LocalizedText) -> Self
Sets display name.
Source§fn as_node_attributes(&self) -> &NodeAttributes
fn as_node_attributes(&self) -> &NodeAttributes
Gets generic
ua::NodeAttributes type.Source§impl Clone for ObjectAttributes
impl Clone for ObjectAttributes
Source§impl DataType for ObjectAttributes
impl DataType for ObjectAttributes
Source§type Inner = UA_ObjectAttributes
type Inner = UA_ObjectAttributes
Inner type. Read more
Source§unsafe fn from_raw(src: Self::Inner) -> Self
unsafe fn from_raw(src: Self::Inner) -> Self
Creates wrapper by taking ownership of value. Read more
Source§fn take_raw(src: &mut Self::Inner) -> Self
fn take_raw(src: &mut Self::Inner) -> Self
Creates wrapper by moving value from
src. Read moreSource§fn clone_into_raw(&self, dst: &mut Self::Inner)
fn clone_into_raw(&self, dst: &mut Self::Inner)
Clones value into
dst. Read moreSource§fn move_into_raw(self, dst: &mut Self::Inner)
fn move_into_raw(self, dst: &mut Self::Inner)
Moves value into
dst, giving up ownership. Read moreSource§unsafe fn to_raw_copy(this: &Self) -> Self::Inner
unsafe fn to_raw_copy(this: &Self) -> Self::Inner
Creates copy without giving up ownership. Read more
Source§unsafe fn as_mut(&mut self) -> &mut Self::Inner
unsafe fn as_mut(&mut self) -> &mut Self::Inner
Returns exclusive reference to value. Read more
Source§impl Debug for ObjectAttributes
impl Debug for ObjectAttributes
Source§impl Default for ObjectAttributes
impl Default for ObjectAttributes
Source§impl Drop for ObjectAttributes
impl Drop for ObjectAttributes
impl Eq for ObjectAttributes
Source§impl Ord for ObjectAttributes
impl Ord for ObjectAttributes
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ObjectAttributes
impl PartialEq for ObjectAttributes
Source§impl PartialOrd for ObjectAttributes
impl PartialOrd for ObjectAttributes
impl Send for ObjectAttributes
impl Sync for ObjectAttributes
Auto Trait Implementations§
impl Freeze for ObjectAttributes
impl RefUnwindSafe for ObjectAttributes
impl Unpin for ObjectAttributes
impl UnsafeUnpin for ObjectAttributes
impl UnwindSafe for ObjectAttributes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DataTypeExt for Twhere
T: DataType,
impl<T> DataTypeExt for Twhere
T: DataType,
Source§fn from_inner(value: <T as DataTypeExt>::Inner) -> Result<T, Error>
fn from_inner(value: <T as DataTypeExt>::Inner) -> Result<T, Error>
Creates instance for inner type. Read more
Source§fn into_inner(self) -> <T as DataTypeExt>::Inner
fn into_inner(self) -> <T as DataTypeExt>::Inner
Returns inner type representation.