pub struct DeleteReferenceItem { /* private fields */ }Expand description
Container for a single reference being deleted in an DeleteReferences service call.
Implementations§
Source§impl DeleteReferenceItem
impl DeleteReferenceItem
Sourcepub fn source_node_id(&self) -> &NodeId
pub fn source_node_id(&self) -> &NodeId
Source node ID of the reference being deleted.
Sourcepub fn reference_type_id(&self) -> &NodeId
pub fn reference_type_id(&self) -> &NodeId
Reference type ID of the reference being deleted.
Sourcepub fn target_node_id(&self) -> &ExpandedNodeId
pub fn target_node_id(&self) -> &ExpandedNodeId
Target node ID of the reference being deleted.
Sourcepub fn set_source_result(&mut self, status: StatusCode)
pub fn set_source_result(&mut self, status: StatusCode)
Set the result of this operation for the source end of the reference.
Sourcepub fn set_target_result(&mut self, status: StatusCode)
pub fn set_target_result(&mut self, status: StatusCode)
Set the result of this operation for the target end of the reference.
Sourcepub fn is_forward(&self) -> bool
pub fn is_forward(&self) -> bool
Direction of the reference being deleted.
Sourcepub fn target_status(&self) -> StatusCode
pub fn target_status(&self) -> StatusCode
Current target status.
Sourcepub fn source_status(&self) -> StatusCode
pub fn source_status(&self) -> StatusCode
Current source status.
Sourcepub fn delete_bidirectional(&self) -> bool
pub fn delete_bidirectional(&self) -> bool
Whether to delete the reference in both directions.
Sourcepub fn diagnostic_bits(&self) -> DiagnosticBits
pub fn diagnostic_bits(&self) -> DiagnosticBits
Header diagnostic bits for requesting operation-level diagnostics.
Sourcepub fn set_diagnostic_info(&mut self, diagnostic_info: DiagnosticInfo)
pub fn set_diagnostic_info(&mut self, diagnostic_info: DiagnosticInfo)
Set diagnostic infos, you don’t need to do this if
diagnostic_bits are not set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeleteReferenceItem
impl RefUnwindSafe for DeleteReferenceItem
impl Send for DeleteReferenceItem
impl Sync for DeleteReferenceItem
impl Unpin for DeleteReferenceItem
impl UnsafeUnpin for DeleteReferenceItem
impl UnwindSafe for DeleteReferenceItem
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