pub struct NodeMetadata {
pub node_id: ExpandedNodeId,
pub type_definition: ExpandedNodeId,
pub browse_name: QualifiedName,
pub display_name: LocalizedText,
pub node_class: NodeClass,
}Expand description
Object describing a node with sufficient context to construct
a ReferenceDescription.
Fields§
§node_id: ExpandedNodeIdNode ID of the node.
type_definition: ExpandedNodeIdType definition of the node.
browse_name: QualifiedNameBrowse name of the node.
display_name: LocalizedTextDisplay name of the node.
node_class: NodeClassNode class of the node.
Implementations§
Source§impl NodeMetadata
impl NodeMetadata
Sourcepub fn into_ref_desc(
self,
is_forward: bool,
reference_type_id: impl Into<NodeId>,
) -> ReferenceDescription
pub fn into_ref_desc( self, is_forward: bool, reference_type_id: impl Into<NodeId>, ) -> ReferenceDescription
Convert this metadata into a ReferenceDescription with given direction and reference type ID.
Trait Implementations§
Source§impl Clone for NodeMetadata
impl Clone for NodeMetadata
Source§fn clone(&self) -> NodeMetadata
fn clone(&self) -> NodeMetadata
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 NodeMetadata
impl RefUnwindSafe for NodeMetadata
impl Send for NodeMetadata
impl Sync for NodeMetadata
impl Unpin for NodeMetadata
impl UnsafeUnpin for NodeMetadata
impl UnwindSafe for NodeMetadata
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