pub enum AddNodeAttributes {
Object(ObjectAttributes),
Variable(VariableAttributes),
Method(MethodAttributes),
ObjectType(ObjectTypeAttributes),
VariableType(VariableTypeAttributes),
ReferenceType(ReferenceTypeAttributes),
DataType(DataTypeAttributes),
View(ViewAttributes),
Generic(GenericAttributes),
None,
}
Expand description
Enum over different attribute collections for AddNodes.
Variants§
Object(ObjectAttributes)
Object attributes.
Variable(VariableAttributes)
Variable attributes.
Method(MethodAttributes)
Method attributes.
ObjectType(ObjectTypeAttributes)
ObjectType attributes.
VariableType(VariableTypeAttributes)
VariableType attributes.
ReferenceType(ReferenceTypeAttributes)
ReferenceType attributes.
DataType(DataTypeAttributes)
DataType attributes.
View(ViewAttributes)
View attributes.
Generic(GenericAttributes)
Generic attributes.
None
No extra attributes.
Implementations§
Source§impl AddNodeAttributes
impl AddNodeAttributes
Sourcepub fn from_extension_object(obj: ExtensionObject) -> Result<Self, StatusCode>
pub fn from_extension_object(obj: ExtensionObject) -> Result<Self, StatusCode>
Get Self from an extension object body.
Sourcepub fn as_extension_object(&self) -> ExtensionObject
pub fn as_extension_object(&self) -> ExtensionObject
Convert this into an extension object.
Trait Implementations§
Source§impl Clone for AddNodeAttributes
impl Clone for AddNodeAttributes
Source§fn clone(&self) -> AddNodeAttributes
fn clone(&self) -> AddNodeAttributes
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 moreAuto Trait Implementations§
impl Freeze for AddNodeAttributes
impl !RefUnwindSafe for AddNodeAttributes
impl Send for AddNodeAttributes
impl Sync for AddNodeAttributes
impl Unpin for AddNodeAttributes
impl !UnwindSafe for AddNodeAttributes
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