pub struct AddNodes { /* private fields */ }Expand description
Add nodes by sending a AddNodesRequest to the server.
See OPC UA Part 4 - Services 5.7.2 for complete description of the service and error responses.
Implementations§
Source§impl AddNodes
impl AddNodes
Sourcepub fn diagnostics(self, bits: DiagnosticBits) -> AddNodes
pub fn diagnostics(self, bits: DiagnosticBits) -> AddNodes
Set requested diagnostic bits.
Sourcepub fn timeout(self, timeout: Duration) -> AddNodes
pub fn timeout(self, timeout: Duration) -> AddNodes
Set the timeout for this request. Defaults to session timeout.
Sourcepub fn audit_entry_id(self, entry: impl Into<UAString>) -> AddNodes
pub fn audit_entry_id(self, entry: impl Into<UAString>) -> AddNodes
Set the audit entry ID for the request.
Sourcepub fn header(&self) -> &RequestHeader
pub fn header(&self) -> &RequestHeader
Get the request header.
Source§impl AddNodes
impl AddNodes
Sourcepub fn new_manual(
session_id: u32,
timeout: Duration,
auth_token: NodeId,
request_handle: u32,
) -> AddNodes
pub fn new_manual( session_id: u32, timeout: Duration, auth_token: NodeId, request_handle: u32, ) -> AddNodes
Construct a new call to the AddNodes service, setting header parameters manually.
Sourcepub fn nodes_to_add(self, nodes_to_add: Vec<AddNodesItem>) -> AddNodes
pub fn nodes_to_add(self, nodes_to_add: Vec<AddNodesItem>) -> AddNodes
Set nodes to add, overwriting any that were set previously.
Sourcepub fn node(self, node: impl Into<AddNodesItem>) -> AddNodes
pub fn node(self, node: impl Into<AddNodesItem>) -> AddNodes
Add a node to create.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AddNodes
impl !RefUnwindSafe for AddNodes
impl Send for AddNodes
impl Sync for AddNodes
impl Unpin for AddNodes
impl UnsafeUnpin for AddNodes
impl !UnwindSafe for AddNodes
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