pub struct DynamicLabelsApi<'a> { /* private fields */ }Expand description
Dynamic dispatch wrapper for the Labels API.
Implementations§
Source§impl<'a> DynamicLabelsApi<'a>
impl<'a> DynamicLabelsApi<'a>
Sourcepub async fn remove_label(
&self,
id: &str,
version: Option<&str>,
client_id: Option<&str>,
disconnected_node_acknowledged: Option<bool>,
) -> Result<LabelEntity, NifiError>
pub async fn remove_label( &self, id: &str, version: Option<&str>, client_id: Option<&str>, disconnected_node_acknowledged: Option<bool>, ) -> Result<LabelEntity, NifiError>
Deletes a label
Sourcepub async fn update_label(
&self,
id: &str,
body: &Value,
) -> Result<LabelEntity, NifiError>
pub async fn update_label( &self, id: &str, body: &Value, ) -> Result<LabelEntity, NifiError>
Updates a label
Auto Trait Implementations§
impl<'a> Freeze for DynamicLabelsApi<'a>
impl<'a> !RefUnwindSafe for DynamicLabelsApi<'a>
impl<'a> Send for DynamicLabelsApi<'a>
impl<'a> Sync for DynamicLabelsApi<'a>
impl<'a> Unpin for DynamicLabelsApi<'a>
impl<'a> UnsafeUnpin for DynamicLabelsApi<'a>
impl<'a> !UnwindSafe for DynamicLabelsApi<'a>
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