pub struct DeleteReferences { /* private fields */ }Expand description
Delete references by sending a DeleteReferencesRequest to the server.
See OPC UA Part 4 - Services 5.7.5 for complete description of the service and error responses.
Implementations§
Source§impl DeleteReferences
impl DeleteReferences
Sourcepub fn diagnostics(self, bits: DiagnosticBits) -> DeleteReferences
pub fn diagnostics(self, bits: DiagnosticBits) -> DeleteReferences
Set requested diagnostic bits.
Sourcepub fn timeout(self, timeout: Duration) -> DeleteReferences
pub fn timeout(self, timeout: Duration) -> DeleteReferences
Set the timeout for this request. Defaults to session timeout.
Sourcepub fn audit_entry_id(self, entry: impl Into<UAString>) -> DeleteReferences
pub fn audit_entry_id(self, entry: impl Into<UAString>) -> DeleteReferences
Set the audit entry ID for the request.
Sourcepub fn header(&self) -> &RequestHeader
pub fn header(&self) -> &RequestHeader
Get the request header.
Source§impl DeleteReferences
impl DeleteReferences
Sourcepub fn new(session: &Session) -> DeleteReferences
pub fn new(session: &Session) -> DeleteReferences
Construct a new call to the DeleteReferences service.
Sourcepub fn new_manual(
session_id: u32,
timeout: Duration,
auth_token: NodeId,
request_handle: u32,
) -> DeleteReferences
pub fn new_manual( session_id: u32, timeout: Duration, auth_token: NodeId, request_handle: u32, ) -> DeleteReferences
Construct a new call to the DeleteReferences service, setting header parameters manually.
Sourcepub fn references_to_delete(
self,
references_to_delete: Vec<DeleteReferencesItem>,
) -> DeleteReferences
pub fn references_to_delete( self, references_to_delete: Vec<DeleteReferencesItem>, ) -> DeleteReferences
Set nodes to delete, overwriting any that were set previously.
Sourcepub fn reference(
self,
reference: impl Into<DeleteReferencesItem>,
) -> DeleteReferences
pub fn reference( self, reference: impl Into<DeleteReferencesItem>, ) -> DeleteReferences
Add a reference to delete.
Trait Implementations§
Source§impl Clone for DeleteReferences
impl Clone for DeleteReferences
Source§fn clone(&self) -> DeleteReferences
fn clone(&self) -> DeleteReferences
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 DeleteReferences
impl Debug for DeleteReferences
Source§impl UARequest for DeleteReferences
impl UARequest for DeleteReferences
Source§type Out = DeleteReferencesResponse
type Out = DeleteReferencesResponse
Response message type.
Source§async fn send<'a>(
self,
channel: &'a AsyncSecureChannel,
) -> Result<<DeleteReferences as UARequest>::Out, StatusCode>where
DeleteReferences: 'a,
async fn send<'a>(
self,
channel: &'a AsyncSecureChannel,
) -> Result<<DeleteReferences as UARequest>::Out, StatusCode>where
DeleteReferences: 'a,
Send the message and wait for a response.
Auto Trait Implementations§
impl Freeze for DeleteReferences
impl !RefUnwindSafe for DeleteReferences
impl Send for DeleteReferences
impl Sync for DeleteReferences
impl Unpin for DeleteReferences
impl UnsafeUnpin for DeleteReferences
impl !UnwindSafe for DeleteReferences
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