pub struct ManagementClient { /* private fields */ }Implementations§
Source§impl ManagementClient
impl ManagementClient
pub fn new(base: String) -> Result<Self>
pub async fn register_sdk_node( &self, api_key: &str, organization_id: &str, network_id: Uuid, endpoint_id: &str, hostname: &str, metadata: Option<Value>, kind: Option<&str>, labels: Option<&HashMap<String, String>>, expires_in: Option<&str>, tags: Option<&[String]>, ) -> Result<EnrollResponse>
pub async fn delete_devices( &self, api_key: &str, organization_id: &str, items: &[(Uuid, &str)], ) -> Result<u32>
Auto Trait Implementations§
impl !RefUnwindSafe for ManagementClient
impl !UnwindSafe for ManagementClient
impl Freeze for ManagementClient
impl Send for ManagementClient
impl Sync for ManagementClient
impl Unpin for ManagementClient
impl UnsafeUnpin for ManagementClient
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more